|
|
hello everybody!
i was wondering if it's possible to set the output filename from inside a povray
script. i am trying to render stereo pairs of images, odd frame numbers get the
left camera position, even frames the right one. that works, but it would be
even better if i could set the image names too ... can anyone give me a hint?
thanks
christoph
Post a reply to this message
|
|
|
|
"Christoph" <nomail@nomail> wrote:
> hello everybody!
>
> i was wondering if it's possible to set the output filename from inside a povray
> script. i am trying to render stereo pairs of images, odd frame numbers get the
> left camera position, even frames the right one. that works, but it would be
> even better if i could set the image names too ... can anyone give me a hint?
>
> thanks
> christoph
It isn't possible to do so directly, as the filename is either specified via
command line or ini file. It could be done indirectly via external script or a
pov script that generates a series of ini files, but both seem kind of kludgey
to me. Out of curiosity, though, why couldn't you just have two ini files with
different variable values and render the same scene?
As in:
Input_File_Name="stereo scene.pov"
Output_File_Name="ss_left_eye.pov" ; change output file name to right
Declare=sceneVariable=0 ; and sceneVariable to 1 for right eye
Or something similar.
-Reactor
Post a reply to this message
|
|