POV-Ray : Newsgroups : povray.binaries.animations : Alien Invasion - Intro scene [link] : Re: Alien Invasion - Intro scene [link] Server Time
19 Jul 2024 11:25:19 EDT (-0400)
  Re: Alien Invasion - Intro scene [link]  
From: Peter Hertel
Date: 21 Nov 2002 17:14:16
Message: <3ddd5ab8@news.povray.org>
> Hi Peter, that looks really cool.
Thanks!

> What did you use to model the creatures? And the eyes blinking what did
you
> use?
>
> All the best
>
> Fidel.
>
Wow :) Must be the first time someone asks _me_ about modelling technices,
thanks Fidel! That felt good! ;)
They are all handcoded.
Legs are moved with a small walking macro I did.
Neck is cylinders and spheres along a spline. It's way faster than using
sphere_sweeps and works pretty well here.
Eye lid is made up of clipped sphere and torus, which then is rotated to
make it blink.
Here is the code, guess it explains it better..

    #macro Eye_Lid(SEL_Clock,EL_Translate)
        #declare EL_Clock = mod(SEL_Clock,1);
        #switch (EL_Clock)
            #range(0  ,0.8)#declare EL_Open = 50;
#break
            #range(0.8,0.9)#declare EL_Open =
50-50*((EL_Clock-0.8)*10);#break
            #range(0.9,1  )#declare EL_Open =
50*((EL_Clock-0.9)*10);#break
        #end
        #declare EL_Object=
        union{
            sphere {    0,0.3                   clipped_by {cylinder
{y*0.05,y*1 ,0.4}}}
            torus  {0.275,0.05 translate y*0.05 clipped_by {cylinder {  0
,x*-1,0.4}}}
            sphere {<0,0.05,-0.275>,0.05}
            sphere {<0,0.05, 0.275>,0.05}
            cylinder {<0,0,-0.275>,<0,-0.05,-0.275>,0.05 rotate z*EL_Open
translate y*0.05}
        rotate -z*EL_Open
        }
        union{
            object {EL_Object}
            object {EL_Object scale <1,-1,1>}
            sphere {0,0.25 texture {T_SWAEye}}
        texture {T_SWABody}
        translate EL_Translate
        }
    #end

Regards
-Peter
--
http://hertel.no/peter
#local Q=0;#while(Q<999)#debug"Peter :)\n"#local Q=Q+1;#end
What do you think of my new signature? ;)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.