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

  1.  
  2. #include "colors.inc"
  3. #include "shapes.inc"
  4. #include "textures.inc"
  5.  
  6. object {
  7.   intersection {
  8.     sphere { <0 0 -0.38> 1.3 }
  9.     sphere { <0 0 -0.42> 1.3 }
  10.   }
  11.   texture {
  12.     Phong_Transparent
  13.     reflection 0.3
  14.     refraction 0.7
  15.     ior 1.76              // glass
  16.   }
  17. }
  18.  
  19. object {
  20.   sphere { <0 0 0> 0.25  }
  21.     texture {
  22.     color Red
  23.     ambient 0.15
  24.     diffuse 0.20
  25.     phong 0.3
  26.     phong_size 75
  27.    }
  28.  }
  29.  
  30. object {
  31.   Cylinder_X
  32.   scale <1 0.15 0.15>
  33.   texture {
  34.     color Green
  35.     ambient 0.15
  36.     diffuse 0.15
  37.     reflection 0.0
  38.     phong 0.3
  39.     phong_size 75
  40.   }
  41. }
  42.  
  43. object {
  44.   Cylinder_Y
  45.   scale <0.15 1 0.15>
  46.   texture {
  47.     color Green
  48.     ambient 0.15
  49.     diffuse 0.15
  50.     reflection 0.0
  51.     phong 0.3
  52.     phong_size 75
  53.   }
  54. }
  55.  
  56. object {
  57.   plane { <0 0 -1> 0  }
  58.   texture {
  59.     checker color Yellow color Violet
  60.     scale <0.2 0.2 0>
  61.     ambient 0.15
  62.     diffuse 0.25
  63.   }
  64. }
  65.  
  66. object {
  67.   plane { <0.5 1 0> -1.5  }
  68.   texture {
  69.     checker color Yellow color red 1.0 blue 0.75
  70.     scale <0.3 0 0.3>
  71.     ambient 0.15
  72.     diffuse 0.25
  73.   }
  74. }
  75.  
  76. camera {
  77.   location  <0 0 -3>
  78.   direction <0 0  3>
  79. }
  80.  
  81. environment {
  82.   background color Blue
  83. }
  84.  
  85. object {
  86.   light_source { <2 8 -9> color White }
  87. }
  88.  
  89. object {
  90.   light_source { <-3 7 -10> color White }
  91. }
  92.  
  93. end.
  94.