Hello all,
Is there an event callback for when the frame changes when caching/saving to disk (Pre-Frame)?
I know of the "Pre-Frame" script which executes before each frame is cached, however is there a way to hook in to any "Pre Render" event in the Houdini session so that I don't need to set a "Pre Frame" script on every ROP?
Any ideas welcome, thank you
Pre-Frame Event Callback - Does this exist in some form?
686 3 0- AdamChabane
- Member
- 20 posts
- Joined: Dec. 2020
- Offline
- Enivob
- Member
- 2625 posts
- Joined: June 2008
- Offline
- AdamChabane
- Member
- 20 posts
- Joined: Dec. 2020
- Offline
- graham
- Member
- 1922 posts
- Joined: Nov. 2006
- Offline
Unfortunately having global scripts for these render events is a long requested feature.
At this point the "best" you can do it is to use a ROP render callback (hou.RopNode.addRenderEventCallback()). They will work, however you're left with the tediousness of attaching your callback functions to all ROP nodes on hip file load, or on node creation
At this point the "best" you can do it is to use a ROP render callback (hou.RopNode.addRenderEventCallback()). They will work, however you're left with the tediousness of attaching your callback functions to all ROP nodes on hip file load, or on node creation
Graham Thompson, Technical Artist @ Rockstar Games
-
- Quick Links