home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 1 / glasdish.pov < prev    next >
Text File  |  1992-07-21  |  1KB  |  48 lines

  1. // Persistence of Vision Raytracer
  2.  
  3. #include "colors.inc"           // Standard colors library
  4. #include "textures.inc"         // LOTS of neat textures.  Lots of NEW textures.
  5.  
  6. camera {
  7.    //   location <0.0  1.5  -3.0>
  8.    location <0.0  1.5  -2.0>
  9.    direction <0.0 0.0  1.0>
  10.    up  <0.0  1.0  0.0>
  11.    right <1.33333 0.0 0.0>
  12.    look_at <0 0 0>
  13. }
  14.  
  15. // Light source (backlit)
  16. object { light_source { <0 30 10> color White  }}
  17.  
  18.  
  19. // A "sky sphere" to reflect in the glass
  20. object { sphere { <0 0 0> 1000 } texture { color DimGray } }
  21.  
  22. // Crystal dish
  23. object {
  24.    intersection {
  25.       sphere { <0 0 0> 1 }
  26.       sphere { <0 0.25 0> 0.75 inverse}
  27.       plane {<0 1 0> 0.75 }
  28.    }
  29.    texture { Glass3 reflection 0.25 }
  30.    bounded_by { sphere { <0 0 0> 1.1 } }
  31. }
  32.  
  33.  
  34. object { plane { <0 1 0> -1 }
  35.    texture {
  36.       DMFDarkOak
  37.       scale <0.75 0.75 1>
  38.       translate <10 -0.45 10>
  39.       rotate <5.0 30 0.25>
  40.       ambient 0.05
  41.       diffuse 0.5
  42.       reflection 0.35
  43.       specular 0.9
  44.       roughness 0.005
  45.    }
  46.  
  47. }
  48.