POV-Ray : Newsgroups : povray.newusers : Output file name with a scene parameter : Re: Output file name with a scene parameter Server Time
7 Jul 2024 08:30:24 EDT (-0400)
  Re: Output file name with a scene parameter  
From: Alex
Date: 13 May 2010 13:29:14
Message: <4bec36ea$1@news.povray.org>

> Am 13.05.2010 19:02, schrieb Alex:
>
>> Can we put in the output file name a parameter coming from the scene
>> file (.pov) ?
>> Eg: myScene_CAMERA2.bmp
>>
>> with pov file named myScene.pov
>> and the parameter being "_CAMERA2"
>
> No.
>
> What you can do, however, is automatically generate a batch file or
> shell script to rename the output file, by using the #fopen and #write
> SDL statements.

Really ? According to the help #fopen is only for text file :s
Or the usage you give is not clear to me. Could you please develop your 
idea ?

I prefer not using external (to POVRay) batch file...

Thank you ;-)


Post a reply to this message

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