POV-Ray : Newsgroups : povray.newusers : multiple renderings with #while ? : Re: multiple renderings with #while ? Server Time
28 Jul 2024 20:25:07 EDT (-0400)
  Re: multiple renderings with #while ?  
From: Alain
Date: 11 Oct 2007 12:17:32
Message: <470e4c9c$1@news.povray.org>
Simon nous apporta ses lumieres en ce 2007/10/10 13:52:
> just my easy method for doing a rovolving camera:
> 
> 
> //this will do 1 "circuit" for the length of the animation:
> 
> #declare DIST = 10; //Radius of loop for camera in POV units
> camera {
>     location <DIST*sin(clock*2*pi), 5, DIST*cos(clock*2*pi)>
>     look_at 0
> }
> 
> hope that helps a little
> 
> obviously, to get 2 revolutions, you would add another *2 inside the sin and 
> cos calls.
> 
> -Simon
> 
have you tought of using rotate?
your camera will become:
cemera{location<0,5,-10> look_at 0 rotate 360*clock*y}

-- 
Alain
-------------------------------------------------
   I knew a girl so ugly, they use her in prisons to cure sex Offenders.
   	Rodney Dangerfield


Post a reply to this message

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