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