POV-Ray : Newsgroups : povray.general : Save several images from the same Scene? : Re: Save several images from the same Scene? Server Time
31 Jul 2024 20:25:24 EDT (-0400)
  Re: Save several images from the same Scene?  
From: Mike Williams
Date: 20 Sep 2006 05:23:20
Message: <aHYVeDANbQEFFwto@econym.demon.co.uk>
Wasn't it pierre who wrote:
>Hi everybody,
>
>I have created an object, and I want to study the effect of the position of
>the illumination.
>Can I created a loop, allowing to save several images from the same scene
>with different angular illumination position?
>For example (I feel I am not clear):
>I want to simulate the effect of the sun light at different time of the day
>on my object. Instead to change manually the illmuniation position, then to
>save the image and so on, I would like a loop enable to create and save as
>much images I want.

Read the documentation section on animation.

Use the clock or frame-number variable to control the illumination
position - either by using things like  #if (frame_number = 1)
or by directly using one of the variables in your lighting position like
this

light_source {
 vrotate(<-100,0,0>,<0,clock*360,30>) 
 color rgb 1
}

Run the animation to produce the frames but then don't load those frames
into an animation package to produce a movie.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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