POV-Ray : Newsgroups : povray.off-topic : All about splines : Re: All about splines Server Time
4 Sep 2024 11:17:29 EDT (-0400)
  Re: All about splines  
From: Invisible
Date: 19 Feb 2010 06:02:27
Message: <4b7e6fc3$1@news.povray.org>
Reactor wrote:

> If you wanted to smoothly join spline1 and spline2:
> 1)the endpoint of spline1 must be in the same location as the start point of
> spline2
> 2) the last control point of spline1, the endpoint of spline1/start point of
> spline2, and the first control point of spline2 must be co-linear.
> 
> The discontinuity is caused by the change in slope between the control points
> and their respective endpoint.  Note that the line between a control point and
> its nearest endpoint form a line that has the slope of the curve at the
> endpoint.  If you make the slopes of the two adjacent splines different, then
> they do not connect smoothly.

As I discovered further down, using a B-spline means that the degree of 
the curve is unrelated to the number of control-points, and smoothness 
is guaranteed (depending on the order of the curve).

Now all I have to do is figure out how B-splines actually work. >_<


Post a reply to this message

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