POV-Ray : Newsgroups : povray.programming : Are there documents for the source code? : Re: Are there documents for the source code? Server Time
20 Apr 2024 05:19:33 EDT (-0400)
  Re: Are there documents for the source code?  
From: scott
Date: 4 Jul 2013 06:16:13
Message: <51d54b6d$1@news.povray.org>
> My purpose is to get a map file which can show a link between the 2D coordinate
> of the result image and the 3D coordinate that is described in the POV file.
>
> I want to fulfill this purpose by modificate the source code of POV-Ray, is it
> possible to do it in this way? Can you give me any advice on this idea?

It should be possible without modifying the source. You know the ray 
direction for each pixel, the only piece of information you are missing 
is the depth. This can be found by either using megapov (IIRC) to output 
the depth image, or using a special gradient texture in the standard POV 
that will output a colour depending on the depth.

Unless you are familiar with the POV source (or want to become familiar) 
then I'd say the above option will be easier to implement.


Post a reply to this message

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