POV-Ray : Newsgroups : povray.general : changing includes during animation : Re: changing includes during animation Server Time
30 Jul 2024 22:23:00 EDT (-0400)
  Re: changing includes during animation  
From: Stephen
Date: 26 Mar 2008 11:15:43
Message: <uitku39hc86sjug6cjoib061c82fq3klpo@4ax.com>
On Wed, 26 Mar 2008 12:45:37 -0300, Nicolas Alvarez
<nic### [at] gmailisthebestcom> wrote:


>> #include "file"+clock+".png" ??????
>
>#include concat("file", str(clock, 0,0), ".png")
>
>Read on the arguments for 'str' if you want decimal numbers or zero-padding.

Yes as Warp says, frame_number is better for this. It saves
calculating what the frame number (file number) should be. I use this
method to import numbered meshes into an animation.
-- 

Regards
     Stephen


Post a reply to this message

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