POV-Ray : Newsgroups : povray.animations : mathematical camera motion : Re: mathematical camera motion Server Time
5 Jul 2024 10:27:21 EDT (-0400)
  Re: mathematical camera motion  
From: Remco de Korte
Date: 13 Sep 2003 10:41:19
Message: <3F632C36.308CB7B4@onwijs.com>
"Tim Nikias v2.0" wrote:
> 
> How about:
> 
> #declare Initial_Position=<5,3,0>;
> #declare Radius_Increase=5;
> #declare Revolvements=1;
> #declare
> Cam_Location=vrotate(Initial_Position+x*clock*Radius_Increase,y*360*Revolvem
> ents*clock);
> 
> This would get you a path beginning at Initial_Position,
> looking from positive x axis, and encircle the origin while
> increasing the distance (but not the height) to the object.
> 
> To increase the height as well, you'd have to add another
> +y*clock*Some_Value before the "," of the vrotate (look
> that one up in the Docs). For more rotations, increase
> Revolvements.
> If you want to begin from in front of the object (I think
> left-handed, -z is front), exchanget the Initial_Position
> with <0,3,-5> and the "+x" in vrotate with "-z".
> 
> When you dissect that, you should understand the concept.
> 
> Regards,
> Tim
> 
> --
> Tim Nikias v2.0
> Homepage: http://www.digitaltwilight.de/no_lights
> 

Then you may also want the distance between the camera position in the
frames to be a constant. This complicates things a bit.
I've done just that, a while ago, but I wanted the camera direction to
move along. It turned out to be more complicated then I thought. When I
finally figured it out I thought it looked awfull and changed it...

Remco


Post a reply to this message

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