Camera Projection Problem Maya/Nuke

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
Old 09 September 2016   #1
Camera Projection Problem Nuke/Maya

Hey guys,

I'm having a bit of a problem and I was wondering if someone could share some expertise to help me out with this problem.

So, long story short. I had transformed the projection camera with a Axis Node in Nuke and now I'm not getting the same results of its new position in maya when I enter the same values on a group transform with the projection camera inside.

Could anyone shed a light on this?

Kind Regards,
Luiz Antonio Cavalcante
 
Old 09 September 2016   #2
Olá louiscavalcante,

Cameras inside a group in maya are just crazy. They never worked for me on both ways (from maya to nuke / nuke to maya)... I always need to freeze transformations, remove it from the group, delete history and then export.

Of course I don't know exactly what's your set up, but maybe try to avoid groups. Link your camera to an empty or object, and then add the transform values on it.
Hope it works


best

Norberto
__________________
Norberto Idiart
Digital Matte Painter / Environment Artist
portfolio
 
Old 09 September 2016   #3
Oi norbertoidiart,

Thank you for the tip, but it didn't work for me.

I found a solution using this script:

https://github.com/julik/projection...ctionist.py#L80

It will make an axis behave like just a dolly and the camera will be a nodal camera, then you export the axis and the camera out of Nuke, import it in Maya and parent the camera to the axis (dolly).

The tracked/animated information of rotation stays in the camera and the translation goes to the axis node. This method leaves the transform from the camera empty so you can adjust in Nuke where you want the projection to be, translating it perfectly to Maya when you import the translated camera.

Kind Regards,
Luiz Antonio Cavalcante

Last edited by louiscavalcante : 10 October 2016 at 08:57 PM.
 
Old 09 September 2016   #4
nice script !
__________________
Norberto Idiart
Digital Matte Painter / Environment Artist
portfolio
 
Old 10 October 2016   #5
I had problems with FBX data coming across from Cinema 4d into NukeX, so it is not just a maya problem. In the end I created a null object copying the data from the camera position in the shot. Copied that across to NukeX and with a lot of stress matched the camera shot and position with the null object. I used a cube as the null itself. Later I found out that FBX version was out of date so had to get a standalone plugin to export camera data out for future work.
__________________
Rockhopper VFX

@Rockhoppermedia
 
Old 10 October 2016   #6
I can't be sure without seeing, but often if you are rotating the camera, the pivot being in a different place when applying your Maya transforms will cause misalignment. You can use World Matrix values in Nuke to get around this problem, although it looks like you found a solution anyway.
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:11 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.