POV-Ray : Newsgroups : povray.unix : povray x x x x x > textfile Server Time
23 Dec 2024 04:46:48 EST (-0500)
  povray x x x x x > textfile (Message 1 to 4 of 4)  
From:
Subject: povray x x x x x > textfile
Date: 13 May 2003 14:15:18
Message: <3ec13636$1@news.povray.org>
Hello all!

     Sorry, but I don't speak english very good...

     I need to redirect POV-Ray output to a textfile, but I can't do it with
traditional methods:

echo "Hello world">textfile

     When I use a same sintax to POV-Ray, the output file will be empty.

     I will use it to work POV-Ray + Perl + PHP scritps...


Thanks!!!!

--





mar### [at] lc3combr
Linux Registred User # 280238
Visite: http://www.lc3.com.br/


Post a reply to this message

From: Adam Szojda
Subject: Re: povray x x x x x > textfile
Date: 14 May 2003 09:18:06
Message: <3ec2420d@news.povray.org>
Hi.

POV-Ray manual says:

Redirecting options:
       GI<name> or Create_Ini=bool or Create_Ini=file
              Write all INI parameters to a file named after the input scene 
              file, or one  with  the specified name.

       G[ADFRSW]<name> or <Stream>_File=bool or <Stream>_File=file
              Write  the  stream to the console and/or the specified file. 
              The streams are All_File (except status), Debug_File,
              Fatal_File, Render_File, Statistics_File, 
              and the Warning_File.

So to redirect output try this:

        povray <some_options> -GAtextfile

A.


Post a reply to this message

From: Fabien HENON
Subject: Re: povray x x x x x > textfile
Date: 14 May 2003 13:12:21
Message: <3ec278f5@news.povray.org>

> Hello all!
> 
>      Sorry, but I don't speak english very good...
> 
>      I need to redirect POV-Ray output to a textfile, but I can't do it with
> traditional methods:
> 
> echo "Hello world">textfile
> 
>      When I use a same sintax to POV-Ray, the output file will be empty.
> 
>      I will use it to work POV-Ray + Perl + PHP scritps...
> 
> 
> Thanks!!!!
> 
> --
> 
> 

> 

> mar### [at] lc3combr
> Linux Registred User # 280238
> Visite: http://www.lc3.com.br/
> 
> 
try using +GA as in : povray +iscene.pov .... +gatextfile

Fabien H


Post a reply to this message

From: Wolfgang Wieser
Subject: Re: povray x x x x x > textfile
Date: 17 May 2003 04:49:01
Message: <3ec5f77d@news.povray.org>
> echo "Hello world">textfile
> 
>      When I use a same sintax to POV-Ray, the output file will be empty.
> 
povray > textfile 2>&1

will do the trick. 

Wolgang


Post a reply to this message

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