|
|
Christian Froeschlin <chr### [at] chrfrde> wrote:
> nimda wrote:
>
> > Between time = 0 and 0.25 the fox opens its left eye and start opening its right
> > eye. Between 0.25 and 1 the right eye opens completely. At time = 0.5 a question
> > mark appears above it's head.
>
> this sounds like fun ;)
>
> > I hope that in a future implementation it will be possible to use more than the
> > x, y and z components so it can be used to make complex time tables.
>
> An interesting use of splines, but implementing n-dimensional splines
> for this maybe a bit overkill. It probably only makes sense with linear
> splines since you need to have independent interpolation for each
> timeline. But you can get the same effect using a 2d array initializer
> (see 3.3.1.10.2). Then you just need one macro TIMELINE(t,n) to find
> the rows before and after a given time t, and return the interpolated
> value for timeline n.
This seems very feasible to me. Thanks for the hint.
Post a reply to this message
|
|