You do know that Bezier curves are a subset of Nurbs? Using a Nurbscurve where the cpcount is degree +1 (single span Nurbs) are equivalent to a (rational) Bezier curve… That means a Nurbs curve with 4 cps and degree 3 is automatically a Bezier curve. So why not using native functionality then? Furthermore Bezier curves usually are created by the deCasteljau algorithm, which is recursive. Weighting (=rational) it, just means to give every cp an additional factor of global impact, just as Seghier did.
Thanks Tom,
The output I’m looking for is not the curve.
I have an array of x values and I need to get y values.
Just as you would with graph mapper, which I can’t use because I need to control the curve parametrially.
My current workaround is in fact to use a nurbs curve and intersect it with vertical lines and determine y values of intersections.
This is ok but slow when dealing with massive arrays. Therefore I believe using an equation would speed things up.
Haven’t read that. Well are you sure about this? You are using a parametric equation, which doesn’t work in a way like a normal function does. Line-Curve intersection isn’t that costly. What array sizes do we talk about here?