POV-Ray : Newsgroups : povray.newusers : How to create multiple images in a batch : Re: How to create multiple images in a batch Server Time
29 Jul 2024 14:17:55 EDT (-0400)
  Re: How to create multiple images in a batch  
From: Mike Williams
Date: 10 Sep 2005 15:21:54
Message: <KUThqNASIzIDFwGP@econym.demon.co.uk>
Wasn't it ttread who wrote:
>
>I guess I will use the animation clock value and test it against a case
>statement to select different strings.

It would be easier to use frame_number to index an array of strings.

#declare Params = array[3] {"Foo","Bar","Baz"}
#declare MyParam = Params[frame_number-1];

Remember that frame_number starts at 1, but arrays number from 0.
-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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