POV-Ray : Newsgroups : povray.general : Macro for connecting n points through Spline : Re: Macro for connecting n points through Spline Server Time
24 Apr 2024 20:46:53 EDT (-0400)
  Re: Macro for connecting n points through Spline  
From: ingo
Date: 20 Apr 2023 07:20:00
Message: <web.64411f4bf0b679ef17bac71e8ffb8ce3@news.povray.org>
"Kima" <nomail@nomail> wrote:

> 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.

For interpolation between points I would not use a Bezier spline as there are
many ways to position the handles/control points. Use one of quadratic_spline,
cubic_spline, natural_spline or one from my curve macro's
https://ingoogni.nl/download/ There is also the Interpolate macro in math.inc
that does cosine interpolation or exponential interpolation.

ingo


Post a reply to this message

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