BrianK Posted June 2, 2005 Share Posted June 2, 2005 Simple as that, how do you force a recook? I see the function "forceRecook()" but slapping that in the cook doesn't seem to work. Quote Link to comment Share on other sites More sharing options...
edward Posted June 2, 2005 Share Posted June 2, 2005 OP_Node::forceRecook() only marks the node as needing to be recooked. That's how generally everything works in Houdini. Nothing cooks until someone asks for its data. (eg. changing a parameter on a node with no viewport open won't cause a node to recook). If you must get it to cook right now, then you can probably call OP_Node:cook() after forceRecook(). That's assuming that you're dealing with OBJ, SOP, POP, or CHOP. Other contexts either don't cook or cook drastically differently. Quote Link to comment Share on other sites More sharing options...
BrianK Posted June 11, 2005 Author Share Posted June 11, 2005 Thanks to ivan (from all the way in the other room)... OP_Node::flags().timeDep = 1; makes the SOP frame dependant - forcing a recook at each frame. I guess I phrased my question wrong. 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.