|
|
"Christopher James Huff" wrote:
> The basic idea is to look ahead to two points to
> estimate the direction and amount of curvature of
> the spline
I think it's better if the point in question is the middle one of the three
points rather than the back one.
> I have a sneaking suspicion our two solutions are
> mathematically the same, just arrived at differently...
The same, or very close.
> VPerp_Adjust() is defined as:
> vnormalize(vcross(vcross(Axis, V), Axis))
> Which is basically what I wrote.
My point exactly. I use that macro a lot by the way - it's really useful. :)
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|