|
![](/i/fill.gif) |
Andrew,
I tried it, no luck. but I just realized I forgot to include the next line
defining the isosurface, which is:
isosurface {
function { y -P1 (x,0,z).red*0.4}
If that makes any difference.
Steve
Andrew Cocker <mai### [at] andrewcocker co uk> wrote in message
news:3e284216@news.povray.org...
> "Steve Shelby" <ssh### [at] rexnet net> 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
|
![](/i/fill.gif) |