POV-Ray : Newsgroups : povray.general : Could I set OutputFileName in an animation from within the scene-file? : Re: Could I set OutputFileName in an animation from within the scene-file? Server Time
29 Jul 2024 22:22:58 EDT (-0400)
  Re: Could I set OutputFileName in an animation from within the scene-file?  
From: clipka
Date: 3 Jun 2010 06:09:58
Message: <4c077f76$1@news.povray.org>
Am 03.06.2010 10:37, schrieb DH0909:

> I want the names of the single frames to be set according to some text that is
> used in the different frames. (I use the animation to run through an array with
> strings.)
>
> I don'T want to name some hundred picture files manually after the rendering.
> (After all this is a hobby for me. =)
>
> Can I set the OutputFileName somehow so it reflects the strings from the array?
>
> Maybe by pasting the array somehow in the ini-file?
>
> Or do I really have to generate a seperate ini-file for every frame with another
> program first?

There is no way to change the OutputFileName from the SDL code.

What you can do, however, is have the SDL code create a batch file or 
shell/Perl/Tcl/Whatever script (using the #fopen and #write statements), 
which you can then run after the renders to automatically perform the 
renaming.


Post a reply to this message

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