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

  1. ModelBegin
  2.  
  3.     ProtoBegin Facet
  4.         Vertex 0 0 0 UV 0 1
  5.         Vertex 1 0 0 UV 1 1
  6.         Vertex 1 1 0 UV 1 0
  7.         Vertex 0 1 0 UV 0 0
  8.         Quad 1 2 3 4
  9.     ProtoEnd
  10.  
  11.     ProtoBegin FillFloor
  12.         TransformBegin
  13.         Rotate 0 1 0 -90
  14.         Surface 0.0 0.0 0.0
  15.         Color 0 0 0
  16.         Texturemode NULL
  17.         Texture NULL
  18.         Scale 1 1 1
  19.  
  20.         Vertex -0.5 0 -3
  21.         Vertex 0 0 -3
  22.         Vertex 0 0 3
  23.         Vertex -0.5 0 3
  24.         Quad 4 3 2 1
  25.         TransformEnd
  26.     ProtoEnd
  27.  
  28.  
  29.     ProtoBegin FixWall
  30.         TransformBegin
  31. #        Rotate 0 1 0 -90
  32.         Surface 0.3 0.7 0.0
  33.         Color 1 1 1
  34.         Texturemode NULL
  35.         Texture wall770
  36.         Scale 1 1 1
  37. #        Translate -0.5 0 -3
  38.  
  39.         Vertex 0 0 0 UV 0 1
  40.         Vertex 0.5 0 0 UV 0.5 1
  41.         Vertex 0.5 1 0 UV 0.5 0
  42.         Vertex 0 1 0 UV 0 0
  43.         Quad 1 2 3 4
  44.  
  45.         TransformEnd
  46.  
  47.         TransformBegin
  48. #        Rotate 0 1 0 -90
  49.         Surface 0.3 0.7 0.0
  50.         Color 1 1 1
  51.         Texturemode NULL
  52.         Texture wall761
  53. #        Translate -0.5 1 -3
  54.         Translate 0 1 0
  55.         Scale 2 2 2
  56.  
  57.         Vertex 0 0 0 UV 0.5 1
  58.         Vertex 0.25 0 0 UV 0.75 1
  59.         Vertex 0.25 1 0 UV 0.75 0
  60.         Vertex 0 1 0 UV 0.5 0
  61.         Quad 5 6 7 8
  62.  
  63.         TransformEnd
  64.     ProtoEnd
  65.  
  66.     ProtoBegin Door
  67. # left door
  68.         Vertex 0   0   0.10 UV 0.086 1
  69.         Vertex 0.5 0.0 0.10 UV 0.453 1
  70.         Vertex 0   1.0 0.10 UV 0.086 0.352
  71.  
  72.         Vertex 0.5 0.0 0.05
  73.         Vertex 0   1.0 0.05
  74.         Vertex 0   0   0.05
  75.  
  76.         Vertex 0.5 1.0 0.05
  77.         Vertex 0   0   0.00
  78.         Vertex 0.5 1.0 0.00
  79.  
  80. #right door
  81.         Vertex 0.5 0   0.10 UV 0.453 1     # 10
  82.         Vertex 0.5 1.0 0.10 UV 0.453 0.352
  83.         Vertex 0   1.0 0.10 UV 0.086 0.352
  84.  
  85.         Vertex 0.5 0.0 0.05
  86.         Vertex 0.5 1.0 0.05
  87.         Vertex 0   1.0 0.05
  88.  
  89.         Vertex 0   0   0.05
  90.         Vertex 0.5 1.0 0.00
  91.         Vertex 0   0   0.00
  92.  
  93. # first the blast door
  94.         Surface 0.5 0.5 0.7
  95.         Color 0.5 1 0.5
  96.         Triangle 6 8 9       # left inner edge
  97.         Triangle 6 9 7
  98.         Triangle 18 16 14    # right inner edge
  99.         Triangle 18 14 17
  100.         Triangle 6 7 5       # left blast door
  101.         Triangle 16 13 14    # right blast door
  102.  
  103.         Triangle 2 4 5       # left outer edge
  104.         Triangle 2 5 3
  105.         Triangle 13 10 12    # right outer edge
  106.         Triangle 13 12 15
  107.  
  108. # then the outer door
  109.         Surface 0.2 0.7 0.0
  110.         Color 1 0 0
  111.         Texturemode foreshorten
  112.         Texture wall130
  113.         Triangle 1 2 3
  114.         Triangle 10 11 12
  115.  
  116. # reverse door
  117. #        Color 0 1 0
  118. #        Quad 5 14 13 6
  119.     ProtoEnd
  120.  
  121.     ProtoBegin EndWall
  122.         Surface 0.3 0.7 0.0
  123.         Color 1 1 1
  124.         Texturemode foreshorten
  125.         Texture NULL
  126.         TransformBegin
  127.             ProtoInstanceGeometry Facet
  128.             Translate 1 0 0
  129.  
  130.             ProtoInstanceGeometry Facet
  131.             Translate 1 0 0
  132.  
  133.             ProtoInstanceGeometry Facet
  134.             Translate 1 0 0
  135.  
  136.             ProtoInstanceGeometry Facet
  137.         TransformEnd
  138.         Translate 0 1 0
  139.         TransformBegin
  140.             Texture wall201
  141.             ProtoInstanceGeometry Facet
  142.             Translate 1 0 0
  143.  
  144.             Texture wall211
  145.             ProtoInstanceGeometry Facet
  146.             Translate 1 0 0
  147.  
  148.             Texture wall221
  149.             ProtoInstanceGeometry Facet
  150.             Translate 1 0 0
  151.  
  152.             Texture wall231
  153.             ProtoInstanceGeometry Facet
  154.         TransformEnd
  155.         Translate 0 1 0
  156. # lower resolution upper storeys
  157.         TransformBegin
  158.             Scale 2 2 2
  159.             Texture wall202 Mask wall202m
  160.             ProtoInstanceGeometry Facet
  161.             Translate 1 0 0
  162.  
  163.             Texture wall222 Mask wall222m
  164.             ProtoInstanceGeometry Facet
  165.         TransformEnd
  166.     ProtoEnd
  167.  
  168.     ProtoBegin Fence
  169.         Surface 0.3 0.7 0.0
  170.         Color 1 1 1
  171.         Texturemode foreshorten
  172.         Texture fence
  173.         Scale 1 1.1 1
  174.         ProtoInstanceGeometry Facet
  175.         Translate 1 0 0
  176.         ProtoInstanceGeometry Facet
  177.     ProtoEnd
  178.  
  179.     ProtoBegin Fence2
  180.         Surface 0.3 0.7 0.0
  181.         Color 1 1 1
  182.         Texturemode foreshorten
  183.         Texture fence2 Mask fence2m
  184.         Scale 1 1.1 1
  185.         ProtoInstanceGeometry Facet
  186.         Translate 1 0 0
  187.         ProtoInstanceGeometry Facet
  188.     ProtoEnd
  189.  
  190.     ProtoBegin Billboard
  191.     Surface 0.3 0.7 0.0
  192.     Color 1 1 1
  193.     Texturemode foreshorten
  194.     Texture bbleft
  195.     ProtoInstanceGeometry Facet
  196.     TransformBegin    
  197.           Translate 0.2 -1 0
  198.         scale 0.1 1 1
  199.         ProtoInstanceGeometry Facet
  200.     TransformEnd
  201.     Translate 1 0 0
  202.     Texture bbrite
  203.     ProtoInstanceGeometry Facet
  204.     TransformBegin    
  205.           Translate 0.7 -1 0
  206.         scale 0.1 1 1
  207.         ProtoInstanceGeometry Facet
  208.     TransformEnd
  209.     ProtoEnd
  210.  
  211.     ProtoBegin LeftWall1
  212.         Surface 0.05 0.6 0.0
  213.         Color 1 1 1
  214.         Texturemode foreshorten
  215.         Translate 0 0.1 0
  216.         TransformBegin
  217.             Texture wall100
  218.             ProtoInstanceGeometry Facet
  219.             Translate 1 0 0
  220.  
  221.             Texture wall110
  222.             ProtoInstanceGeometry Facet
  223.             Translate 1 0 0
  224.  
  225.             Texture wall120
  226.             ProtoInstanceGeometry Facet
  227.             Translate 1 0 0
  228.  
  229.    # we need a door opening here
  230.             Texture wall130
  231.  
  232.             Vertex 0 0 0 UV 0 1
  233.             Vertex 1 0 0 UV 1 1
  234.             Vertex 1 1 0 UV 1 0
  235.             Vertex 0 1 0 UV 0 0
  236.  
  237.             Vertex 0.086 0     0 UV 0.086 1
  238.             Vertex 0.086 0.648 0 UV 0.086 0.352
  239.             Vertex 0.453 0.648 0 UV 0.453 0.352
  240.             Vertex 0.453 0     0 UV 0.453 1
  241.  
  242.             Quad 1 5 6 4
  243.             Quad 6 7 3 4
  244.             Quad 7 8 2 3
  245.  
  246.         TransformEnd
  247.         Translate 0 1 0
  248. # lower resolution upper storeys
  249.         TransformBegin
  250.             Scale 2 2 2
  251.             Texture wall101
  252.             ProtoInstanceGeometry Facet
  253.             Translate 1 0 0
  254.  
  255.             Texture wall121
  256.             ProtoInstanceGeometry Facet
  257.         TransformEnd
  258.     ProtoEnd
  259.  
  260.     ProtoBegin LeftWall2
  261.         Surface 0.05 0.6 0.0
  262.         Color 1 1 1
  263.         Texturemode foreshorten
  264.  
  265.         Translate 0 0.1 0
  266.         TransformBegin
  267.             Texture wall140
  268.             ProtoInstanceGeometry Facet
  269.             Translate 1 0 0
  270.  
  271.             Texture wall150
  272.             ProtoInstanceGeometry Facet
  273.             Translate 1 0 0
  274.  
  275.             Texture wall160
  276.             ProtoInstanceGeometry Facet
  277.             Translate 1 0 0
  278.  
  279.             Texture wall170
  280.             ProtoInstanceGeometry Facet
  281.         TransformEnd
  282.         Translate 0 1 0
  283. # lower resolution upper storeys
  284.         TransformBegin
  285.             Scale 2 2 2
  286.             Texture wall141
  287.             ProtoInstanceGeometry Facet
  288.             Translate 1 0 0
  289.  
  290.             Texture wall161
  291.             ProtoInstanceGeometry Facet
  292.         TransformEnd
  293.     ProtoEnd
  294.  
  295.     ProtoBegin LeftWall3
  296.         Surface 0.05 0.6 0.0
  297.         Color 1 1 1
  298.         Texturemode foreshorten
  299.  
  300.         Translate 0 0.1 0
  301.         TransformBegin
  302.             Texture wall180
  303.             ProtoInstanceGeometry Facet
  304.             Translate 1 0 0
  305.  
  306.             Texture wall190
  307.             ProtoInstanceGeometry Facet
  308.             Translate 1 0 0
  309.  
  310.             Texture wall1a0
  311.             ProtoInstanceGeometry Facet
  312.             Translate 1 0 0
  313.  
  314.             Texture wall1b0
  315.             ProtoInstanceGeometry Facet
  316.         TransformEnd
  317.         Translate 0 1 0
  318. # lower resolution upper storeys
  319.         TransformBegin
  320.             Scale 2 2 2
  321.             Texture wall181
  322.             ProtoInstanceGeometry Facet
  323.             Translate 1 0 0
  324.  
  325.             Texture wall1a1
  326.             ProtoInstanceGeometry Facet
  327.         TransformEnd
  328.     ProtoEnd
  329.  
  330.     ProtoBegin RiteWall1
  331.         Surface 0.05 0.6 0.0
  332.         Color 1 1 1
  333.         Texturemode foreshorten
  334.  
  335.         Translate 0 0.1 0
  336.         TransformBegin
  337.             Texture wall700
  338.             ProtoInstanceGeometry Facet
  339.             Translate 1 0 0
  340.  
  341.             Texture wall710
  342.             ProtoInstanceGeometry Facet
  343.             Translate 1 0 0
  344.  
  345.             Texture wall720
  346.             ProtoInstanceGeometry Facet
  347.             Translate 1 0 0
  348.  
  349.             Texture wall730
  350.             ProtoInstanceGeometry Facet
  351.         TransformEnd
  352.         Translate 0 1 0
  353. # lower resolution upper storeys
  354.         TransformBegin
  355.             Scale 2 2 2
  356.             Texture wall701
  357.             ProtoInstanceGeometry Facet
  358.             Translate 1 0 0
  359.  
  360.             Texture wall721
  361.             ProtoInstanceGeometry Facet
  362.         TransformEnd
  363.     ProtoEnd
  364.  
  365.     ProtoBegin RiteWall2
  366.         Surface 0.05 0.6 0.0
  367.         Color 1 1 1
  368.         Texturemode foreshorten
  369.  
  370.         Translate 0 0.1 0
  371.         TransformBegin
  372.             Texture wall740
  373.             ProtoInstanceGeometry Facet
  374.             Translate 1 0 0
  375.  
  376.             Texture wall750
  377.             ProtoInstanceGeometry Facet
  378.             Translate 1 0 0
  379.  
  380.             Texture wall760
  381.             ProtoInstanceGeometry Facet
  382.             Translate 1 0 0
  383.  
  384.             Texture wall770
  385.             ProtoInstanceGeometry Facet
  386.         TransformEnd
  387.         Translate 0 1 0
  388. # lower resolution upper storeys
  389.         TransformBegin
  390.             Scale 2 2 2
  391.             Texture wall741
  392.             ProtoInstanceGeometry Facet
  393.             Translate 1 0 0
  394.  
  395.             Texture wall761
  396.             ProtoInstanceGeometry Facet
  397.         TransformEnd
  398.     ProtoEnd
  399.  
  400.     ProtoBegin RiteWall3
  401.         Surface 0.05 0.6 0.0
  402.         Color 1 1 1
  403.         Texturemode foreshorten
  404.  
  405.         Translate 0 0.1 0
  406.         TransformBegin
  407.             Texture wall780
  408.             ProtoInstanceGeometry Facet
  409.             Translate 1 0 0
  410.  
  411.             Texture wall790
  412.             ProtoInstanceGeometry Facet
  413.             Translate 1 0 0
  414.  
  415.             Texture wall7a0
  416.             ProtoInstanceGeometry Facet
  417.             Translate 1 0 0
  418.  
  419.             Texture wall7b0
  420.             ProtoInstanceGeometry Facet
  421.         TransformEnd
  422.         Translate 0 1 0
  423. # lower resolution upper storeys
  424.         TransformBegin
  425.             Scale 2 2 2
  426.             Texture wall781
  427.             ProtoInstanceGeometry Facet
  428.             Translate 1 0 0
  429.  
  430.             Texture wall7a1
  431.             ProtoInstanceGeometry Facet
  432.         TransformEnd
  433.     ProtoEnd
  434.  
  435.     ProtoBegin RoadSlice
  436.         Surface 0.05 0.6 0.0
  437.         Color 1 1 1
  438.         Texturemode foreshorten
  439.         Texture road
  440.         Scale 2 2 2
  441.  
  442.         Vertex -1.0 0.05 0 UV 0 0
  443.         Vertex -0.6 0.05 0 UV 0.2 0
  444.         Vertex -0.6 0.01 0 UV 0.2 0
  445.         Vertex  0.6 0.01 0 UV 0.8 0
  446.         Vertex  0.6 0.05 0 UV 0.8 0
  447.         Vertex  1.0 0.05 0 UV 1 0
  448.  
  449.         Vertex -1.0 0.05 2 UV 0 1
  450.         Vertex -0.6 0.05 2 UV 0.2 1
  451.         Vertex -0.6 0.01 2 UV 0.2 1
  452.         Vertex  0.6 0.01 2 UV 0.8 1
  453.         Vertex  0.6 0.05 2 UV 0.8 1
  454.         Vertex  1.0 0.05 2 UV 1 1
  455.  
  456.         Quad 1 7 8 2
  457.         Quad 3 9 10 4
  458.         Quad 5 11 12 6
  459.  
  460. # inside curb is untextured
  461.         Texture NULL
  462.         Surface 0.2 0.6 0.0
  463.         Color 1 1 1
  464.         Quad 4 10 11 5
  465.         Quad 2 8 9 3
  466.     ProtoEnd
  467.  
  468.     ClumpBegin
  469.         Hints CONTAINER
  470.         TransformBegin
  471.  
  472.  
  473. # sliding door
  474.             TransformBegin
  475.                 Rotate 0 1 0 -90
  476.                 Translate 3.0859 0.1 -2.05
  477.                 Scale 0.734 0.648 0.5
  478.                 ProtoInstance Door
  479.             TransformEnd
  480.  
  481. #            TransformBegin
  482. #                Hints NULL
  483. #                ProtoInstance FillFloor
  484. #            TransformEnd
  485.  
  486. #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  487.  
  488.             TransformBegin
  489.                 Rotate 0 1 0 -90
  490.                 Translate -0.5 0 -3
  491.                 ProtoInstance FixWall
  492.             TransformEnd
  493.  
  494.             TransformBegin
  495.                 Rotate 0 1 0 90
  496.                 Translate 0 0 -3
  497.                 ProtoInstance FixWall
  498.             TransformEnd
  499.  
  500.  
  501. #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  502.  
  503.             TransformBegin
  504.                 Scale 1.5 1 1
  505.                 Translate -2 0 -0.5
  506.                 ProtoInstance EndWall
  507.             TransformEnd
  508.  
  509.             TransformBegin
  510.                 Scale 2 1 1
  511.                 Translate -1 0 0
  512.             ProtoInstance Fence
  513.             TransformEnd
  514.  
  515.         TransformBegin
  516.         Scale 1 1 1
  517.         Rotate 0 1 0 180
  518.         Translate -1 1.5 -12.2
  519.         ProtoInstance Billboard
  520.         TransformEnd
  521.  
  522.  
  523.         TransformBegin
  524.         Scale 2 1 1
  525.         Rotate 0 1 0 180
  526.         Translate -1 0 -12
  527.         ProtoInstance Fence2
  528.         TransformEnd
  529.  
  530. # wall has a whole for door to show thru
  531.             TransformBegin
  532.                 Rotate 0 1 0 -90
  533.                 Translate 0 0 -2
  534.                 ProtoInstance LeftWall1
  535.             TransformEnd
  536.  
  537.  
  538.             TransformBegin
  539.                 Rotate 0 1 0 90
  540.                 Translate -4 0 -2
  541.                 ProtoInstance RiteWall3
  542.             TransformEnd
  543.  
  544.             ProtoInstance RoadSlice
  545.  
  546.         Translate 0 0 4
  547.  
  548.             TransformBegin
  549.                 Rotate 0 1 0 -90
  550.                 Translate 0 0 -2
  551.                 ProtoInstance LeftWall2
  552.             TransformEnd
  553.  
  554.             TransformBegin
  555.                 Rotate 0 1 0 90
  556.                 Translate -4 0 -2
  557.                 ProtoInstance RiteWall2
  558.             TransformEnd
  559.  
  560.             ProtoInstance RoadSlice
  561.  
  562.         Translate 0 0 4
  563.  
  564.             TransformBegin
  565.                 Rotate 0 1 0 -90
  566.                 Translate 0 0 -2
  567.                 ProtoInstance LeftWall3
  568.             TransformEnd
  569.  
  570.             TransformBegin
  571.                 Rotate 0 1 0 90
  572.                 Translate -4 0 -2
  573.                 ProtoInstance RiteWall1
  574.             TransformEnd
  575.  
  576.             ProtoInstance RoadSlice
  577.     TransformEnd
  578.  
  579.  
  580.     ClumpEnd
  581. ModelEnd
  582.  
  583.