POV-Ray : Newsgroups : povray.general : Macro for connecting n points through Spline : Macro for connecting n points through Spline Server Time
20 Apr 2024 04:50:36 EDT (-0400)
  Macro for connecting n points through Spline  
From: Kima
Date: 20 Apr 2023 06:50:00
Message: <web.6441184a860526a665103170d427f3e5@news.povray.org>
I know how Spline works for two points, but how can we create a smooth line of
spheres passing through n points? I am looking for something like line smoothing
in graphs/charts.

I assume we have to create n-1 Splines, but how do we calculate the control
points to have a smooth curvature over points?

In the tutorial on Bezier patches, there is an explanation for aligning the
control points for Bezier surfaces, but I am not sure if we need to apply the
same approach here.


Post a reply to this message

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