home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 4613 / pipe.rrt < prev    next >
Text File  |  1994-03-03  |  1KB  |  63 lines

  1.  
  2. #include "colors.inc"
  3.  
  4. #declare Ecrase = 1
  5. #declare Etire = 1
  6.  
  7. #include "$ANIM$"
  8.  
  9. camera {
  10.   location <0 1 -3>
  11. //  location <0 3 -9>
  12.   point_at <0 0 0>
  13.   angle 15
  14. }
  15.  
  16. environment {
  17.   background color blue 0.5
  18. }
  19.  
  20. object {
  21.   light_source { <4 2 -8> intensity 12 color White }
  22. }
  23.  
  24. object {
  25.   light_source { <-4 16 0> intensity 14 color White }
  26. }
  27.  
  28. object {
  29.   /*difference {
  30.     object { box { <-1 -1 -1> <1 1 1> } }
  31.     object { box { <0 0 0> <2 2 -2> }
  32.              texture { checker color Green color Blue scale <0.3 0.3 0.3> }
  33.            }
  34.   }*/
  35.   bound {
  36.     intersection {
  37.       difference {
  38.         object { torus { <0 0 0> <0 1 0> 1 0.4 } }
  39.         object { torus { <0 0 0> <0 1 0> 1 0.37 } }
  40.       }
  41.       intersection {
  42.         slab { <1 0 0> -0.4 0.4 }
  43.         plane { <0 1 0> 0 }
  44.       }
  45.       translate <0 1 0>
  46.     }
  47.   }
  48.   by sphere { <0 0 0> 0.75 }
  49.   scale <Etire Ecrase 1>
  50.   rotate <0 45 0>
  51.   texture {
  52.     color Copper
  53.     metallic
  54.     ambient 0.30
  55.     diffuse 0.30
  56. //    reflection 0.4
  57.     phong 0.4
  58.     phong_size 100
  59.   }
  60. }
  61.  
  62. end.
  63.