POV-Ray : Newsgroups : povray.binaries.images : Is there a spline solution out there? : Re: Is there a spline solution out there? Server Time
1 Oct 2024 15:24:31 EDT (-0400)
  Re: Is there a spline solution out there?  
From: Libellule
Date: 10 Aug 2000 00:12:02
Message: <39922BC9.E0039D3C@insectes.net>
There is the standard cubic spline:

Provide 'n' through-points <xi, yi>, and it gives 'n-1' cubic polynomials,
one  for each range[<xi,yi>-<x(i+1),y(i+1)>], with position, first, and second
derivative continuity.

The method might not be amenable to a POV solution, though, because you solve
a system of linear equations to get the coefficients for the cubic
polynomials, which is something that might be inefficient in POV script.


Post a reply to this message

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