home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 4613 / wood.rrt < prev   
Text File  |  1994-06-12  |  793b  |  50 lines

  1. // Real Ray Tracer v1.0
  2. // A piece of damaged wood.
  3.  
  4. #include "colors.inc"
  5. #include "textures.inc"
  6.  
  7. object {
  8.   intersection {
  9.     intersection {
  10.       slab { <1 0 0> -.5 .5 }
  11.       slab { <0 1 0> -.3 .3 }
  12.     }
  13.     intersection {
  14.       slab { <0 0 1> -.5 .8 }
  15.       slab { <1 0 -1> -.7 .6 }
  16.     }
  17.   }
  18.   texture {
  19.     DMFWood2
  20.     turbulence 0.6
  21.     scale <2.5 2.5 1>
  22.     ambient 0.3
  23.     diffuse 0.6
  24.     bump {
  25.       dents 0.20
  26.       scale <0.05 0.05 0.05>
  27.     }
  28.   }
  29. }
  30.  
  31. object {
  32.   plane { <0 1 0> -2 }
  33.   texture {
  34.     checker color Yellow color red 1.0 blue 0.75
  35.     scale <1 0 1>
  36.     ambient 0.20
  37.     diffuse 0.40
  38.   }
  39. }
  40.  
  41. camera {
  42.   location <1.3 1.3 -1.3>
  43.   point_at <0 0 0>
  44.   angle 30
  45. }
  46.  
  47. object { light_source { <1 4 -2> color White } }
  48.  
  49. end.
  50.