home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / kitchen.rw_ / kitchen.bin
Text File  |  1995-11-14  |  2KB  |  75 lines

  1. ModelBegin
  2.  
  3.   ProtoBegin CabQuad
  4.   # x=4 y=1.5 z=1
  5.     Include cabquad.rwx
  6.   ProtoEnd
  7.  
  8.   ProtoBegin Table
  9.   # x=2 y=1 z=1
  10.     Include ctable.rwx
  11.   ProtoEnd
  12.  
  13.   ProtoBegin KitchUnit
  14.   # x=4 y=1.5 z=3
  15.     Include kitchuni.rwx
  16.   ProtoEnd
  17.  
  18.   ProtoBegin Room
  19.   # x=1 y=1 z=1
  20.     Include room.rwx
  21.   ProtoEnd
  22.  
  23.   ProtoBegin Window
  24.   # x=1 y=1 z=1
  25.     Include window.rwx
  26.   ProtoEnd
  27.  
  28.   ProtoBegin TV
  29.   # x=1 y=1 z=1
  30.     Include tv.rwx
  31.   ProtoEnd
  32.  
  33.   ClumpBegin
  34.     TransformBegin
  35.       Scale 0.2 0.2 0.2
  36.       AddHint Container
  37.       TransformBegin
  38.         Scale 10.1 5.1 10.1 # avoid co-planarity
  39.         ProtoInstance Room
  40.       TransformEnd
  41.       ClumpBegin
  42.         TransformBegin
  43.           Scale 10 5 10
  44.           Translate 0 0 2.0
  45.           ProtoInstance Window
  46.         TransformEnd
  47.       ClumpEnd
  48.       ClumpBegin
  49.       TransformBegin
  50.         Translate -3 -1.75 -3 
  51.         ProtoInstance KitchUnit
  52.       TransformEnd
  53.       ClumpEnd
  54.       ClumpBegin
  55.         Tag 2            # Means this object is manipulatable.
  56.         TransformBegin
  57.           Scale 2 2 2
  58.           Translate 1 -1.25 -1
  59.           Rotate 0 1 0 -45
  60.           ProtoInstance Table
  61.         TransformEnd
  62.       ClumpEnd
  63.       ClumpBegin
  64.         TransformBegin
  65.           Rotate 0 1 0 -135
  66.           Scale 2 2 2
  67.           Translate 0 -0.5 -2.5
  68.           ProtoInstance TV
  69.         TransformEnd
  70.       ClumpEnd
  71.     TransformEnd
  72.   ClumpEnd
  73.  
  74. ModelEnd
  75.