[Closed] Probleme with callbacks #postRenderFrame
Hi again!
This morning I have a problem with a script that must do something on the currently rendered frame. Everything was good until I found that #postRenderFrame is called before the file is saved! I need the callback to have access to the currently rendered/saved frame.
Any idea?
In more detail I have created a new backburner email notification tool that:
- When the image is completed it send it by email to someone.
- If it’s a multiframe render it send a frame at 0% 25% 50% 75% 100% completion of the anim.
I know that #postRender is called after the file is saved but I can’t get the current rendered frame as param like the #postRenderFrame (callbacks.notificationParam())[13]
Or is there a way to get the current renderer frame other then the Param that work when rendering?
Regards,
OZRay
#postRender is only triggered once per render session, so that’s not going to help you in multi-frame renders.
Could you use the #preRenderFrame callback for the next frame and subtract to get the frame you’re interested in?