|
|
Elmar Krieger wrote:
> Hi!
>
> Just switched from PovRay to MegaPOV to create a depth map using the
> PP_Init_Depth_Output() / PP_Depth(min,max) postprocessing feature.
>
> Unfortunately the postprocessing is currently a re-rendering,
That's not correct.
> getting image
> + depth map takes twice as long as getting only the image (also in the +D0
> graphical output I see the depthmap being rendered line by line on top of
> the image).
That is quite possible.
> So I figured that the internal storage of the depth information does not
> work during the main render pass (even though I used PP_Init_Depth_Output),
> and MegaPOV has to render a second time.
No, the current post processing is simply not very efficient (it is
designed to be very flexible but this limits performance quite
significantly). What you think is a second render is simply gathering
the depth information from the data stored during the main render.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 24 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
Post a reply to this message
|
|