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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // Sample quartic { file 
  4. // by Alexander Enzmann
  5.  
  6. #include "Shapes.inc"
  7. #include "Colors.inc"
  8. #include "Textures.inc"
  9. #include "shapesq.inc"
  10.  
  11. // Get the declaration of the coordinate axes 
  12. #include "axisbox.inc"
  13.  
  14. // Declare the orientation of the surface 
  15. #declare Steiner_Orientation = <50 -20 0>
  16.  
  17. object {
  18.    quartic { Steiner_Surface
  19.       texture { color Red phong 1.0 }
  20.    }
  21.    bounded_by {
  22.       sphere { <0 0 0> 1 }
  23.    }
  24.    scale <6 6 6>
  25.    rotate Steiner_Orientation
  26. }
  27.  
  28. // Show coordinate axes 
  29. composite { Axes
  30.    rotate Steiner_Orientation
  31. }
  32.  
  33. // The viewer is eight units back along the z-axis. 
  34. camera {
  35.    location  <0.0  0.0 -8.0>
  36.    right     <1.3333  0.0  0.0>
  37.    up        <0.0  1.0  0.0>
  38.    direction <0.0  0.0  1.0>
  39. }
  40.  
  41. // Put in some light sources so that highlighting can give visual clues
  42. //  as to the shape { of the surface. 
  43. object {
  44.    light_source { <200 100 -300>
  45.       colour White
  46.    }
  47. }
  48.  
  49. object {
  50.    light_source { <-200 100 -300>
  51.       colour White
  52.    }
  53. }
  54.