POV-Ray : Newsgroups : povray.unofficial.patches : Suggestions for spline function implementation : Re: Suggestions for spline function implementation Server Time
2 Sep 2024 06:18:54 EDT (-0400)
  Re: Suggestions for spline function implementation  
From: Chris Huff
Date: 24 Jul 2000 15:04:29
Message: <chrishuff-6E6438.14050824072000@news.povray.org>
In article <397BB8B8.C551A8D3@skynet.be>, Fabien Mosen 
<fab### [at] skynetbe> wrote:

> I gave it another try, but but but : 
>  - it's impossible to pass a spline identifier as a #macro parameter
>  - it's impossible to #declare a point :
>          #declare Point = SplineIdent (Value);

These are bugs, of course...hopefully they will be fixed soon. And I 
think there is a workaround for the second one:
#declare Point = <0,0,0> + SplineIdent(Value);


>  - and I still miss the "linear natural cubic" quality of the other
>    splines.  (and if I write a #macro to evenly distribute the "samples"
>    along the spline, the parsing times will go trough the roof, as it
>    does, alas, when using Kari's #macro).

And this is just a missing feature. The point I was trying to make is 
that the *syntax* is far better, and that this spline patch could easily 
be extended to do these things.

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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