Just FYI, we've found a work-around for now:
1. uncheck the 'read from file' in the camera;
2. re-check the 'read from file' to update the camera with the correct data;
3. uncheck the 'read from file' again;
4. LEAVE IT UNCHECKED to prevent it from getting out of sync again.

Why this works, I don't know... but it does.
It would still be nice to learn why the alembic camera doesn't pickup properly 
in the first place though.


From: [email protected] 
[mailto:[email protected]] On Behalf Of Adam Dent
Sent: December-12-13 5:40 PM
To: Nuke user discussion
Subject: [Nuke-users] Exporting Alembic Cameras from Maya 2014 to Nuke 7.0v9

Sorry, forgot to include the subject line! (My first post to this list, guess I 
got nervous).

-Adam

From: [email protected] 
[mailto:[email protected]] On Behalf Of Adam Dent
Sent: December-12-13 5:33 PM
To: [email protected]
Subject: [Nuke-users] (no subject)

Hello All,

I'm having an issue exporting alembic cameras from Maya 2014 to Nuke 7.0v9, and 
need some help.

The alembic camera in nuke doesn't seem to update to the correct position for 
the frame in several situations:
1. Just clicking around on the timeline, the camera position stays at the 
previously selected frames position, or a few frames behind where it should be.
2. When flipbooking, the camera movement seems to lag behind 2 or 3 frames 
where it should be.
3. When rendering, the camera movement seems to lag behind 2 or 3 frames where 
it should be.

More Info:
- I'm working in PAL (25fps), and export the camera from Maya in world space.
- The maya MEL command I use to export is:
                AbcExport -j "-frameRange 1 100 -step 0.25 -stripNamespaces 
-worldSpace -root AbcExport -j "-frameRange 1 256 -step 0.25 -worldSpace -root 
|CAM:camera -file c:/temp/exportCam.abc";

- The nuke python commands I use to create the camera are:
       camera_path = 'c:/temp/exportCam.abc'
       c = nuke.createNode('Camera2', 'file "%s"  read_from_file True'  % 
camera_path)
       c.showControlPanel()
       c['frame_rate'].setValue(25)
       c.hideControlPanel()

If anyone has seen this issue before, or has any ideas on where I'm going wrong 
here it would be a great help.

All the best,

Adam Dent
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to