|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
Is it possible to declare the output file within the code?
I want to get conditional file names as in
#if (condition = true)
filename = "true.png"
#else
filename = "false.png"
#end
regards
Erhard Ducke
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Erhard Ducke nous apporta ses lumieres en ce 21-03-2007 12:07:
> Hi!
> Is it possible to declare the output file within the code?
> I want to get conditional file names as in
> #if (condition = true)
> filename = "true.png"
> #else
> filename = "false.png"
> #end
> regards
> Erhard Ducke
Not to my knowlege.
You can set it in an INI file but I don't know if you can use conditional
statements there.
--
Alain
-------------------------------------------------
EVERYTHING HAS A GENDER
You may not know this but many nonliving things have a gender...
A Hot Air Balloon is Male, because, to get it to go anywhere, you have to light
a fire under it, and of course, there's the hot air part.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain wrote:
> Not to my knowlege.
> You can set it in an INI file but I don't know if you can use
> conditional statements there.
Hi Alain,
if INIs could be called by the POV file like INCs then it would work but
I don't think so...
Could be a nice feature for later versions...
regards Hardy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Erhard Ducke nous apporta ses lumieres en ce 23-03-2007 07:36:
> Alain wrote:
>> Not to my knowlege.
>> You can set it in an INI file but I don't know if you can use
>> conditional statements there.
> Hi Alain,
> if INIs could be called by the POV file like INCs then it would work but
> I don't think so...
> Could be a nice feature for later versions...
> regards Hardy
You ca call just about any text file as an include, not just .INC. The thing is
that they are treated just like an .INC file.
--
Alain
-------------------------------------------------
For here we are not afraid to follow truth wherever it may lead.
Thomas Jefferson
Post a reply to this message
|
|
| |
| |
|
|
From: Chambers
Subject: Re: Declare output file name within the code?
Date: 23 Mar 2007 23:27:01
Message: <4604a895@news.povray.org>
|
|
|
| |
| |
|
|
I haven't tested it, but it might be possible to write to the INI file
during an animation, changing the filename for the subsequent frame.
..Chambers
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chambers wrote:
> I haven't tested it, but it might be possible to write to the INI file
> during an animation, changing the filename for the subsequent frame.
>
> ..Chambers
Yes, but not for the current frame...
Is it possible to run shell commandos from within POV?
So I could rename the image file after finishing the render...
Hardy
Post a reply to this message
|
|
| |
| |
|
|
From: Chambers
Subject: Re: Declare output file name within the code?
Date: 24 Mar 2007 16:47:25
Message: <46059c6d@news.povray.org>
|
|
|
| |
| |
|
|
Erhard Ducke wrote:
> Chambers wrote:
>> I haven't tested it, but it might be possible to write to the INI file
>> during an animation, changing the filename for the subsequent frame.
>>
>> ..Chambers
>
> Yes, but not for the current frame...
The problem with changing the name for the current frame is that the
output filename is completely independant of the scene. If I want to
call it "render.png", "mypic.png" or "spaceballsofdeath.png" I can do
that, no matter what the name of the SDL file is.
Can you be more specific about what you need this for? Perhaps there's
another way to achieve the same effect?
> Is it possible to run shell commandos from within POV?
Sort of. You can't run them DURING the trace, but you can have them run
when POV completes. See section 3.1.2.6 in the docs.
> So I could rename the image file after finishing the render...
That might be the easiest way. I think there's a way to get the current
filename, which would help automate the process, but I've never used it
so I'm not certain.
...Chambers
Post a reply to this message
|
|
| |
| |
|
|
From: Erhard Ducke
Subject: Re: Declare output file name within the code?
Date: 24 Mar 2007 17:29:17
Message: <4605a63d@news.povray.org>
|
|
|
| |
| |
|
|
Chambers wrote:
> Can you be more specific about what you need this for?
Yes of course, I want to do several animated renderings of recursive
objects with different recursion depths. Additional each of them should
be rendered double with a slightly different camera location and look_at
for stereoscopic pictures/movies of the rendered objects. It would be
extremely helpful to get the file named in a systematic way to be able
to feed the AVI creation program and to archive them in a proper way.
regards Hardy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |