home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / rayshade.lzh / EXAMPLES / test.ray < prev    next >
Text File  |  1990-09-21  |  2KB  |  58 lines

  1. fov 45
  2. screen 532 400
  3. maxdepth 3
  4. background 0 0 0
  5. /*light 1.4 point 0.0 40.0 66.0 */
  6. light 1.4 point -100 0 100
  7. eyep -14. 30. 26.
  8. lookp 0 0 6
  9. samples 3
  10.  
  11.  
  12. surface blacktile 0.01 0.015 0.01 0.02 0.03 0.02 0.3 0.35 0.3 30 0.33 0 0
  13. surface white .02 .02 .008 .5 .5 .25 0.8 0.8 0.8 18 0.2 0 0
  14. plane white 0. 0. 1. 0. 0. 0.
  15.                texture marble scale 3. 3. 3.
  16.                texture checker blacktile translate 0. 0. 0.01 scale 4. 4. 4.
  17.  
  18.  
  19. surface bridgesurf 0.08 0.08 0.08 0.1 0.1 0.1 0.12 0.12 0.12 1 0 0 0
  20. #include "bridge.ri"
  21.  
  22. /* bruecke */
  23. object bridge scale 8 4 12  /* texture bump 0.02 */
  24. /* tor */
  25. object bridge scale 4 1 8 rotate 0 0 1 90 translate 4.5 0 6
  26.        /* texture bump 0.02 */
  27. /* unter tor */
  28. box bridgesurf 0 0 0 0.5 2 3 translate 4.5 0 3 /* texture bump 0.02 */
  29. /* brueckenende */
  30. box bridgesurf 0 0 0 7 2 3 translate -11 0 3 /* texture bump 0.02 */
  31. /* 2 tuerme */
  32. box bridgesurf 0 0 0 4 4 8 translate 7.5 6 8 /* texture bump 0.02 */
  33. box bridgesurf 0 0 0 4 4 8 translate 7.5 -6 8 /* texture bump 0.02 */
  34. /* brueckengelaender */
  35. box bridgesurf 0 0 0 4 0.1 0.25 translate 0 1.9 6.25 /* texture bump 0.02 */
  36. box bridgesurf 0 0 0 4 0.1 0.25 translate 0 -1.9 6.25 /* texture bump 0.02 */
  37. /* rampe */
  38. poly bridgesurf -18 -2 6 -18 2 6 -30 2 0 -30 -2 0 /* texture bump 0.02 */
  39. poly bridgesurf -18 -2 6 -30 -2 0 -18 -2 0 /* texture bump 0.02 */
  40. poly bridgesurf -18 2 6 -18 2 0 -30 2 0 /* texture bump 0.02 */
  41.  
  42. #include "room1.ri"
  43. #define stairsurf bridgesurf
  44. #define plfsurf bridgesurf
  45. #include "plf_st.ri"
  46. #define crownsurf bridgesurf
  47. #include "crown.ri"
  48.  
  49. object room1 translate 7.5 -6 16 /* texture bump 0.02 */
  50. object platform translate 7.5 -6 16 /* texture bump 0.02 */
  51. object crown translate 7.5 -6 17.1 /* texture bump 0.02 */
  52.  
  53. object room1 translate 7.5 6 16 /* texture bump 0.02 */
  54. object platform translate 7.5 6 16 /* texture bump 0.02 */
  55. object crown translate 7.5 6 17.1 /* texture bump 0.02 */
  56.  
  57.  light 1 point 7.5 6 16.5
  58.