POV-Ray : Newsgroups : povray.advanced-users : additional output : Re: additional output Server Time
29 Jul 2024 10:23:24 EDT (-0400)
  Re: additional output  
From: Philippe Debar
Date: 24 Jun 2002 11:37:33
Message: <3D173C3A.2080308@wanadoo.be>


>>I was wondering - would this be difficult to oputput additional 
>>informations from POV-RAY, like i.e. 
>>- distance from camer of some point (can be useful to use in some other 
>>programs, games etc)
> 
> It was possible with depth post processing in MegaPOV. It is possible now with
> 3.5. You have to write simple macro. It should take parameters of camera and
> using trace output textfile with array of distance for center of each point.

Or you can re-render the image using a onion or spherical pigment 
centered on the camera and carefuly scaled, ambient 1 and no 
light-sources, no radiosity. Potential problem : transparent objects.

Other solution : ambient 1 objects and fog (IIRC this should give you a 
logarithmic distance evaluation).


Philippe


Post a reply to this message

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