POV-Ray : Newsgroups : povray.general : Flapping wings? : Re: Flapping wings? Server Time
7 Aug 2024 09:21:09 EDT (-0400)
  Re: Flapping wings?  
From: Bill DeWitt
Date: 12 Oct 2001 09:19:12
Message: <3bc6edd0@news.povray.org>
// more like this
////////////// Camera //////////////////////
camera {                                  //
        right      < -1.333, 0.0, 0.0 >   //
        up         <  0.0, 1.0, 0.0 >     //
        direction  <  0.0, 0.0, 1.0 >     //
        location   <  5.0, 5.0, 20.0 >   //
        look_at    <  0.0, 0.0, 0.0 >     //
       }                                  //
////////////// end Camera //////////////////


///////////////  Light  ////////////////
light_source { < -100.0, 100.0, 100.0 >
color rgb < 1.0, 1.0, 1.0 > }
///////////////////////////////////////
///////////////  Light  ////////////////
light_source { <  100.0, 100.0, 100.0 >
color rgb < 1.0, 1.0, 1.0 > }
///////////////////////////////////////

#declare Ydimension = 30.0;
#declare zdimension = 60.5;
 #declare flapSpeed=12;

cylinder {
  -3*x,  3*x,  0.5  pigment { rgb 2 }
  translate 3*x
      rotate <
              0,
              cos((clock*flapSpeed)*(2*pi))*Ydimension,
              sin((clock*flapSpeed)*(2*pi))*zdimension >
              }


Post a reply to this message

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