|
![](/i/fill.gif) |
> You can change your rotation as:
>
> rotate <0, 90*clock, -178+(clock*360)>
> and use +kc to set the clock to cyclical animation.
Ok, it seems that I did not clearly define my problem. I have to simulate two
general situations; firstly where the camera is at a fixed roll angle, say 15
degrees for all positions along the orbit: rotate <0,15,(-178+clock*360)> ??
Secondly the more general case I need to adjust the roll angle between clock
ticks by a variable amount, e.g. a typical sequence of roll angles for 15 clock
ticks would be 0,1,3,5,7,5,3,1,0,1,3,5,7,5,3. Thus I would probably need to
provide a file or parameter list containing the roll angles that are (somehow?)
substituted into the .inc file at runtime. Alternatively I would need to avoid
the full orbit (rotate keyword) and write 15 discrete projections which simulate
the desired roll angles
Mark
>
> This will first rotate the camera around the Y axis, then rotate it
> around the Z axis.
> The result is a camera that smoothly rotate around the 2 axis during the
> animation.
>
> You can use something like:
>
> int(30*clock)*12
>
> To rotate in 12 degrees increments, doing a complete rotation in 30 steps.
>
>
>
>
>
>
> Alain
Post a reply to this message
|
![](/i/fill.gif) |