Hi,
From reading the H11.1 HDK docs, I understand that renderFrame() is called for every frame.
How should one handle the situation where one need to sample and accumulate data on fractional frame for motion blur?
Say renderFrame() is called at integer frame number 10 and I need to get geometry/simulation data at 9.75 and 10.25, how should one approach the problem.
If one set the current time via the context object to e.g. 9.75, would that mess up a simulation (e.g. if I have a Pyro Node)
Regards
HDK : ROP_Node::renderFrame() and motion data
1605 2 0- nicholas_yue
- Member
- 301 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7720 posts
- Joined: July 2005
- Offline
- nicholas_yue
- Member
- 301 posts
- Joined: July 2005
- Offline
edward
I think that should work provided that you always ask for nodes to be evaluated in increasing time order. ie. evaluate at 9.75 first, before you evaluate at 10.25.
Thanks for confirm my observation which I gleaned from looking at the SOHO code as a reference.
Yes, I will be ensuring monotonicity.
Regards
Nicholas Yue
-
- Quick Links