POV-Ray : Newsgroups : povray.pov4.discussion.general : n dimensions in a spline : n dimensions in a spline Server Time
23 Feb 2024 07:51:17 EST (-0500)
  n dimensions in a spline  
From: H  Karsten
Date: 1 Nov 2009 20:55:01
Message: <web.4aee3bcc42bfa556da6353d60@news.povray.org>
Just in the Post before, I defined a spline like:

#declare Spline=spline{

In the example I used only _one_ (the first) value of the spline.

It is not possible in PovRay to define a one-dimensional spline, so I need to
use (like in this case) the Spline.u(catch_it) syntax to get the first value,
while _never_ using the second one.

Also, it is not possible to make a spline with ten dimensions, or one hundred...

N-Dimensional splines can save memory, speed and enhance the possibilities in

The syntax could look like: Spline.9(catch_that!) for the 9th dimension.

It would be a fine thing ;)

The power-choice would be, to define different spline-types for different
dimensions. (natual_spline for the first, linear_spline for the second...)

Ok... maybe to extreme.


Post a reply to this message

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