POV-Ray : Newsgroups : povray.advanced-users : How to calculate Banking of Bezier-Splines...? : Re: How to calculate Banking of Bezier-Splines...? Server Time
29 Jul 2024 20:22:53 EDT (-0400)
  Re: How to calculate Banking of Bezier-Splines...?  
From: Rune
Date: 24 Feb 2002 05:18:44
Message: <3c78be04@news.povray.org>
"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

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