Notifications
Clear all

[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:

  1. When the image is completed it send it by email to someone.
  2. 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

3 Replies

#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?

Maybe but I will not be able to trigger the last frame…

You can use #postRender for that.