> 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
|