home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 0 / lemnisc2.pov < prev    next >
Text File  |  1992-07-21  |  2KB  |  90 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 "shapes.inc"
  8. #include "colors.inc"
  9. #include "textures.inc"
  10.  
  11. composite {
  12.    /* Lemniscate of Gerono */
  13.    object {
  14.       quartic {
  15.          < 1.0   0.0   0.0    0.0  0.0   0.0   0.0   0.0   0.0 -1.0
  16.          0.0   0.0   0.0    0.0  0.0   0.0   0.0   0.0   0.0  0.0
  17.          0.0   0.0   0.0    0.0  0.0   1.0   0.0   0.0   0.0  0.0
  18.          0.0   0.0   1.0    0.0  0.0 >
  19.       }
  20.       bounded_by {
  21.          sphere { <0 0 0> 2.01 }
  22.       }
  23.       texture {
  24.          color Red
  25.          phong 1.0
  26.          phong_size 10
  27.          ambient 0.2
  28.          diffuse 0.8
  29.       }
  30.       rotate <0 0 45>
  31.    }
  32.  
  33.    /* Lemniscate of Gerono */
  34.    object {
  35.       quartic {
  36.          < 1.0   0.0   0.0    0.0  0.0   0.0   0.0   0.0   0.0 -1.0
  37.          0.0   0.0   0.0    0.0  0.0   0.0   0.0   0.0   0.0  0.0
  38.          0.0   0.0   0.0    0.0  0.0   1.0   0.0   0.0   0.0  0.0
  39.          0.0   0.0   1.0    0.0  0.0 >
  40.       }
  41.       bounded_by {
  42.          sphere { <0 0 0> 2.01 }
  43.       }
  44.       texture {
  45.          color Blue
  46.          phong 1.0
  47.          phong_size 10
  48.          ambient 0.2
  49.          diffuse 0.8
  50.       }
  51.       rotate <0 0 -45>
  52.    }
  53.  
  54.    scale <4 4 4>
  55.    rotate <30 0 20>
  56.    translate <0 0 5>
  57.  
  58. }
  59.  
  60. camera {
  61.    location  <0.0  0.0 -10.0>
  62.    right     <1.0  0.0  0.0>
  63.    up        <0.0  1.0  0.0>
  64.    direction <0.0  0.0  1.0>
  65. }
  66.  
  67. object {
  68.    light_source { <200 30 -30>
  69.       colour White
  70.    }
  71. }
  72.  
  73. object {
  74.    light_source { <-200 30 -300>
  75.       colour White
  76.    }
  77. }
  78.  
  79. /* Put down floor */
  80. object {
  81.    plane { <0.0 1.0 0.0> -30.0 }
  82.    texture {
  83.       White_Marble
  84.       scale <30 30 30>
  85.       ambient 0.3
  86.       diffuse 0.7
  87.    }
  88.    rotate <5 0 0>
  89. }
  90.