POV-Ray : Newsgroups : povray.unofficial.patches : How to postprocess instead of re-render in MegaPOV : Re: How to postprocess instead of re-render in MegaPOV Server Time
15 May 2024 00:12:28 EDT (-0400)
  Re: How to postprocess instead of re-render in MegaPOV  
From: Christoph Hormann
Date: 29 Jul 2005 06:50:02
Message: <dcd1d5$5r2$1@chho.imagico.de>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.