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

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // Sample quartic { file
  4. // by Alexander Enzmann
  5.  
  6.  
  7. #include "shapes.inc"
  8. #include "colors.inc"
  9. #include "textures.inc"
  10.  
  11. // a cubic { shape {, like a cube with smoothed edges in appearance 
  12. object {
  13.    quartic {
  14.       < 1.0   0.0   0.0    0.0     0.0   0.0   0.0   0.0   0.0    0.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     0.0   0.0   0.0   0.0   0.0    0.0
  17.       1.0   0.0   0.0    0.0  -1000.0 >
  18.       rotate <20.0 40.0 30.0>
  19.    }
  20.    texture {
  21.       color Red
  22.       phong 1.0
  23.       phong_size 10
  24.       ambient 0.2
  25.       diffuse 0.8
  26.    }
  27.    rotate <-45 0 0>
  28.    translate <0 0 20>
  29.    color Red
  30. }
  31.  
  32. // Put down checkered floor 
  33. /*
  34. object
  35.    plane <0.0  1.0  0.0> -20.0 end_plane
  36.    texture
  37.       checker colour NavyBlue colour MidnightBlue
  38.       scale < 20.0 20.0 20.0 >
  39.       ambient 0.8
  40.       diffuse 0.2
  41.    end_texture
  42. end_object
  43. */
  44.  
  45. camera {
  46.    location  <0.0  2.0 -10.0>
  47.    look_at   <0.0  0.0   0.0>
  48.    direction <0.0  0.0   1.0>
  49.    up        <0.0  1.0   0.0>
  50.    right     <1.33 0.0   0.0>
  51. }
  52.  
  53. object {
  54.    light_source { <50 100 0>
  55.       colour White
  56.    }
  57. }
  58.  
  59. object {
  60.    light_source { <-200 30 -300>
  61.       colour White
  62.    }
  63. }
  64.