POV-Ray : Newsgroups : povray.general : Text stream to file Server Time
5 Aug 2024 06:16:45 EDT (-0400)
  Text stream to file (Message 1 to 6 of 6)  
From: Florian Brucker
Subject: Text stream to file
Date: 10 Dec 2002 02:57:08
Message: <3df59e54$1@news.povray.org>
hey folks

i want to echo the render messages to a text file. is it possible to name
this text file like the input file, but with .txt as extension?
according to the docs the ini-option "Render_File" only allows me to specify
true or a filename, in both cases the text file will be overwritten when i
render an other image in the same folder...

i'd like to have sth like
input file    -    myscene.pov
image         -    myscene.bmp (oh, yes dare to use windows *g*)
messages      -    myscene.txt

is this possible? feel free to give me an rtfm if i missed it in the docs...

thanks
florian

[hp http://www.torfbold.com] [icq 149073157]


Post a reply to this message

From: Tom Melly
Subject: Re: Text stream to file
Date: 10 Dec 2002 05:08:55
Message: <3df5bd37$1@news.povray.org>
"Florian Brucker" <tor### [at] torfboldcom> wrote in message
news:3df59e54$1@news.povray.org...
>
> is this possible? feel free to give me an rtfm if i missed it in the docs...
>

Section 5.2.5


Post a reply to this message

From: Florian Brucker
Subject: Re: Text stream to file
Date: 10 Dec 2002 12:21:19
Message: <3df6228f@news.povray.org>
hey guys

i read 5.2.5. before i posted. but somehow i can't find the option i'm
looking for:

i know that i can redirect text streams to files.
i also know that i can change the name for that file.

but in both cases, the filename would be static. everytime an image would be
rendered, this file would be overwritten.

what i want to know: is there an option so that pov automatically names that
file like the input file (only with a different extension). this would
prevent the stream file from being overwritten if i render another image in
the same folder.

sorry if my first posting was not clear (i hope this one is *g*)

thx,
florian


Post a reply to this message

From: hughes, b 
Subject: Re: Text stream to file
Date: 10 Dec 2002 13:16:08
Message: <3df62f68@news.povray.org>
"Florian Brucker" <tor### [at] torfboldcom> wrote in message
news:3df6228f@news.povray.org...
>
> what i want to know: is there an option so that pov automatically names
that
> file like the input file (only with a different extension). this would
> prevent the stream file from being overwritten if i render another image
in
> the same folder.

Have a read of the section just prior to 5.2.5; which is 5.2.4, of course.

You could copy, or rename it using Post_Scene_Command=command.com /c ren
render.out %s.txt

I think that would be right. Idea is to run the command interpreter and use
the scene's filename as the text file name.

You'll need to have I/O restrictions off in Options.


Post a reply to this message

From: Alf Peake
Subject: Re: Text stream to file
Date: 10 Dec 2002 14:50:21
Message: <3df6457d@news.povray.org>
Is +ga - "+gaWhatever.txt" on the commandline, what you are looking
for? See Docs 5.2.5.2

Alf


Post a reply to this message

From: Florian Brucker
Subject: Re: Text stream to file
Date: 11 Dec 2002 12:52:30
Message: <3df77b5e@news.povray.org>
hey all

> You could copy, or rename it using Post_Scene_Command=command.com /c ren
> render.out %s.txt

this is indeed a nice workaround. well somehow i hoped there would be an
inbuilt option to do so, but who cares.

thank you all
florian


Post a reply to this message

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