POV-Ray : Newsgroups : povray.binaries.images : SineSpline: help me improve my macro! (13kbbu) : Re: SineSpline: help me improve my macro! (13kbbu) Server Time
2 Oct 2024 16:30:40 EDT (-0400)
  Re: SineSpline: help me improve my macro! (13kbbu)  
From: Greg M  Johnson
Date: 11 Apr 2000 15:31:15
Message: <38F37C6E.E4207E7B@my-dejanews.com>
Is there a more easy way to declare everything instead of the list of
pn[0]=<a,b>,  etc..........

Mike Weber wrote:

> What is your goal? Is it to have a switch and case in your macro?
>
> --
> Mike
>
> wk: mik### [at] pyxiscom  www.pyxis.com
> hm: mwe### [at] sciticom  www.geocities.com/mikepweber
>
> "Greg M. Johnson" <gre### [at] my-dejanewscom> wrote in message
> news:38F36884.F0797519@my-dejanews.com...
> > I have a new macro to get a moderately smooth transition between points.
> > The values will not exceed the range of any interval and it does not
> > require one to think up two points before and after the range (8-P) as
> > with a cubic spline.  I tried to set it up elegantly with a linear
> > spline and then #switch case, but I could not get the syntax correct.
> > Instead, one has to first manually define the points as follows:
> > --------------------------------------------------------


Post a reply to this message

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