POV-Ray : Newsgroups : povray.binaries.images : Fixed cosinespline : Re: Fixed cosinespline Server Time
2 Oct 2024 16:29:28 EDT (-0400)
  Re: Fixed cosinespline  
From: Tor Olav Kristensen
Date: 12 Apr 2000 19:20:26
Message: <38F50394.70DBFF49@online.no>
Peter Popov wrote:

> Maybe you could use a cubic spline instead.
> Take -2*x^3+3*x^2 in the region [0;1].

I tried your suggestion to use the cubic spline above.

I found that it doesn't differ much from Greg's cosine spline.
(I used the points that he put in his sample scene file.)

Is that the way it should be?

> It has a minimum at [0,0], a maximum at [1,1], a point
> of inflexion at [0.5,0.5] and is symmetric about [0.5,0.5]
> Who could ask for more? :)

Do you know of any other interesting polynomials for splines?

Tor Olav

mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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