POV-Ray : Newsgroups : povray.newusers : trace function debug.. : Re: trace function debug.. Server Time
29 Jul 2024 00:29:14 EDT (-0400)
  Re: trace function debug..  
From: albe99
Date: 19 Apr 2007 08:40:01
Message: <web.462761ff35d026caef6b50d70@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
>
> You want to build an inc file, so, the debug is not the way to go.
> What you need is the file writing possibility.
> Start by opening a file:
> #fopen Handle "fileName.inc" write  early in the scene
> then you use:
> #write ( Handle, Your_Translate )  Next to each object in place of the #debug
> instruction.
>
> Once you are finished, you close the file:
> #fclose Handle
>

very good..
adding #debug concat("A tree at: <",vstr(3, Pos,", ", 0,1),">n")
I can see the positions of all the objects..so, I can copy/paste and
insert them in my .inc file..

the file writing possibility is very interesting..but I have some trouble
to write the code..
now I try again..


Post a reply to this message

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