POV-Ray : Newsgroups : povray.general : How to customize the output? : Re: How to customize the output? Server Time
24 Apr 2024 06:04:47 EDT (-0400)
  Re: How to customize the output?  
From: jr
Date: 9 Oct 2019 09:25:01
Message: <web.5d9ddf6e495e39d5feeb22ff0@news.povray.org>
hi,

"Kima" <nomail@nomail> wrote:
> ...
> I need to calculate the object width in the first run, and parse the output of
> #debug stream to set the camera location in the main run.
>
> I do this by a shell script in linux, but the output of povray command contains
> lots of information (credit, rendering, etc).
>
> How can I limit the output of the povray command to #debug stream?

<http://wiki.povray.org/content/Reference:Text_Output_Options>

however, I'd be tempted to write the information needed to a text file, from the
scene (ie using '#write').  that way you you can reduce the need for "parsing"
(or, at least, make the task easier).
<http://wiki.povray.org/content/Reference:File_I/O_Directives>


regards, jr.


Post a reply to this message

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