|
![](/i/fill.gif) |
The way I calculate it, the normal vector always points to the "right" of the
spline no matter where the curve is. After my final next week I'll take another
stab at it.
Josh
Mark Wagner wrote:
> Josh English wrote in message <3985D1B3.81F2B31A@spiritone.com>...
> >I attempted to calculate the curvature of the spline for my bezier macro,
> but
> >I've never been satisfied with the results. One of the main problems is
> that the
> >curvature calculation gives a positive number, so I don't have an easy way
> to
> >find out which way to bank the object.
>
> You use the curvature for the amount of bank, and the normal vector for the
> direction of bank.
>
> Mark
--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritone com
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/
Post a reply to this message
|
![](/i/fill.gif) |