POV-Ray : Newsgroups : povray.pov4.discussion.general : NURBS-Surface code in PovRay already exist : Re: NURBS-Surface code in PovRay already exist Server Time
26 Apr 2024 15:53:02 EDT (-0400)
  Re: NURBS-Surface code in PovRay already exist  
From: H  Karsten
Date: 4 Jan 2010 17:25:01
Message: <web.4b4269b5d18bdb3cda6353d60@news.povray.org>
> >
> > 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.
>
> --
> Tor Olav
> http://subcube.com

OK, my fault. It's a great pity, I was so happy to found it - lol :)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.