|
|
Hi Warp, you wrote:
>Manawydan <pov### [at] webeyefreeservecouk> wrote:
>> All I want to do is move a camera in a circle, starting at 0, 0, -13, to
>> -12, 0, 0, to 0, 0, 13, to 12, 0, 0 then back to the beginning
>
> That isn't a circle, is it? ;)
Aye, it's just slightly out. :)
> I won't try to explain the theoretical background behind the sin() and
>cos() functions, but I'm sure you'll figure out how they work with this
>example:
>
>// This assumes 'clock' gets values between 0 and 1 (as is the default):
>#declare Angle = clock*2*pi;
>#declare CameraLocation = <-12*sin(Angle), 0, -13*cos(Angle)>;
Thanks for the code!
--
Manawydan
Post a reply to this message
|
|