Warp <war### [at] tag povray org> wrote:
> #macro EaseInOut(TimeValue) // TimeValue must be in the range [0, 1]
> 0.5 - cos(TimeValue*pi)/2
> #end
> --
> - Warp
hello,
i was thinking about something similar a few weeks ago... but there was no time
to do this.
something like
sigm(x)=1/(1+exp(-x))
but you are right cos is much more easier. :-)
The film is running in -6 < Clock < 33
All my scenes are running in x < clock < x+1
so it is very easy to implement your macro.
thanks robert
Post a reply to this message
|