Neo Posted June 4, 2012 Share Posted June 4, 2012 (edited) Hello Houdini Jedi Masters, In my experience, one of the redundant issue that is difficult to grasp while developing plugins for 3d packages is how to control the WHEN the custom plugin is being updated. Houdini is no exception so far and I'm determined to demystified its secrets. For simplicity sake: The plugin needs to be updated as the scene timeline change its position, either manually or while the scene is being rendered. Since the plugin only care about the objects transformations, it uses a OBJ_Geometry operator. The problem is, cookMyObj() is only updated once at the node creation. So, my question is, how can the plugin be updated based on the frame position? Edited June 4, 2012 by Neo Quote Link to comment Share on other sites More sharing options...
graham Posted June 4, 2012 Share Posted June 4, 2012 You need to make your object time dependent. I can't recall what the call is to do that off the top of my head, but if you look around you should have no trouble finding it. Quote Link to comment Share on other sites More sharing options...
Neo Posted June 4, 2012 Author Share Posted June 4, 2012 Good Hint Master, I'll look into this! Thank you! Quote Link to comment Share on other sites More sharing options...
Guest xionmark Posted June 4, 2012 Share Posted June 4, 2012 I think you might want to try: OP_Node::flags().timeDep = 1; Quote Link to comment Share on other sites More sharing options...
edward Posted June 5, 2012 Share Posted June 5, 2012 flags().setTimeDep(true) inside your cookMyObj() Quote Link to comment Share on other sites More sharing options...
Neo Posted June 5, 2012 Author Share Posted June 5, 2012 Beautifully, the trick it does! May the force be with you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.