Wasn't it Andrea Vedaldi who wrote:
>I'm wondering if it is possible to export geometric data during the
>rendering. In particular, I'm intrested in tracking some points in the
>scene and I would like POV-Ray to export (ASCII file?) the coordinates of
>the points projected onto the image plane, perhaps together with other
>informations, like visibility. Is that possible with the program "out of
>the box" or do I need to code a patch?
Locate the points you want the co-ordinates of and write them out using
#fopen and #write. See section 6.2.3 in the documentation.
The trace() command can be useful for locating points in situations
where it's difficult to explicitly calculate the co-ordinates.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|