home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 0 / trough.pov < prev    next >
Text File  |  1994-07-27  |  2KB  |  65 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // By Alexander Enzmann
  4. /* sample quartic scene file written by Alexander Enzmann */
  5.  
  6. #include "colors.inc"
  7. #include "shapes.inc"
  8. #include "textures.inc"
  9.  
  10. #declare Quartic_Saddle =
  11. quartic {
  12.    < 0.0   0.0   0.0   0.0  0.0   0.0   0.0   4.0   0.0  0.0
  13.    0.0   0.0   0.0   0.0  0.0   0.0   0.0   0.0   0.0  0.0
  14.    0.0   0.0   0.0   0.0  0.0   0.0   0.0   0.0   0.0 -1.0
  15.    0.0   0.0   0.0   0.0  0.0 >
  16. }
  17.  
  18. #declare Unit_Cube =
  19. intersection {
  20.    plane { < 1  0  0> 1 texture { color Clear } }
  21.    plane { <-1  0  0> 1 texture { color Clear } }
  22.    plane { < 0  1  0> 1 texture { color Clear } }
  23.    plane { < 0 -1  0> 1 texture { color Clear } }
  24.    plane { < 0  0  1> 1 texture { color Clear } }
  25.    plane { < 0  0 -1> 1 texture { color Clear } }
  26. }
  27.  
  28. /* Crossed Trough */
  29. object {
  30.    intersection {
  31.       quartic { Quartic_Saddle
  32.          texture {
  33.             color Red
  34.             specular 0.8
  35.             roughness 0.005
  36.             ambient 0.3
  37.             diffuse 0.6
  38.          }
  39.       }
  40.       intersection { Unit_Cube }
  41.    }
  42.  
  43. //   bounded_by {
  44. //      intersection { Unit_Cube scale <1.5 1.5 1.5> }
  45. //   }
  46.  
  47.    scale <2 2 2> 
  48.    rotate <0 -10 0>
  49.    rotate <-60 0 0>
  50.    translate <0 0 4>
  51. }
  52.  
  53. camera {
  54.    location  <0.0  0.0 -4.0>
  55.    right     <1.33 0.0  0.0>
  56.    up        <0.0  1.0  0.0>
  57.    direction <0.0  0.0  1.0>
  58. }
  59.  
  60. object {
  61.    light_source { <200 30 -300>
  62.       colour White
  63.    }
  64. }
  65.