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

  1. /*
  2.  * Example rayshade input file
  3.  *
  4.  * pool table from "Reds' Nightmare"
  5.  *
  6.  * Warning:  this will take a while to render, as it uses 9 rays/pixel
  7.  * and makes heavy use of texturing routines.
  8.  *
  9.  * To speed rendering, use -P or -S options.
  10.  *
  11.  * C. Kolb 2/88
  12.  *
  13.  * $Id: pool.ray,v 3.0.1.1 90/03/08 18:24:39 craig Exp $
  14.  *
  15.  * $Log:    pool.ray,v $
  16.  * Revision 3.0.1.1  90/03/08  18:24:39  craig
  17.  * patch4: Modified transformation of wood & marble textures.
  18.  * 
  19.  */
  20. up 0.0 0.0 1.
  21. fov 45
  22. screen 512 512
  23. maxdepth 2
  24. background 0 0 0
  25. light 1.4 point 20.0 0.0 66.0
  26. surface blacktile 0.01 0.01 0.01  0.01 0.01 0.01 0. 0. 0. 0. 0. 0 0
  27. surface s0  0.862745 0.862745 0.862745  0.039216 0.039216 0.039216  0. 0. 0.
  28.         7. 0. 0. 1.
  29. surface s1  0.470588 0.156863 0.392157  0.470588 0.156863 0.392157  0. 0. 0.
  30.         25. 1. 0. 1.
  31. surface s2  0.117647 0.117647 0.392157  0.117647 0.117647 0.392157  0. 0. 0.
  32.         25. 0. 0. 1.
  33. surface s3  0.784314 0.078431 0.078431  0.470588 0.039216 0.039216  0. 0. 0.
  34.         25. 0. 0. 1.
  35. surface s4 0 .2235 .145 0 .2235 .145 0 0 0 0.0 0. 0. 1.
  36. surface mirror 0.04 0.04 0.04 0.05 0.05 0.05  1. 1. 1.  60. 0.95 0. 1.
  37. surface s5  0.196078 0.392157 0.117647  0.196078 0.392157 0.117647
  38.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  39. surface s6  0.588235 0.392157 0.117647  0.196078 0.392157 0.117647
  40.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  41. surface s7  0.196078 0.392157 0.509804  0.196078 0.392157 0.117647
  42.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  43. surface s8  0.980392 0.196078 0.117647  0.196078 0.392157 0.117647
  44.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  45. surface s9  0.196078 0.392157 0.901961  0.196078 0. 0.117647
  46.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  47. surface s10  0.411765 0.411765 0.176471  0.411765 0.411765 0.176471  0. 0. 0.
  48.         0. 0. 0. 1.
  49. surface floor .1 .1 .1 .5 .5 .45 0.8 0.8 0.8 18 0.0 0 0
  50. /*surface floor 0.5 0.5 0.5  0.8 0.78 0.78
  51.         0.8 0.76 0.76  10. 0.0 0. 1. */
  52. surface s12  0.313725 0.313725 0.313725  0.745098 0.745098 0.745098
  53.         0. 0. 0.  0. 0. 0. 1.
  54. surface s13  0.078431 0.862745 0.078431  0.039216 0.039216 0.039216
  55.         0.156863 0.156863 0.156863  7. 0. 0. 1.
  56. surface s14  0.784314 0.078431 0.078431  0.470588 0.039216 0.039216
  57.         0. 0. 0.  25. 0. 0. 1.
  58. surface s15  0.392157 0.098039 0.047059  0.392157 0.098039 0.047059
  59.         0.039216 0.039216 0.039216  3. 0. 0. 1.
  60. surface s16  0.509804 0.509804 0.509804  0.509804 0.509804 0.509804
  61.         0.156863 0.156863 0.156863  7. 0.1 0. 1.
  62.  
  63.     sphere s5 1.5  0.0    -21.        1.5
  64.     sphere s6 1.5  1.5    -23.598026    1.5
  65.     sphere s7 1.5 -1.5    -23.598026    1.5
  66.     sphere s8 1.5  3.0    -26.196152    1.5
  67.     sphere s9 1.5  0.0    -26.196152    1.5
  68.     sphere s5 1.5 -3.0    -26.196152    1.5
  69.     sphere s6 1.5  4.5    -28.794229    1.5
  70.     sphere s7 1.5  1.5    -28.794229    1.5
  71.     sphere s8 1.5 -1.5    -28.794229    1.5
  72.     sphere s9 1.5 -4.5    -28.794229    1.5
  73.     sphere s5 1.5  6.0    -31.392305    1.5
  74.     sphere s6 1.5  3.0    -31.392305    1.5
  75.     sphere s7 1.5  0.0    -31.392305    1.5
  76.     sphere s8 1.5 -3.0    -31.392305    1.5
  77.     sphere s9 1.5 -6.0    -31.392305    1.5
  78.  
  79.     box s4 0. 0. -1. 30. 57. 1.
  80.     box s15 30. 0. 0. 3. 54. 1.5 texture wood scale 15. 10. 15.
  81.     box s15 -30. 0. 0. 3. 54. 1.5 texture wood scale 15. 10. 15.
  82.     box s15 0. 57. 0. 33. 3. 1.5 texture wood scale 10. 15. 15.
  83.     box s15 0. -57. 0. 33. 3. 1.5 texture wood scale 10. 15. 15.
  84.     sphere s16 1.5 0. 0. 0. translate 0. 21. 1.5
  85.     box mirror 10. -144. 30. 21.3333 .1 20.    /* was 40. -144 30. */
  86.     /*
  87.      * Walls
  88.      */
  89.     plane s10    0.     1.    0.     0.    -144.    0.
  90.     plane s10    1.     0.    0.   -180.       0.    0.
  91.     plane s10   -1.     0.    0.    180.       0.   0.
  92.     plane s10    0.   -1.     0.    0.     144.    0.
  93.     /*
  94.      * Floor
  95.      */
  96.     plane floor   0.     0.    1.    0.       0. -30.
  97.         texture marble scale 6. 6. 6. rotate 1 0 0 90
  98.                 translate 0. 0. -4.376 
  99.         texture checker blacktile scale 12.3 12.3 12.3
  100.     /*
  101.      * Ceiling
  102.      */
  103.     plane s12    0.   0.    -1.      0.       0.  72.
  104.  
  105. eyep 38. 100. 43.
  106. lookp 0. 0. 0.
  107. grid 20 20 10
  108. jittered
  109. samples 3
  110.