home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / scripts / pov / froggy / frog.inc < prev    next >
Encoding:
Text File  |  1993-04-09  |  1.7 KB  |  76 lines

  1. #include "colors.inc"
  2. #include "shapes.inc"
  3. #include "textures.inc"
  4. #include "frogbody.inc"
  5. #include "frogleg2.inc"
  6. #include "frogleg1.inc"
  7. #include "eyeball.inc"
  8.  
  9. /*camera { //un-comment to render and adjust frog
  10.   location  <5 10 -20>
  11.   direction <0 0 1.5>
  12.   up        <0 1 0>
  13.   right     <1.33 0 0>
  14.   look_at   <0 0 2>
  15. }*/
  16.  
  17. /*object { light_source { <2 1 -3> color White } } //uncomment to render and adjust frog*/
  18.  
  19.  
  20. #declare Frog =
  21.   composite {
  22.     composite {
  23.       Frog_Body
  24.       scale <.65 .5 .5> 
  25.     }
  26.     composite {
  27.       Frog_Leg1
  28.       scale <.5 .5 .25>
  29.       rotate <80 0 0>
  30.       rotate <0 0 -25>
  31.       rotate <0 30 0>
  32.       translate <4 -2.5 -1.25>
  33.     }
  34.     composite {
  35.       Frog_Leg1
  36.       scale <.5 .5 .25>
  37.       rotate <-80 0 0>
  38.       rotate <0 0 -25>
  39.       rotate <0 -30 0>
  40.       translate <4 -2.5 1.25>
  41.     }
  42.     composite {
  43.       Frog_Leg2
  44.       scale <.5 .25 .35>
  45.       translate <-1 -2.5 -.5>
  46.       rotate <0 -30 0>
  47.     }
  48.     composite {
  49.       Frog_Leg2
  50.       scale <.5 .25 .35>
  51.       translate <-1 -2.5 .5>
  52.       rotate <0 30 0>
  53.     }
  54.     composite {
  55.       Eyeball
  56.       scale <.175 .175 .175>
  57.       /*scale <.375 .375 .375> //larger eyeball if you prefer*/
  58.       rotate <0 -85 0>
  59.       rotate <10 0 0>
  60.       /*translate <-2.5 2.2 -.75> //position for larger eyeball*/
  61.       translate <-2.75 2 -.5>
  62.     }
  63.     composite {
  64.       Eyeball
  65.       scale <.175 .175 .175>
  66.       /*scale <.375 .375 .375> //larger eyeball*/
  67.       rotate <0 85 0>
  68.       rotate <-10 0 0>
  69.       /*translate <-2.5 2.2 .75> //position for larger eyeball*/
  70.       translate <-2.75 2 .5>
  71.     }
  72.     //rotate <0 -90 0> //front view
  73.     //rotate <-90 0 0> //top view
  74.     //rotate <0 180 0> //other side
  75.   }
  76.