PDA

View Full Version : Updating external code when transform/bbox is changed?


marol
02-11-2011, 08:43 AM
Is it possible to retrieve the transform/bounding box from a node every time it's changed (in this case a MPxSurfaceShape)? I'd like Maya to handle to modelling part but I have my own classes for calculations outside Maya that needs to be updated every time the geometry changes. Simply requesting it when needed will not do. Any thoughts on how this can be implemented?

whisperwing
02-12-2011, 07:18 AM
what is changing the geometry?
If you have your own MPxSurfaceShape node, are you calculating the bounding box yourself too? If so it shouldn't be hard to keep track of when it changes.

CGTalk Moderation
02-12-2011, 07:18 AM
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.