POV-Ray : Newsgroups : povray.general : how do I make a closed spline? : Re: To ABX and Ingo (was: how do I make a closed spline?) Server Time
6 Aug 2024 23:26:39 EDT (-0400)
  Re: To ABX and Ingo (was: how do I make a closed spline?)  
From: Rune
Date: 17 Feb 2002 11:29:51
Message: <3c6fda7f@news.povray.org>
"Jaime Vives Piqueres" wrote:
> > Not elegant, I know, but it works for me (I had the
> > same problem here recently). One more point at each
> > end works even better...

Yes, I know, adding ridiculously many points at the ends makes the error
ridiculously small... ;)

But as you say, it's not very elegant. I hope the catmull-rom spline type
(the cubic spline used in prisms and lathes) will be added as an alternative
to this natural cubic spline which is the one currently used in the spline{}
feature. The catmull-rom spline always connects 100% smooth with only one
extra point at each end besides the connection point.

Anyway, I guess this solution is acceptable for now...

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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