POV-Ray : Newsgroups : povray.general : output filenames : Re: output filenames Server Time
30 Jul 2024 22:14:10 EDT (-0400)
  Re: output filenames  
From: Alain
Date: 15 Apr 2008 16:46:45
Message: <48051435$1@news.povray.org>
en ce 2008/04/15 15:37 :)   ->
> I want to create a number of variants of a scene, where each variant is defined
> by a number. No problem so far; I can run an animation loop and use the clock
> variable as an index to a lookup table. But I also want to use the numbers in
> the output filenames. So when I have
> 
> #declare VariantIDs = array[5] { 13, 21, 34, 55, 89 }
> 
> I would like to name the output files
> 
> scene_13.png
> scene_21.png
> scene_34.png
> scene_55.png
> scene_89.png
> 
> Is this possible? In the documentation I only find the automatic numbering, like
> 
> scene_01.png
> scene_02.png
> scene_03.png
> scene_04.png
> scene_05.png
> 
> Or did I overlook something?
> TIA
> Steven
> 
> 

You can't set the image's names directly from the scene file.
What you can do, is to use an INI file that will call your scene and set the 
name of the images, as it was done before the animation feature got the 
autonumbering.

-- 
Alain
-------------------------------------------------
'No, `Eureka' is Greek for `This bath is too hot.'' -- Dr. Who


Post a reply to this message

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