Omnimaga

General Discussion => Other Discussions => Math and Science => Topic started by: ZippyDee on May 08, 2011, 07:14:17 pm

Title: Splitting a Bezier?
Post by: ZippyDee on May 08, 2011, 07:14:17 pm
Hey I need some help (obviously...otherwise I wouldn't be posting).

I'm trying to figure out how to split a cubic Bezier curve into two separate cubic Bezier curves at a specified point on the curve, but I can't seem to figure out how to do it. I know the control points, and therefore I know the equation.

Here's the equation as defined by Wikipedia:
(http://upload.wikimedia.org/math/5/e/3/5e32b674a98a9f70e492851f9ad92b61.png)
Where B(t) is a single point on the bezier curve, and Pn is the nth control point.

Any help would be greatly appreciated!


Edit: Added an example of what I'm talking about. I have a full Bezier (top) and I want to split it at a certain point (of which I know the "t" value for the equation) into two independent Bezier curves.