home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 3 / waterbal.pov < prev    next >
Text File  |  1993-09-20  |  2KB  |  100 lines

  1. /*
  2. *** WaterBall 
  3. *** 
  4. *** DKB World Definition Script
  5. *** 11-24-89 Kevin Price
  6. *** Contact: AmAz! BBS (602) 843-6574
  7. */
  8.  
  9. /*#include "BasicShapes.data"*/
  10. #include "shapes.inc"
  11. #include "colors.inc"
  12.  
  13. camera {
  14.    location <0.0 25.0 -150.0>
  15.    direction <0.0 0.1 1.0>
  16.    up <0.0 1.0 0.0>
  17.    right <1.3333 0.0 0.0>
  18.  }
  19.  
  20.  
  21. object { 
  22.   sphere { <0.0 50.0 0.0> 50.0  }
  23.  
  24.  
  25.    texture {
  26.    colour red 0.0 green 0.2 blue 0.5
  27. //    0.05
  28.       ripples 1.0
  29.       scale <10.0 10.0 10.0>
  30.     ambient 0.1
  31.     diffuse 0.1
  32.     ior 1.5
  33.     reflection 0.5
  34.     refraction 0.5
  35.  
  36.     }
  37.  
  38.  }
  39.  
  40.  
  41. /* Add the sky to the picture */
  42. object {
  43.    plane { <0.0 1.0 0.0> 600.0  }
  44.    texture {
  45.        0.05
  46.        bozo
  47.        turbulence 0.5
  48.        colour_map {
  49.           [0.0 0.5  colour red 0.5 green 0.6 blue 1.0
  50.                     colour red 0.5 green 0.6 blue 1.0]
  51.           [0.5 0.6  colour red 0.5 green 0.6 blue 1.0
  52.                     colour red 1.0 green 1.0 blue 1.0]
  53.           [0.6 1.001 colour red 1.0 green 1.0 blue 1.0
  54.                     colour red 0.5 green 0.5 blue 0.5]
  55.         }
  56.        scale <800.0 800.0 800.0>
  57.        translate <200.0 400.0 100.0>
  58.    diffuse 0.2
  59.    ambient 0.8
  60.  
  61.     }
  62.  }
  63.  
  64. /* Define the desert floor */
  65. object {
  66.    plane { <0.0 1.0 0.0> -2.0  }
  67.  
  68.    texture {
  69.       0.05  /* This value dithers the colours */
  70.       ripples 1.0
  71.       frequency 2000.0
  72.       scale <50000.0 50000.0 50000.0>
  73.    colour red 0.2 green 1.0 blue 0.4
  74.    ambient 0.1
  75.    diffuse 0.3
  76.     }
  77.  }
  78.  
  79. /* Put up a distant wall to prevent a black line in the middle of the
  80.    screen */
  81. object {
  82.    plane { <0.0 0.0 1.0> 1000000.0   }
  83.  
  84.    texture {
  85.    colour red 0.4 green 0.4 blue 0.8
  86.    ambient 1.0
  87.    diffuse 0.0
  88.  }
  89.  }
  90.  
  91. object {
  92.    light_source { <60.0  50.0  -110.0>
  93.     colour White }
  94.  
  95.    texture {
  96.     ambient 1.0
  97.     diffuse 0.0
  98.             }
  99.         }
  100.