home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / dolphi / dolphin.inc < prev    next >
Text File  |  1993-04-08  |  1KB  |  66 lines

  1. #include "colors.inc"
  2. #include "shapes.inc"
  3. #include "textures.inc"
  4. #include "dolpbody.inc"
  5. #include "fin1.inc"
  6. #include "fin2.inc"
  7.  
  8. /*camera { //un-comment to render and adjust
  9.   location  <1 4 -9>
  10.   direction <0 0 1.5>
  11.   up        <0 1 0>
  12.   right     <1.33 0 0>
  13.   look_at   <2 -1 2>
  14. }*/
  15.  
  16. /*object { light_source { <2 4 -3> color White } } //uncomment to render and adjust*/
  17.  
  18.  
  19. #declare Dolphin =
  20. composite {
  21.   composite {  //the dolphin's body
  22.     Dolphin_Body
  23.     scale <.4 .25 .3>
  24.   }
  25.   composite {  //the 1st pectoral fin
  26.     Fin1
  27.     rotate <0 0 -30>
  28.     scale <.4 .18 .03>
  29.     rotate <60 0 0>
  30.     translate <-.5 -1.55 -1.05>
  31.   }
  32.   composite {  //the 2nd pectoral fin
  33.     Fin1
  34.     rotate <0 0 -30>
  35.     scale <.4 .18 .03>
  36.     rotate <-60 0 0>
  37.     translate <-.5 -1.55 1.05>
  38.   }
  39.   composite {  //the dorsal fin
  40.     Fin1
  41.     rotate <0 180 0>
  42.     rotate <0 0 -150>
  43.     scale <.45 .18 .03>
  44.     translate <-1.5 .7 0> 
  45.   }
  46.   composite {  //1st tail fin
  47.     Fin2
  48.     rotate <0 0 -30>
  49.     scale <.4 .18 .03>
  50.     rotate <90 0 0>
  51.     rotate <0 0 10>
  52.     translate <-4.9 -1.4 -1.05>
  53.   }
  54.   composite {  //2nd tail fin
  55.     Fin2
  56.     rotate <0 0 -30>
  57.     scale <.4 .18 .03>
  58.     rotate <-90 0 0>
  59.     rotate <0 0 10>
  60.     translate <-4.9 -1.4 1.05>
  61.   }
  62.   //rotate <0 0 -15>  //skew it a little for perspective
  63.   //rotate <0 -150 0>  //front view
  64.   //rotate <-35 0 0>  //bottom view
  65. }
  66.