POV-Ray : Newsgroups : povray.general : Moving a camera in a circle : Re: Moving a camera in a circle Server Time
12 Aug 2024 19:32:52 EDT (-0400)
  Re: Moving a camera in a circle  
From: David Etter Perere
Date: 13 Jan 1999 18:11:03
Message: <01be3f49$fb0abce0$de0e8dc3@default>
The 12.11.97 on  comp.graphics.rendering.raytracing,Bird Cameron did answer
that to a question on "Circular camera path"


<01bd0610$25f68c00$5b033bcb@2>...
> If you assume that the position that you want to orbit is <x,y,z> and the
> radius at which you wish to orbit is r and you use the z-axis as up, The
> following camera statement will do the trick.
> 
> camera{ position <x+(cos(clock*pi*2)*r),y+(sin(clock*pi*2)*r),0>
> 	 right <1,0,0>
>              up <0,0,1>
>              look_at <x,y,z>
> }
> 
> Hope that helps.
> 
> Gordon
> <gbe### [at] birdcameroncomau>
> 

Hoping that too,

David Etter Perere
per### [at] bofinfomaniakch
Remove the "bof." to answer


<369CD9A3.59518EBF@void.nacstock.ac.uk>...
> Hi Folks
> ...
> Can you use trig functions in Povray? I'm sure there's a
> better way to do it.
> 
> Mike Varley
> mik### [at] nacstockacuk
> 
>


Post a reply to this message

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