|
![](/i/fill.gif) |
Chrisir wrote:
> My Camera follows a spline with curves. When the camera flies thru a
> curve I like to turn the angle of the camera a bit as a airplane
> would do; the camera leans to the left or to the right.
>
> I have the location of the camera according to the spline position,
> the look-at of the camera according to the next position on the
> spline (i.e. the camera looks to the direction it will fly to next).
> How can I calculate the Sky-vector with these two vectors to get the
> effect?
Perhaps you can get inspiration in how the Spline_Trans() macro in
transforms.inc works.
You can have a look at this demo scene...
scenes\animations\splinefollow\splinefollow.pov
...and render with the first person view settings. This scene illustrates
the usage of Spline_Trans() to move the camera, including banking.
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |