|
![](/i/fill.gif) |
> IMHo it might be nicer if avaraged with waves pattern.
You can always give it a shot. =)
> How do You suggest to animate it?
For a cyclic animation:
#declare animtime = 5; // seconds in animation
#declare translateamnt = animtime * .4; // how much to translate the wrinkle
texture by
#declare transamnt = translateamnt * .2; // how much of that translation is
used to make the beginning match the end by interpolation
isosurface {
function {
#if (clock * translateamnt >= transamnt)
y - f_wrinkles(x/3, clock * translateamnt + 50, z/3)
#else
#declare amnt = clock * translateamnt / transamnt;
y - amnt * f_wrinkles(x/3, clock * translateamnt + 50, z/3) - (1 - amnt)
* f_wrinkles(x/3, (1+clock) * translateamnt + 50, z/3)
#end
}
...
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |