Author Topic: Splitting a Bezier?  (Read 2340 times)

0 Members and 1 Guest are viewing this topic.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Splitting a Bezier?
« 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:

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.
« Last Edit: May 08, 2011, 07:53:53 pm by ZippyDee »
There's something about Tuesday...


Pushpins 'n' stuff...