home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / tt / raysh402 / boxball.ray < prev    next >
Text File  |  1992-02-09  |  1KB  |  59 lines

  1. /*
  2.  * White diffuse sphere with wooden box-shaped regions removed.
  3.  * Rod Bogart 11/90
  4.  */
  5. eyep  4 3 5
  6. fov 15
  7. light 1 directional 1 0.5 2
  8. sample 1    /* Increase this value for less noisy image */
  9. report verbose
  10. screen 320 256
  11.  
  12. plane 0. 0. -5. 0. 0. 1 texture marble scale 2 2 1
  13.  
  14. difference
  15.     sphere  0.65 0 0 0
  16.     grid 3 3 3    
  17.         applysurf ambient .2 .05 .05
  18.               diffuse .8 .1 .05
  19.               specular .05 .05 .05
  20.                 specpow 20
  21.  
  22.         box 0.3 0.3 -0.7 0.7 0.7 -0.3 
  23.         box -0.2 0.3 -0.7 0.2 0.7 -0.3 
  24.         box -0.7 0.3 -0.7 -0.3 0.7 -0.3 
  25.  
  26.         box 0.3 0.3 -0.2 0.7 0.7 0.2 
  27.         box -0.2 0.3 -0.2 0.2 0.7 0.2 
  28.         box -0.7 0.3 -0.2 -0.3 0.7 0.2 
  29.  
  30.         box 0.3 0.3 0.3 0.7 0.7 0.7 
  31.         box -0.2 0.3 0.3 0.2 0.7 0.7 
  32.         box -0.7 0.3 0.3 -0.3 0.7 0.7 
  33.  
  34.         box 0.3 -0.2 -0.7 0.7 0.2 -0.3 
  35.         box -0.2 -0.2 -0.7 0.2 0.2 -0.3 
  36.         box -0.7 -0.2 -0.7 -0.3 0.2 -0.3 
  37.  
  38.         box 0.3 -0.2 -0.2 0.7 0.2 0.2 
  39.         box -0.2 -0.2 -0.2 0.2 0.2 0.2 
  40.         box -0.7 -0.2 -0.2 -0.3 0.2 0.2 
  41.  
  42.         box 0.3 -0.2 0.3 0.7 0.2 0.7 
  43.         box -0.2 -0.2 0.3 0.2 0.2 0.7 
  44.         box -0.7 -0.2 0.3 -0.3 0.2 0.7 
  45.  
  46.         box 0.3 -0.7 -0.7 0.7 -0.3 -0.3 
  47.         box -0.2 -0.7 -0.7 0.2 -0.3 -0.3 
  48.         box -0.7 -0.7 -0.7 -0.3 -0.3 -0.3 
  49.  
  50.         box 0.3 -0.7 -0.2 0.7 -0.3 0.2 
  51.         box -0.2 -0.7 -0.2 0.2 -0.3 0.2 
  52.         box -0.7 -0.7 -0.2 -0.3 -0.3 0.2 
  53.  
  54.         box 0.3 -0.7 0.3 0.7 -0.3 0.7 
  55.         box -0.2 -0.7 0.3 0.2 -0.3 0.7 
  56.         box -0.7 -0.7 0.3 -0.3 -0.3 0.7 
  57.     end texture wood scale 3 1 1
  58. end
  59.