home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / MISC3D / EEDEMO / EEROOM.WLD < prev    next >
Text File  |  1993-08-06  |  8KB  |  275 lines

  1. # A sample set of rooms
  2.  
  3. # Created by Bernie Roehl, June 1992
  4. # for use with the REND386 package.
  5.  
  6. # For more information, contact broehl@sunee.uwaterloo.ca
  7.  
  8. # revised by Eric Elliott 8/93
  9. # added bobscript
  10.  
  11. worldscale 1.0          # 1.0 mm per unit
  12.  
  13. hither            10    # anything closer than this gets clipped
  14. yon         20000000    # anything farther than this doesn't get rendered
  15.  
  16. start 0,1600,0 0,0,0 2  # starting location, orientation and zoom
  17. start 7800,1400,1300 -77,0,0 2
  18.  
  19. ambient 76
  20.  
  21. # Surface definitions:
  22.  
  23. surfacedef plaster   0x1fd8
  24. surfacedef brick     0x11ff
  25. surfacedef wood      0x12df
  26. surfacedef painted   0x13f8
  27. surfacedef glass1    0x3e00
  28. surfacedef glass2    0x3a00
  29. surfacedef tin       12
  30. surfacedef carpet    0x4a
  31. surfacedef greypaint 239
  32. surfacedef bright    255
  33. surfacedef grain     0x14e8
  34. surfacedef artwork   4
  35. surfacedef beige     0xfd
  36. surfacedef blue      8    #123
  37. surfacedef red       9    #123
  38. surfacedef orange    10    #123
  39. surfacedef cobble    239
  40. surfacedef marble    0x1Df8
  41. surfacedef steel1    0x28eF
  42. surfacedef steel2    0x25eF
  43. surfacedef teak      0x12ff
  44. surfacedef mirror    0x2a00
  45. surfacedef uglypaint 12
  46.  
  47.  
  48. # Surface mappings:
  49.  
  50. surfacemap single1
  51. surface 1 plaster
  52.  
  53. surfacemap single2
  54. surface 1 brick
  55.  
  56. surfacemap single3
  57. surface 1 wood
  58.  
  59. surfacemap double1
  60. surface 1 painted
  61. surface 2 brick
  62.  
  63. surfacemap double2
  64. surface 1 brick
  65. surface 2 painted
  66.  
  67. surfacemap double3
  68. surface 2 plaster
  69. surface 1 painted
  70.  
  71. surfacemap double4
  72. surface 2 plaster
  73. surface 1 brick
  74.  
  75. surfacemap wind1
  76. surface 1 plaster
  77. surface 2 glass1
  78. surface 3 brick
  79. surface 4 mirror
  80. surface 5 tin
  81.  
  82. surfacemap wind2
  83. surface 1 painted
  84. surface 2 glass1
  85. surface 3 tin
  86. surface 4 glass2
  87. surface 5 wood
  88.  
  89.  
  90. surfacemap floorgrey
  91. surface 1 carpet
  92.  
  93. surfacemap ceilgrey
  94. surface 1 greypaint
  95.  
  96. surfacemap roadcolors
  97. surface 1 cobble
  98.  
  99. surfacemap rugcolors
  100. surface 1 beige
  101. surface 2 blue
  102. surface 3 red
  103. surface 4 orange
  104.  
  105. surfacemap piccolors
  106. surface 1 grain
  107. surface 2 artwork
  108. surface 3 mirror
  109. surface 4 marble
  110. surface 5 steel2
  111.  
  112. surfacemap pic2colors
  113. surface 1 teak
  114. surface 2 mirror
  115.  
  116. surfacemap basecolors
  117. surface 1 marble
  118. surface 2 marble
  119. surface 3 marble
  120. surface 4 marble
  121. surface 5 marble
  122. surface 6 marble
  123.  
  124. surfacemap sculptcolors
  125. surface 1 steel1
  126. surface 2 steel2
  127.  
  128. # Splits and associated surfaces:
  129.  
  130. split 0,0,0 0,1,0        0   # 0  (floor plane)
  131. polyobj 4 carpet 800,0,0      800,0,2800   4000,0,2800  4000,0,0
  132. polyobj 6 carpet 4000,0,2800  4000,0,4800  5600,0,4800  8800,0,4800  8800,0,0    4000,0,0
  133. polyobj 6 carpet 0,0,4800     0,0,10400    2400,0,10400 5600,0,10400 5600,0,4800 4000,0,4800
  134. polyobj 4 carpet 5600,0,10400 8800,0,10400 8800,0,4800  5600,0,4800
  135. polyobj 5 carpet 2400,0,12800 8800,0,12800 8800,0,10400 5600,0,10400 2400,0,10400
  136.  
  137. split 0,2400,0 0,1,0    12   #    (ceiling plane)
  138. polyobj 4 greypaint 4000,2400,0     4000,2400,2800      800,2400,2800   800,2400,0
  139. polyobj 6 greypaint 4000,2400,0     8800,2400,0     8800,2400,4800  5600,2400,4800  4000,2400,4800  4000,2400,2800
  140. polyobj 6 greypaint 4000,2400,4800  5600,2400,4800  5600,2400,10400 2400,2400,10400 0,2400,10400    0,2400,4800
  141. polyobj 4 greypaint 5600,2400,4800  8800,2400,4800  8800,2400,10400 5600,2400,10400
  142. polyobj 5 greypaint 2400,2400,10400 5600,2400,10400 8800,2400,10400 8800,2400,12800 2400,2400,12800
  143.  
  144.  
  145. split 8800,1,0 1,0,0     1   # 1
  146. object bigwin 1,1,1 0,0,0     8800,0,0        0  wind2
  147. object wall1  80,48,4 0,90,0 8800,0,12800    0  single3   fixed  # H
  148.  
  149. split 0,1,0 0,0,1        2   # 2
  150. object wall1  80,48,4  0,180,0 8800,0,0       0  single2   fixed  # I
  151.  
  152. split 0,1,10400 0,0,1    3   # 3
  153. object wall2  56,48,4  0,0,0   0,0,10400      0  double1   fixed  # B
  154.  
  155. split 2401,10,11000 1,0,0 4   # 4
  156. object bigwin 1,1,0.5 0,180,0 2400,0,12800    0  wind2     fixed  # F
  157.  
  158. split 2500,1,12800 0,0,1 5   # 5
  159. object wall1  64,48,4  0,0,0   2400,0,12800   0  single1   fixed  # G
  160.  
  161. split 0,1,4000 1,0,0     6   # 6
  162. object wall1  56,48,4  0,-90,0  0,0,4800       0  single1   fixed  # A
  163.  
  164. split 100,1,4800 0,0,1   7   # 7
  165. object wall2  56,48,4  0,0,0   0,0,4800       0  double2   fixed  # C
  166.  
  167. split 4000,1,2000 1,0,0  8   # 8
  168. object wall2  20,48,4  0,-90,0  4000,0,2800    0  double1   fixed  # L
  169.  
  170. split 800,1,2800 0,0,1   9   # 9
  171. object window1 32,48,4 0,0,0   800,0,2800     0  wind2     fixed  # K
  172.  
  173. split 5600,1,5000 1,0,0 10   # 10
  174. object wall2  8,48,4   0,-90,0  5600,0,4800    0  double4   fixed  # E
  175. object wall2  16,12,4  0,-90,0  5600,1800,5600 0  double4   fixed  # M
  176. object window2 32,48,4 0,90,0 5600,0,10400   0  wind1     fixed  # D
  177.  
  178. split 800,1,0 1,0,0     11   # 11
  179. object wall1  28,48,4  0,-90,0  800,0,0        0  single1   fixed  # J
  180.  
  181. split 3000,1430,11000 0,1,0 13 # shelf 3 split
  182. #split 6000,1430,3000  0,1,0 14 # shelf 1 split
  183. split 6000,1430,6000 0,1,0 13  # shelf 4 split
  184.  
  185.  
  186. split 3000,1430,6000 0,1,0 13  # shelf 2 split
  187. #split 3000,850,9000 0,1,0 13   # desk split
  188.  
  189. endsplits
  190.  
  191.  
  192. # Areas:
  193.  
  194. #area 200,10,5000     Office-lo
  195. #area 200,1100,5000      Office-med
  196. area 200,1500,5000       Office
  197. area 6800,10,8000        Hall-lo
  198. area 6800,1500,8000      Hall-hi
  199. area 1000,10,1000        Gallery
  200. #area 6800,10,2000    Playroom-lo
  201. area 6800,1500,2000  Playroom-hi
  202. area 7000,10,11000   Sunroom-lo
  203. area 7000,1500,11000 Sunroom-hi
  204. area 1000,10,3000    Backyard
  205. area 0,10,11000      Forest
  206. area 9000,10,8000    Outside1
  207. area 4000,10,-1000   Outside2
  208. area 7000,10,15000   Outside3
  209. area -100,10,100     Outside4
  210. area 0,-100,0        Underground
  211. area 0,2500,0        Sky
  212.  
  213. # A road outside:
  214.  
  215. object floor   40,1,20  0,0,0   8800,0,6000     0  roadcolors fixed
  216. object floor   40,1,20  0,-45,0  12800,0,6000    0  roadcolors fixed
  217. object floor   40,1,20  0,-90,0  15628,0,8828    0  roadcolors fixed
  218. object floor   400,1,20 0,0,0   13628,0,12828   0  roadcolors fixed
  219.  
  220. # Now for some furnishings:
  221.  
  222. object rug     10,1,10  0,-90,0  7500,1,7500     0  rugcolors
  223. object art     20,20,1  0,180,0 6500,1200,5     0  piccolors
  224. object picture 20,20,1  0,180,0 4000,1200,4805  0  pic2colors
  225. object vwlogo  6,6,6    0,180,0   4500,1800,10406   0  pic2colors
  226.  
  227.  
  228. #object shelf 1,2,3 0,0,0 4550,1400,4800   256  . fixed
  229. object shelf 4,2,2 0,-90,0 0,1400,5800     256  . fixed
  230. object shelf 3,2,2 0,0,0 3500,1400,12800  256  . fixed
  231. object shelf 4,2,2 0,90,0 8800,1400,8000 256  . fixed
  232.  
  233. # The following were all created using IRIT:
  234.  
  235. # A small forest:
  236. object tree2     12,12,12        0,0,0     800,1,12000   0
  237. object tree2     8,8,8           0,0,0    -800,1,14000   0
  238. object tree2     14,16,14        0,0,0   -1200,1,19000   0
  239.  
  240. # A big fir tree:
  241. object fir2 1,1,1  0,0,0  12000,0,3800 256 . fixed
  242.  
  243. # A toy:
  244. object c6=ccone6  .05,.05,.05  0,0,0   6500,50,1400   0
  245. object cone1=ccone6 .05,.05,.05  0,0,0  5500,50,1300   0
  246.  
  247. # Some furniture:
  248. object sofa       1,1,1           0,45,0  6500,1,12000   0  sofacolors
  249. object sculpbase=block 6,10,6     0,0,0    4400,1,3800    0  basecolors
  250. object mh=methead  4,4,4        0,180,0   300,1100,300    0 . sculpbase
  251. object desk3 1.5,1.3,1 0,0,0 3400,0,9680  256 . fixed
  252. object lamp .1,.1,.1 0,0,0 700,0,9500 256
  253.  
  254. #stuff on shelves, etc
  255.  
  256. object cone6    .02,.02,.02  0,0,0   4250,1440,12500   0
  257. object metlcube 2,5,3        0,-30,0  8500,1440,7000    0
  258. object wedge    3,2,3        0,-30,0   700,1440,6000    256
  259. object ball6    6,6,6        0,0,0   4200,1000,10000   0
  260.  
  261. #el roboto:
  262.  
  263. figure robo=metalman 1.3,1.5,1.3 0,-90,0 1400,800,1200
  264.  
  265. bobscript test1
  266.  
  267. # Tasks:
  268.  
  269. #task spinner 50 c6;1,2,4,6,7,8,9,10
  270. #task sculspin 25 sculpture;0,8,0
  271. #task sculspin 25 mh;0,8,0
  272. #task sculspin 25 c6;0,-15,0
  273.  
  274. # End of sample file
  275.