|
|
"Steve Shelby" <ssh### [at] rexnetnet> wrote in message news:3e280a4b@news.povray.org...
> Hello,
> I have an isosurface with two forms, as follows:
>
> #declare P1=function{pigment{leopard
> colour_map{[0.0 rgb 0.3]
> [0.1 rgb 0.0]
> [1.0 rgb -.3]}
> scale 0.15
> }}
> #declare P2=function{pigment{leopard
> colour_map{[0.0 rgb 0.1]
> [0.1 rgb 0.0]
> [1.0 rgb 1.8]}
> scale 0.15
>
> I'd like to be able to animate the transition between the two forms. I have
> clockmod and have studied the tutorials, but the answer doesn't seem to be
> there. Is there a way to do this?
A more easily understandable way of doing it (for those who, like me, have limited
math
skills) would be:
#include "AutoClck.mcr"
#declare Val_1=0.3;
Declare_From (Val_1,0)
Declare_To_Using (Val_1,1,0.1,"S")
#declare Val_2=-0.3;
Declare_From (Val_2,0)
Declare_To_Using (Val_2,1,1.8,"S")
#declare P1=function{pigment{leopard
colour_map{[0.0 rgb Val_1]
[0.1 rgb 0.0]
[1.0 rgb Val_2]}
scale 0.15
}}
This is untested, but it should work.
All the best,
Andy Cocker
Post a reply to this message
|
|