home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / dolphi / dolphin2.pov < prev    next >
Text File  |  1993-04-08  |  2KB  |  88 lines

  1. /*Data file for two dolphins leaping at sunrise. Render at 800X600 +a0.1 for good results. Robert A. Mickelsen*/
  2.  
  3. #include "colors.inc"
  4. #include "shapes.inc"
  5. #include "textures.inc"
  6. #include "dolphin.inc"
  7.  
  8. camera {
  9.   location  <2 8 -9>
  10.   direction <0 0 1.5>
  11.   up        <0 1 0>
  12.   right     <1.33 0 0>
  13.   look_at   <2 0 2>
  14. }
  15.  
  16. object { //spotlight to highlight dolphin #1
  17.   light_source {
  18.     <-4 15 5> 
  19.     color Pink
  20.     spotlight
  21.     point_at <0 1.75 1>
  22.     tightness 80
  23.     radius 10
  24.     falloff 18
  25.   }
  26. }
  27.  
  28. object {  //spotlight to highlight dolphin #2
  29.   light_source {
  30.     <6 15 17>
  31.     color Pink
  32.     point_at <6 -5 12>
  33.     tightness 80
  34.     radius 10
  35.     falloff 18
  36.   }
  37. }
  38.  
  39. composite { //Dolphin #1
  40.   Dolphin
  41.   rotate <0 0 -15>
  42.   rotate <0 -150 0>  //front view
  43.   //rotate <-35 0 0>  //bottom view
  44.   translate <0 1.75 1>
  45. }
  46.  
  47. composite {  //Dolphin #2
  48.   Dolphin
  49.   rotate <0 0 -25>
  50.   rotate <0 -150 0>
  51.   translate <6 -5 12>
  52. }
  53.  
  54. object { //sky sphere (sunrise)
  55.   sphere {<0 0 0> 1000}
  56.     texture {
  57.     wood //works better than gradient
  58.     color_map {
  59.       [0.0 0.4 color Orange color Pink]
  60.       [0.4 0.6 color Pink color Violet alpha 0.5]
  61.       [0.6 0.8 color Violet alpha 0.5 color MidnightBlue alpha 1.0]
  62.       [0.8 1.0 color MidnightBlue alpha 1.0 color White alpha 1.0]
  63.     }
  64.     scale <3500 1000 3500>
  65.     rotate <30 0 0>
  66.     ambient 1.0
  67.     diffuse 0.0
  68.   }
  69. }
  70.  
  71.  
  72. object {  //ocean
  73.   plane {<0 1 0> -.25 rotate <30 0 0>}
  74.   texture {
  75.     color SeaGreen
  76.     ripples .35
  77.     frequency 100
  78.     turbulence .5
  79.     ambient .1
  80.     diffuse .1
  81.     reflection .7
  82.     specular .5
  83.     scale <40 40 40>
  84.     roughness .03
  85.   }
  86. }
  87.  
  88.