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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // By Alexander Enzmann
  4.  
  5. /* sample quartic scene file written by Alexander Enzmann */
  6.  
  7. #include "colors.inc"
  8. #include "shapes.inc"
  9. #include "textures.inc"
  10.  
  11. /* Parabolic Torus having major radius sqrt(40), minor radius sqrt(12) */
  12. object {
  13.    quartic {
  14.       < 1.0   0.0   0.0    0.0     2.0   0.0   0.0   0.0  -2.0 -104.0
  15.       0.0   0.0   0.0    0.0     0.0   0.0   0.0   0.0   0.0    0.0
  16.       1.0   0.0   0.0    0.0    -2.0  56.0   0.0   0.0   0.0    0.0
  17.       0.0   0.0   1.0  104.0   784.0 >
  18.    }
  19.    scale <0.7 0.7 0.4>
  20.    bounded_by {
  21.       sphere { <0 0 0> 40 }
  22.    }
  23.    texture {
  24.       color Red
  25.       phong 1.0
  26.       phong_size 20
  27.    }
  28.    rotate <120 0 0>
  29.    rotate <0 -30 0>
  30.    translate <0 0 40>
  31. }
  32.  
  33. /* Put down a floor */
  34. object {
  35.    plane { <0.0  1.0  0.0> -20.0 }
  36.    texture {
  37.       Blue_Agate
  38.       scale < 20.0 20.0 20.0 >
  39.       ambient 0.5
  40.       diffuse 0.5
  41.    }
  42. }
  43.  
  44. camera {
  45.    location  <0.0  0.0 -20.0>
  46.    direction <0.0  0.0   1.0>
  47.    up        <0.0  1.0   0.0>
  48.    right     <1.33 0.0   0.0>
  49. }
  50.  
  51. object {
  52.    light_source { <200 30 -300>
  53.       colour White
  54.    }
  55. }
  56.  
  57. object {
  58.    light_source { <-200 30 -300>
  59.       colour White
  60.    }
  61. }
  62.