home *** CD-ROM | disk | FTP | other *** search
/ CD Direkt 1995 #1 / Image.iso / cdd / winanw2 / rw_demos / scripts / kitchen.rwx < prev    next >
Encoding:
Text File  |  1993-11-04  |  1.6 KB  |  75 lines

  1. ModelBegin
  2.  
  3.  
  4.  
  5.  
  6.  
  7.   ProtoBegin CabQuad
  8.  
  9.  
  10.   # x=4 y=1.5 z=1
  11.  
  12.  
  13.     Include cabquad.rwx
  14.  
  15.  
  16.   ProtoEnd
  17.  
  18.  
  19.  
  20.  
  21.  
  22.   ProtoBegin Table
  23.  
  24.  
  25.   # x=2 y=1 z=1
  26.  
  27.  
  28.     Include ctable.rwx
  29.  
  30.  
  31.   ProtoEnd
  32.  
  33.  
  34.  
  35.  
  36.  
  37.   ProtoBegin KitchUnit
  38.  
  39.  
  40.   # x=4 y=1.5 z=3
  41.  
  42.  
  43.     Include kitchuni.rwx
  44.  
  45.  
  46.   ProtoEnd
  47.  
  48.  
  49.  
  50.  
  51.  
  52.   ProtoBegin Room
  53.  
  54.  
  55.   # x=1 y=1 z=1
  56.  
  57.  
  58.     Include room.rwx
  59.  
  60.  
  61.   ProtoEnd
  62.  
  63.  
  64.  
  65.  
  66.  
  67.   ProtoBegin Window
  68.  
  69.  
  70.   # x=1 y=1 z=1
  71.  
  72.  
  73.     Include window.rwx
  74.  
  75.  
  76.   ProtoEnd
  77.  
  78.  
  79.  
  80.  
  81.  
  82.   ProtoBegin TV
  83.  
  84.  
  85.   # x=1 y=1 z=1
  86.  
  87.  
  88.     Include tv.rwx
  89.  
  90.  
  91.   ProtoEnd
  92.  
  93.  
  94.  
  95.  
  96.  
  97.   ClumpBegin
  98.  
  99.  
  100.     TransformBegin
  101.  
  102.  
  103.       Scale 0.2 0.2 0.2
  104.  
  105.  
  106.       AddHint Container
  107.       TransformBegin
  108.  
  109.  
  110.         Scale 10.1 5.1 10.1 # avoid co-planarity
  111.  
  112.  
  113.         ProtoInstance Room
  114.  
  115.  
  116.       TransformEnd
  117.  
  118.  
  119.       ClumpBegin
  120.  
  121.  
  122.         TransformBegin
  123.  
  124.  
  125.           Scale 10 5 10
  126.  
  127.  
  128.           Translate 0 0 2.0
  129.  
  130.  
  131.           ProtoInstance Window
  132.  
  133.  
  134.         TransformEnd
  135.  
  136.  
  137.       ClumpEnd
  138.  
  139.  
  140.       ClumpBegin
  141.  
  142.  
  143.       TransformBegin
  144.  
  145.  
  146.         Translate -3 -1.75 -3 
  147.  
  148.  
  149.         ProtoInstance KitchUnit
  150.  
  151.  
  152.       TransformEnd
  153.  
  154.  
  155.       ClumpEnd
  156.  
  157.  
  158.       ClumpBegin
  159.  
  160.  
  161.         Tag 2            # Means this object is manipulatable.
  162.         TransformBegin
  163.  
  164.  
  165.           Scale 2 2 2
  166.  
  167.  
  168.           Translate 1 -1.25 -1
  169.  
  170.  
  171.           Rotate 0 1 0 -45
  172.  
  173.  
  174.           ProtoInstance Table
  175.  
  176.  
  177.         TransformEnd
  178.  
  179.  
  180.       ClumpEnd
  181.  
  182.  
  183.       ClumpBegin
  184.  
  185.  
  186.         TransformBegin
  187.  
  188.  
  189.           Rotate 0 1 0 -135
  190.  
  191.  
  192.           Scale 2 2 2
  193.  
  194.  
  195.           Translate 0 -0.5 -2.5
  196.  
  197.  
  198.           ProtoInstance TV
  199.  
  200.  
  201.         TransformEnd
  202.  
  203.  
  204.       ClumpEnd
  205.  
  206.  
  207.     TransformEnd
  208.  
  209.  
  210.   ClumpEnd
  211.  
  212.  
  213.  
  214.  
  215.  
  216. ModelEnd
  217.  
  218.  
  219.