|
|
On Sun, 04 Mar 2001 12:34:42 -0600, David Fontaine <dav### [at] faricynet>
wrote:
>I had to go check out the animation. Sweet! You have the motion
>calculations down well, it looks very natural.
Just a blob and bit of variable (but regular) rotation.
blob {
threshold 0.9
#local jwrb=seed(42);
#local bc = 0;
#while (bc < 50)
#local col =
vrotate(vrotate(<0,1,0>,z*(bc*(120/48)+30)),y*bc*(720/48));
#local rotdir =
y*cos((mod(frame_number+bc,120)/120)*2*pi);
#local sc = 0;
#while (sc <3.5)
sphere { col*sc (1-(sc/4))/2 1
rotate rotdir*(sc*10)
pigment { rgb col/2+0.5 }
finish {
diffuse 0.6
reflection 0.2
specular 0.2
metallic
ambient 0
}
}
#local sc = sc +(0.4-sc/10)/2;
#end
#local bc = bc +1;
#end
}
glows where calculated using a similar method. (Uses frame_number so
needs MegaPov, you could modify it to use clock if you've only got
vanilla Pov.)
It's only now as I'm rendering the 640x480 animation version that I
realise two of the arms/tendrils don't have glows. :-(
_ __ __ _
\/ \ Justin Whitton / \/
_/\__/ mail: jus### [at] rayjayclaracouk \__/\_
\/ \ web: www.rayjay.clara.co.uk / \/
_/\__/\MSN Messenger ID:msn### [at] rayjayclaracouk/\__/\_
Post a reply to this message
|
|