POV-Ray : Newsgroups : povray.newusers : Exporting geometric data : Re: Exporting geometric data Server Time
30 Jul 2024 12:30:52 EDT (-0400)
  Re: Exporting geometric data  
From: stephen parkinson
Date: 12 May 2004 01:19:23
Message: <40a1b3db@news.povray.org>
Mike Williams wrote:
> 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.
> 
> 

finally #fclose is worth a mention just to close

stephen


Post a reply to this message

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