I had thought the speed difference would be more like 10-15% from all the benchmarks and tests i'd seen online. But here are the results from my own testing. Direct comparison intel CPU i7 7740x vs i9 9900KF render times.
The scene used was 3.4k anamorphic, containing lots of masking, keying, depth of field effects, distortion workflow, and LOG/LIN workflow. So very processor heavy.
7740x 4 core render time: 8:30 minutes:seconds
VS
9900KF x 8 core render time: 5:58 minutes:seconds
About a 30-35% speed increase!
Worth noting that with ONLY the after effects project file on an NAS (none of the project assets) over a gigabit network the speed went up slightly on the 9900KF to 6:30
Autodesk Maya, Unity, VR, Playmaker, Blender, After Effects and V-ray for Maya tutorials, tips and tricks
Search Maya Zest
Thursday, October 24, 2019
Thursday, August 29, 2019
Apply subdivision node to all selected vray for maya objects
As you may know you have to apply a subdivision node to vray maya objects in order to render subd surfaces. You can do this manually per object but that could take a very long time if you have a lot.
So go to maya menu select>objects by type>geometry
to select all the objects in your scene. then paste this into the MEL port of your script editor and hit enter.
Boom they will all have the subD node now!
{
string $sel[] = `ls -sl -dag -s`;
for ($each in $sel){
if (`nodeType $each`=="mesh"){
print ("// adding VRay subdivision attributes to "+$each+"\n");
vrayAddAttr($each, "vraySubdivEnable");
vrayAddAttr($each, "vraySubdivUVsAtBorders");
}
}
}
You could modify other attributes like the subD count etc by using commands at the end.
So go to maya menu select>objects by type>geometry
to select all the objects in your scene. then paste this into the MEL port of your script editor and hit enter.
Boom they will all have the subD node now!
{
string $sel[] = `ls -sl -dag -s`;
for ($each in $sel){
if (`nodeType $each`=="mesh"){
print ("// adding VRay subdivision attributes to "+$each+"\n");
vrayAddAttr($each, "vraySubdivEnable");
vrayAddAttr($each, "vraySubdivUVsAtBorders");
}
}
}
You could modify other attributes like the subD count etc by using commands at the end.
Friday, February 15, 2019
Maya render setting blank!
Just switch the script type in the bottom left corner of maya from Python to MEL,
paste this into the field
deleteUI unifiedRenderGlobalsWindow;
buildNewSceneUI;
Press Enter and the windows should refresh.
Thursday, October 4, 2018
Script to select random faces on your object (MAYA)
Select your object, Copy this into your mel script into the mel box and hit enter it will take a moment and select random faces!
string $faces[] = {};
float $selectPercent = 0.10;
for($each in `ls -sl`)
{
int $nFaces[] = `polyEvaluate -f $each`;
int $sFaces = $nFaces[0] * $selectPercent;
for($i=0;$i<$sFaces;$i++)
{
string $rFace = $each + ".f[" + int(`rand 0 $nFaces[0]`) + "]";
while(stringArrayContains($rFace, $faces) == 1)
{
$rFace = $each + ".f[" + int(`rand 0 $nFaces[0]`) + "]";
}
$faces[size($faces)] = $rFace;
}
}
select -r $faces;
Change $selectPercent = 0.10 to whatever percentage you’d like. It’s currently at 10%. This works across multiple objects and will select a percentage of faces per object, not a percentage of the total faces.
This was graciously created by Byterunner
https://forums.cgsociety.org/t/script-to-select-random-faces-on-object/1384634/4
Thanks buddy!
Subscribe to:
Posts (Atom)