POV-Ray : Newsgroups : povray.general : How to Loop a Render?? : Re: How to Loop a Render?? Server Time
31 Jul 2024 02:22:57 EDT (-0400)
  Re: How to Loop a Render??  
From: Alain
Date: 5 Jan 2008 10:45:54
Message: <477fa632$1@news.povray.org>
link74 nous apporta ses lumieres en ce 2008/01/04 18:29:
> Hi All,
> 
> I'm new to POV-Ray and I have a fairly simple question (I think).  How can I
> loop an entire rendering so once the rendering is finished, it just starts
> right back up again?  It would be nice if I could make a large for loop so it
> would render 'x' number of times.
> 
> Thanks.
> 
> 
I assume that each image will be different.
I may also insinuate that the last image will go back to what the first one was.

This looks like an animation.
You are probably using the windows version.

At the top of the editor, next of the resolutions, there is a text box, it's 
called the "command line option box"
In that box, put +kff<some value>
This will turn on the animation feature and start the automatic rendering of X 
frames.
In your scene, you use the "clock" variable to control the animation. It's value 
goes from zero to 1. It can be used to move, scale, rotate, add or remove any 
object or materials.
The various conditional statements are most usefull for animations. Take a look 
at #it(condition)...#else...#end and #switch(condition) #case(value)...#break, 
#range(value,value)...#break #else...#end

If you want your animation to loop, add "+kc" to enable cyclic animation.

-- 
Alain
-------------------------------------------------
A day without sunshine is like, night


Post a reply to this message

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