POV-Ray : Newsgroups : povray.newusers : camera orbit with simultaneous image plane rotation : Re: camera orbit with simultaneous image plane rotation Server Time
2 Jul 2024 22:12:43 EDT (-0400)
  Re: camera orbit with simultaneous image plane rotation  
From: Alain
Date: 18 Jan 2011 22:44:33
Message: <4d365e21$1@news.povray.org>

> On 18/01/2011 1:45 PM, bobsta wrote:
>> Could you please give me more detailed syntax, or a reference to the
>> relevant
>> manual /wiki page, on how to implement this. Thanks.
>
>  From the help
>
> 3.3.1.1.2 The Sky Vector
Changing that vector is one way to tilt the camera in some way. It's a 
3D vector that defaults to <0,1,0>.

>
> frame_numnber:
>
> 3.2.1.3.6 Built-in Variables
>
> Using frame_numnber requires you to do a bit of arithmetic to get a
> meaningful number,
> For instance: 1 - (final_frame - frame_numnber)/final_frame
>
>

It depends on what you want to acheive.

If you need an integer value that depends ONLY on the actual 
frame_number and is independent on the clock value, there is NO 
arithmetics to perform. It also assume that your animation is made to 
use only a fixed number of frames.

Your suggestion is only needed if, for some reason, you want to 
substitute frame_number for places suited for the clock variable.




Alain


Post a reply to this message

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