POV-Ray : Newsgroups : povray.newusers : Exporting geometric data : Re: Exporting geometric data Server Time
30 Jul 2024 12:31:14 EDT (-0400)
  Re: Exporting geometric data  
From: Mike Williams
Date: 12 May 2004 00:59:58
Message: <EsJNFAA74aoAFwY8@econym.demon.co.uk>
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

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