POV-Ray : Newsgroups : povray.general : Can I watch variables after parsing for scene debug purposes? : Re: Can I watch variables after parsing for scene debug purposes? Server Time
31 Jul 2024 12:22:30 EDT (-0400)
  Re: Can I watch variables after parsing for scene debug purposes?  
From: Charles C
Date: 21 Mar 2007 19:00:02
Message: <web.4601c5a912b31897e33c01c00@news.povray.org>
Erhard Ducke <pov### [at] temporaryforwardingcom> wrote:
> FrogRay wrote:
>
> > How about having your scene write the info you want to a text-file.  The
> > file
> > should be there as soon as the scene has finished parsing and you can read
> > it while the render takes place
>
> Yes, that would be great. As FrogRay wrote I have to convert the
> identifier to a string and then write it to the log using #debug. Is
> that right?
>
> regards Hardy


Yes, you'll still want to turn things into floats, (str() vstr() concat()
etc).   For file writing I think you can direct the #debug stream to a file,
but  I think Frogray was suggesting to use POV-Ray's file-i/o capabilities,
i.e. #fopen and #write instead of #debug.

Charles


Post a reply to this message

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