POV-Ray : Newsgroups : povray.binaries.images : Natural cubic splines Server Time: 19 Feb 2019 23:36:29 GMT
  Natural cubic splines (Message 1 to 1 of 1)  
From: Tor Olav Kristensen
Subject: Natural cubic splines
Date: 13 Oct 2014 00:25:04
Message: <web.543b1ad394f0e36b7b9c043a0@news.povray.org>
See this thread:

Newsgroups: povray.binaries.scene-files
Date: 6th Oct 2014
From: Tor Olav Kristensen
Subject: Making functions for natural cubic splines
http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.54358f8d5b2bbe7b5e7df57c0%40news.povray.org%3E/

This image illustrates how each of 4 sets of X-, Y- and Z-functions contributes
to each of the 4 parts of a spline in between the 5 (red) points at tt[0],
tt[1], tt[3], tt[4] and tt[5].

Interval from tt[0] to tt[1]: Cyan
Interval from tt[1] to tt[2]: Green
Interval from tt[2] to tt[3]: Orange
Interval from tt[3] to tt[4]: Yellow

Each of the 12 (= 4*3) functions is a cubic polynomial.

--
Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'natural_cubic_splines_01_03.png' (137 KB)

Preview of image 'natural_cubic_splines_01_03.png'
natural_cubic_splines_01_03.png


 

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