home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / polyray / dat / misc / room2.inc < prev    next >
Encoding:
Text File  |  1994-01-22  |  740 b   |  23 lines

  1. // This is a scene used in room1.pi.
  2.  
  3. // Make the test scene - cylinders arranged in a hexagon on a checkered plane.
  4. // Inside the cylinders will be a reflective sphere.
  5. define bot_vec <6, -2, 0>
  6. define top_vec <6, 8, 0>
  7. define cyl_obj
  8. object {
  9.      object { cylinder bot_vec, top_vec, 1 }
  10.    + object { disc top_vec, top_vec - bot_vec, 1 uv_steps 8, 4 }
  11.    }
  12. cyl_obj { rotate <0,   0, 0> shiny_red }
  13. cyl_obj { rotate <0,  60, 0> shiny_yellow }
  14. cyl_obj { rotate <0, 120, 0> shiny_green }
  15. cyl_obj { rotate <0, 180, 0> shiny_cyan }
  16. cyl_obj { rotate <0, 240, 0> shiny_blue }
  17. cyl_obj { rotate <0, 300, 0> shiny_magenta }
  18.  
  19. object {
  20.    disc <0, -2.001, 0>, <0, 1, 0>, 50
  21.    texture { checker matte_white, matte_black }
  22.    }
  23.