POV-Ray : Newsgroups : povray.animations : Progress of shadows due to sunlight : Re: Progress of shadows due to sunlight Server Time
17 May 2024 06:08:27 EDT (-0400)
  Re: Progress of shadows due to sunlight  
From: Warp
Date: 12 Jun 2007 18:54:07
Message: <466f240f@news.povray.org>
I don't really understand what *exactly* is the problem you are trying
to describe, but here's how you render an animation in povray:

  1) Use the 'clock' variable in your scene. This variable goes from 0.0
to 1.0 (independently of how many frames you render). You can use this
variable for whatever you want to move or setup during the duration of
the animation. For example, if you want some parameter to go from 0 to 24
(ie. hours), give "clock*24" as that parameter (since 'clock' goes from
0.0 to 1.0, then "clock*24" will go from 0.0 to 24.0).

  2) Use the command-line parameter +kff<n> where <n> is the number of
frames you want your animation to have. For example, if you want 20 frames,
use +kff20
  If you are using the windows version of povray, you can write command-line
parameters in the textfield at the top of the window (at the right of the
resolution selection drop-down menu).

  POV-Ray will render a series of images. You'll have to use a third-party
software to compose an animation from those images (eg. VirtualDub).

-- 
                                                          - Warp


Post a reply to this message

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