home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / radiance / obj / tutor / room.rad < prev    next >
Encoding:
Text File  |  1991-11-12  |  2.5 KB  |  146 lines

  1. #
  2. #  My first scene.
  3. #
  4.  
  5. # solid crystal:
  6.  
  7. void dielectric crystal
  8. 0
  9. 0
  10. 5  .5  .5  .5  1.5  0
  11.  
  12. # dark brown:
  13.  
  14. void plastic brown
  15. 0
  16. 0
  17. 5  .2  .1  .1  0  0
  18.  
  19. # light gray:
  20.  
  21. void plastic white
  22. 0
  23. 0
  24. 5  .7  .7  .7  0  0
  25. # this is the material for my light source:
  26.  
  27. void light bright
  28. 0
  29. 0
  30. 3  100  100  100
  31.  
  32. # this is the material for my test ball:
  33.  
  34. void plastic red_plastic
  35. 0
  36. 0
  37. 5  .7  .05  .05  .05  .05
  38.  
  39. # here is the light source:
  40.  
  41. bright sphere fixture
  42. 0
  43. 0
  44. 4  2  1  1.5  .125
  45.  
  46. # here is the ball:
  47.  
  48. red_plastic sphere ball
  49. 0
  50. 0
  51. 4  .7  1.125  .625  .125
  52. # the wall material:
  53.  
  54. void plastic gray_paint
  55. 0
  56. 0
  57. 5  .5  .5  .5  0  0
  58.  
  59. # a box shaped room:
  60.  
  61. # genbox gray_paint room 3 2 1.75 -i
  62.  
  63. gray_paint polygon room.1540
  64. 0
  65. 0
  66. 12
  67.                      0                     0                     0
  68.                      0                     0                  1.75
  69.                      3                     0                  1.75
  70.                      3                     0                     0
  71.  
  72. gray_paint polygon room.4620
  73. 0
  74. 0
  75. 12
  76.                      0                     0                     0
  77.                      0                     2                     0
  78.                      0                     2                  1.75
  79.                      0                     0                  1.75
  80.  
  81. brown polygon room.2310
  82. 0
  83. 0
  84. 12
  85.                      0                     0                     0
  86.                      3                     0                     0
  87.                      3                     2                     0
  88.                      0                     2                     0
  89.  
  90. gray_paint polygon room.3267
  91. 0
  92. 0
  93. 12
  94.                      3                     2                  1.75
  95.                      0                     2                  1.75
  96.                      0                     2                     0
  97.                      3                     2                     0
  98.  
  99.  
  100. gray_paint polygon room.5137
  101. 0
  102. 0
  103. 30
  104.     3    2    1.75
  105.     3    2    0
  106.     3    0    0
  107.     3    0    1.75
  108.     3    .625    1.75
  109.     3    .625    .625
  110.     3    1.375    .625
  111.     3    1.375    1.375
  112.     3    .625    1.375
  113.     3    .625    1.75
  114.  
  115. white polygon room.6457
  116. 0
  117. 0
  118. 12
  119.                      3                     2                  1.75
  120.                      3                     0                  1.75
  121.                      0                     0                  1.75
  122.                      0                     2                  1.75
  123. # a shiny blue box:
  124.  
  125. void plastic blue_plastic
  126. 0
  127. 0
  128. 5 .1 .1 .6 .05 .1
  129.  
  130. !genbox blue_plastic box  .5  .5  .5  | xform -rz  15  -t  .5  .75  0
  131.  
  132. # a chrome rod to suspend the light from the ceiling:
  133.  
  134. void metal chrome
  135. 0
  136. 0
  137. 5  .8  .8  .8  .9  0
  138.  
  139. chrome cylinder fixture_support
  140. 0
  141. 0
  142. 7
  143.     2    1    1.5
  144.     2    1    1.75
  145.     .05
  146.