[Bf-python] RenderEngine API - fractional frame

Nicholas Yue yue.nicholas at gmail.com
Fri Jul 15 07:24:58 CEST 2011


On 15 July 2011 15:12, Matt Ebb <matt at mke3.net> wrote:
>
>
> On Fri, Jul 15, 2011 at 3:09 PM, Nicholas Yue <yue.nicholas at gmail.com>
> wrote:
>>
>> Given that RenderEngine gets called N-samples time and frame_subframe
>> not having the fractional value, how can I determine that I am on the
>> last sample and time to actually emit stuff for the Renderer?
>
> Uh? The render engine API render method gets called once per render (frame).
> I don't know where you're getting the idea that it is called N amounts of
> times?

>From what I see of the print out I placed in the subclassed
RenderEngine.render() method.

I gather that render() should only be called once by Blender
regardless of the number of motion blur samples.

Regards



More information about the Bf-python mailing list