|
![](/i/fill.gif) |
The two middle control points only affect the slope of the curve.
The curve begins with a slope from c0 to c1, and ends with a
slope of c2 to c3. So, if you line up c2 and c3 from one curve
on a straight line with c0 and c1 from the next curve over, they
fit.
...Chambers
PS BTW, I recently wrote a small utility to generate a mesh based
on a bezier patch. The meshes render on my system up to 3x
faster than the patches, even when evaluated to thousands of
triangles.
Reusser <reu### [at] chorus net> wrote in message
news:3B34EFD2.C908DD47@chorus.net...
> Lately, I've been trying to create a carbon bike frame with bezier
> patches. It's going relatively well (and SLOWLY), but there's one thing
> I can't stand. I've found that I only need the control points on the
> corners (marked by X's). All that really matters is that the patches
> are seamless and the center points are not necessary for this.
>
> It seems like there should be a way to interpolate those points without
> having to enter them manually. Has anyone ever written a macro to do
> this? Is there a simple way around this?
>
> X-----X-----X-----X
> | | | |
> X-----0------0-----X
> | | | |
> X-----0------0-----X
> | | | |
> X-----X-----X-----X
>
> Thanks in advance.
>
> - Rico
>
Post a reply to this message
|
![](/i/fill.gif) |