Wednesday, December 4, 2019

After Effects 4 point Corner pin to 3D Nulls exported from syntheyes



This little script you can attach to your corner pin points to nulls in 3D space.

For example, lets say you wanted the “Upper Left” corner pin point to be bound to a 3D null called "tracker 20. You would alt-click the stopwatch on the specific corner pin and then type this:

L = thisComp.layer("Tracker20");
L.toComp([0,0,0]);

That would force the 2-dimensional corner pin point to align to the 3 dimension position of the null. Rinse and repeat for the other 3 points.

IMPORTANT: You need to have your graphic /video to be corned pinned precomped inside a precomp that is the full size of your main comp and scaled to fit that precomp that it's inside of.

If the nulls go off camera you might have issues.

Tuesday, November 12, 2019

Export Maya Camera to After Effects


The easy way would be to use Adobe After Effects Live Link but if you have an older version of maya that may not be an option for you. :)

First in Maya.

1. Name camera starting with "Cam"

2. Name nulls you want to carry over Null_1,Null_2 etc


3. Change the maya scene to mm

(Make sure you don't save OVER your maya project after changing to mm it may screw up things.)

4. Save your scene before baking the keyframes. Then select the camera and nulls and bake them for the duration of the animation.

5. Select those items and export select as .ma

6. Then just import the .ma into after effects!


Tuesday, November 5, 2019

Maya proper way to do overscan

Proper location to do overscan in maya.

DO NOT use prescale or post scale, use the Camera Scale setting.

Simply decide what percentage you want overscan. In my case 33% Then take your original NON overscan size in render settings multiply it by 1.33 (in my case) and that is your new overscan render dimensions.

If you need to offset in a direction (for instance to only have overscan on the top. you can use the Film offset setting.


Thursday, October 24, 2019

Unofficial AE 9900KF vs 7740x render benchmark

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






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.

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.