CGTalk > Techniques > Digital Matte Painting
Login register
reply share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 09-28-2016, 03:23 AM   #1
louiscavalcante
Explorer
 
louiscavalcante's Avatar
portfolio
Luiz%2BAntonio Cavalcante%2Bdi%2BAnniballi
3D Artist / Compositor
S%25C3%25A3o%2BPaulo%2B-%2BSP, Brazil
 
Join Date: Feb 2014
Posts: 3
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-29-2016, 01:07 AM   #2
norbertoidiart
Norberto Idiart
 
norbertoidiart's Avatar
portfolio
Norberto Idiart
Brazil
 
Join Date: Jan 2013
Posts: 121
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-29-2016, 04:05 PM   #3
louiscavalcante
Explorer
 
louiscavalcante's Avatar
portfolio
Luiz%2BAntonio Cavalcante%2Bdi%2BAnniballi
3D Artist / Compositor
S%25C3%25A3o%2BPaulo%2B-%2BSP, Brazil
 
Join Date: Feb 2014
Posts: 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-04-2016 at 08:57 PM.
 
Old 09-29-2016, 06:27 PM   #4
norbertoidiart
Norberto Idiart
 
norbertoidiart's Avatar
portfolio
Norberto Idiart
Brazil
 
Join Date: Jan 2013
Posts: 121
nice script !
__________________
Norberto Idiart
Digital Matte Painter / Environment Artist
portfolio
 
Old 10-04-2016, 09:01 PM   #5
Rockhoppermedia
Rockhopper VFX
 
Rockhoppermedia's Avatar
portfolio
Richard Cave
Professional Photographer
Rockhopper VFX
Peterborough, United Kingdom
 
Join Date: Oct 2006
Posts: 909
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-21-2016, 07:13 AM   #6
nickmarshallvfx
Expert
 
nickmarshallvfx's Avatar
portfolio
Nick Marshall
Environment Supervisor
Double Negative
Vancouver, United Kingdom
 
Join Date: Mar 2006
Posts: 1,152
Send a message via MSN to nickmarshallvfx
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:43 PM.


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