[Bf-python] Fastest way for RenderEngine to return combined rgba + z

Bram de Greve bram.degreve at bramz.net
Fri Aug 23 15:05:53 CEST 2013


On 2013-08-19 16:59, Asbjørn wrote:
>
> I've finally gotten around to implementing this, and it does indeed work
> nicely.
>
> On a single 1920x1080 image with alpha and depth (zbuffer), it takes
> about 1.2 seconds total to update and transfer the image to the render
> result. About 400 ms is spent on our side tonemapping etc and converting
> to bottom-up format (internally we store top-down). The remainder, about
> 800 ms, is spent getting the result into Blender using the foreach_set.
> This was measured in different ways on my i7 2700k.

This surely looks interesting. I've been looking for something like this 
for my own little toy-raytracer (liar.bramz.net).
For this you implemented a C extension module that's loaded in Blender 
as part of your add-on?

Bramz.




More information about the Bf-python mailing list