"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> "H. Karsten" <h-karsten()web.de> wrote:
> > Hi people,
> > in this post: email@example.com I'd suggest to
> > support NURBS-surfaces is PovRay.
> > Now I figured out that in MegaPov 0.6 support of NURBS already exist, including
> > trimming!
> No, I'm afraid that you are wrong Holger.
> Bezier curves and rational Bezier curves are both subsets of NURBS curves.
> The Bezier code in MegaPOV 0.6a (bezier2.c) seems to implement the de Casteljau
> algorithm, which is not very usable for creating B-splines.
> To create B-splines (and thereafter NURBS) one would typically use the Cox de
> Boor algorithm.
Sorry, I looked into the wrong c-file.
The right one seems to be rbezier.c. But also this file seems to be using the de
Casteljau algorithm, not the Cox de Boor algorithm.
Post a reply to this message