Can’t remember the process for succesfully getting Maya camera and locators into AfterEffects? Here’s what I’ve written down so I won’t forget…
Maya scenes need to be transformed in order to appear in AE default space (where center is 960,540):
Scale = 100
TX = 960
TY = -540
How Cameras relate…
Default AE 50mm camera = Maya 50mm with Z = 26.6666
Default AE 35mm camera = Maya 35mm with Z = 18.6666
So, for basic setup create a Maya 35mm camera at z = 18.666. Layout for this view (it will match the default AE 3D setup). When ready to export… bake animations. Then group elements and transform group with above scale and translate settings.
Import into AE and delete the ‘group’ node which will be the parent to all the elements. Their transforms will now be set up to match AE world with center @ 960×540 (***This assumes you want to create a 1920 x 1080 comp. Don’t for get to set your resolution in Maya to match this resolution!)
If it is more convenient to do the transform in AE only…
- Import elements.
- Create a null. Set Position to 0,0,0
- Parent elements to null.
- Set null position to 960,540,0
- Then scale null to 10,000.
- Delete null.
Camera and elements will now be in AE default 3D space.
[UPDATE AGAIN — possibly ignore all this… i think I found my mistake!]
Maya 35mm camera seems to be off when brought into AE… changing angle of view of AE Camera to 66degrees (or change to film size to 36mm) and that should help slippage off-center.
Another way to calculate what the AE Camera needs to match the Maya camera is to take the Maya Camera’s ‘Camera Aperture’ X value and convert that to mm (mult by 25.4 to get millimeters). Then use that value for AE Camera’s film size. I think the problem is that maya has a default ‘user’ film gate that is a 1.5:1 ratio, which is going to be different then your AE 1.78 comp ratio.