POV-Ray : Newsgroups : povray.newusers : image map and batch render : Re: image map and batch render Server Time
5 May 2024 11:39:14 EDT (-0400)
  Re: image map and batch render  
From: kurtz le pirate
Date: 5 Mar 2022 04:27:34
Message: <62232d06$1@news.povray.org>
On 04/03/2022 19:55, Bald Eagle wrote:

> If you name all of your files in sequential numerical order, you can use the
> animation feature, and use the frame number or the clock value to choose the
> right file.  Just concatenate everything into a string and use that for the
> filename.
> 

As Bill say, animation feature is a key.

-> Name yours file sequential : File1.inc, File2.inc, ... File1500.inc
-> In your SDL code, build the file name string :
   #declare fileName = concat("File",str(frame_number,0,0),".inc");
-> Include the file :
   #include fileName
-> Of corse, turn on animation and set
   Initial_Frame=1 and Final_Frame=1500


<https://wiki.povray.org/content/Reference:Animation_Options#Internal_Animation_Loop>



-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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