• Advertisement

Archived

This topic is now archived and is closed to further replies.

Normal, Tangent and Gradient of a Bezier Curve

This topic is 5351 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need Normal, Tangent of a bezier curve. Google points me to sites which tells you about finding derivities. like this one http://www.fmi.pu.acad.bg/Education/compgeom/bezier-der.htm But we have just started differentiation in academy two days ago. I just need Normal, Tangent of a simple bezier curve. a simple bezier curve with two points for curve ends and two control points for their curvature.

Share this post


Link to post
Share on other sites
Advertisement
The tangent is the derivative.

x(t) = ax³ + bx² + cx + d
x''(t) = 3ax² + 2bx + c
y(t) = ...
y''(y) = ...
...

The tangent is (x''(t), y''(t), z''(t))

A curve does not have a normal in 3D. It has multiple ones. Any vector perpendicular to the tangent is a normal.

Cédric

Share this post


Link to post
Share on other sites
I got some idea. But im more interested in just pesudo code for now for a simple 4 points bezier.

[edited by - DirectXXX on July 2, 2003 12:36:10 PM]

Share this post


Link to post
Share on other sites

  • Advertisement