Custom Tranform Node does not update on Mayabatch at Scene Open

Become a member of the CGSociety

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

Thread Tools Display Modes
  09 September 2012
Custom Tranform Node does not update on Mayabatch at Scene Open

I have written a custom transform node derived from MPxTransformationMatrix Class.

This node reads a custom transform cache file.

For updating the node , I have an attribute on which I connect with "time" node in a scene or alternatively put an expression on this attribute.

Everything works fine in live scene and captures.

But when we send this on render farm using Mayabatch, the node does not update on scene open. So the first frame is rendered wrong. After that, on the same render node(machine) the next frame is rendered correctly as the scene frame is updated.

I am baffled why the node does not update on the first frame?

Any ideas ?
  09 September 2012
write a callback to dirty the given nodes on scene open
Digital Characters R&D - Suntoucher Labs
  09 September 2012
I would go with script node in the appropriate node that dgdirty or dgeval stuff.
  10 October 2012
Solved it, we had to update our cpp code for the custom transform and simply add a call to dirtyMatrix() in the main update function.

Last edited by alok1974 : 10 October 2012 at 09:01 PM.
  10 October 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed 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
Society of Digital Artists

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

All times are GMT. The time now is 10:34 PM.

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