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.rw_
/
city.bin
Wrap
Text File
|
1995-11-14
|
15KB
|
635 lines
ModelBegin
ProtoBegin Facet
Vertex 0 0 0 UV 0 1
Vertex 1 0 0 UV 1 1
Vertex 1 1 0 UV 1 0
Vertex 0 1 0 UV 0 0
Quad 1 2 3 4
ProtoEnd
ProtoBegin FillFloor
TransformBegin
Rotate 0 1 0 -90
Surface 0.0 0.0 0.0
Color 0 0 0
Texturemode NULL
Texture NULL
Scale 1 1 1
Vertex -0.5 0 -3
Vertex 0 0 -3
Vertex 0 0 3
Vertex -0.5 0 3
Quad 4 3 2 1
TransformEnd
ProtoEnd
ProtoBegin FixWall
TransformBegin
# Rotate 0 1 0 -90
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode NULL
Texture wall770
Scale 1 1 1
# Translate -0.5 0 -3
Vertex 0 0 0 UV 0 1
Vertex 0.5 0 0 UV 0.5 1
Vertex 0.5 1 0 UV 0.5 0
Vertex 0 1 0 UV 0 0
Quad 1 2 3 4
TransformEnd
TransformBegin
# Rotate 0 1 0 -90
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode NULL
Texture wall761
# Translate -0.5 1 -3
Translate 0 1 0
Scale 2 2 2
Vertex 0 0 0 UV 0.5 1
Vertex 0.25 0 0 UV 0.75 1
Vertex 0.25 1 0 UV 0.75 0
Vertex 0 1 0 UV 0.5 0
Quad 5 6 7 8
TransformEnd
ProtoEnd
ProtoBegin Door
# left door
Vertex 0 0 0.10 UV 0.086 1
Vertex 0.5 0.0 0.10 UV 0.453 1
Vertex 0 1.0 0.10 UV 0.086 0.352
Vertex 0.5 0.0 0.05
Vertex 0 1.0 0.05
Vertex 0 0 0.05
Vertex 0.5 1.0 0.05
Vertex 0 0 0.00
Vertex 0.5 1.0 0.00
#right door
Vertex 0.5 0 0.10 UV 0.453 1 # 10
Vertex 0.5 1.0 0.10 UV 0.453 0.352
Vertex 0 1.0 0.10 UV 0.086 0.352
Vertex 0.5 0.0 0.05
Vertex 0.5 1.0 0.05
Vertex 0 1.0 0.05
Vertex 0 0 0.05
Vertex 0.5 1.0 0.00
Vertex 0 0 0.00
# first the blast door
Surface 0.5 0.5 0.7
Color 0.5 1 0.5
Triangle 6 8 9 # left inner edge
Triangle 6 9 7
Triangle 18 16 14 # right inner edge
Triangle 18 14 17
Triangle 6 7 5 # left blast door
Triangle 16 13 14 # right blast door
Triangle 2 4 5 # left outer edge
Triangle 2 5 3
Triangle 13 10 12 # right outer edge
Triangle 13 12 15
# then the outer door
Surface 0.2 0.7 0.0
Color 1 0 0
Texturemode foreshorten
Texture wall130
Triangle 1 2 3
Triangle 10 11 12
# reverse door
# Color 0 1 0
# Quad 5 14 13 6
ProtoEnd
ProtoBegin EndWall
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode foreshorten
Texture NULL
TransformBegin
ProtoInstanceGeometry Facet
Translate 1 0 0
ProtoInstanceGeometry Facet
Translate 1 0 0
ProtoInstanceGeometry Facet
Translate 1 0 0
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
TransformBegin
Texture wall201
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall211
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall221
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall231
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall202 Mask wall202m
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall222 Mask wall222m
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin Fence
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode foreshorten
Texture fence
Scale 1 1.1 1
ProtoInstanceGeometry Facet
Translate 1 0 0
ProtoInstanceGeometry Facet
ProtoEnd
ProtoBegin Fence2
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode foreshorten
Texture fence2 Mask fence2m
Scale 1 1.1 1
ProtoInstanceGeometry Facet
Translate 1 0 0
ProtoInstanceGeometry Facet
ProtoEnd
ProtoBegin LightCluster
# This will be used for the Billboard lights
# ... note Tagged polys, for 'flickering' the light
Vertex -0.1 0.025 -0.025
Vertex 0.1 0.025 -0.025
Vertex 0.1 0.025 0.025
Vertex -0.1 0.025 0.025
Vertex -0.1 -0.025 -0.025
Vertex 0.1 -0.025 -0.025
Vertex 0.1 -0.025 0.025
Vertex -0.1 -0.025 0.025
Vertex 0.9 0.025 -0.025
Vertex 1.1 0.025 -0.025
Vertex 1.1 0.025 0.025
Vertex 0.9 0.025 0.025
Vertex 0.9 -0.025 -0.025
Vertex 1.1 -0.025 -0.025
Vertex 1.1 -0.025 0.025
Vertex 0.9 -0.025 0.025
Quad 1 5 8 4
Quad 2 3 7 6
Quad 3 4 8 7
Quad 5 6 7 8 Tag 1
Quad 9 13 16 12
Quad 10 11 15 14
Quad 11 12 16 15
Quad 13 14 15 16 Tag 2
ProtoEnd
ProtoBegin BillboardWithLamps
Surface 0.3 0.7 0.0
Color 1 1 1
Texturemode foreshorten
TransformBegin # left poster. We'll animate
Texture bbleft # the 'bbleft' texture to 'flicker'
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin # right poster. We'll also animate
Translate 1 0 0 # the 'bbrite' texture to 'flicker'
Texture bbrite
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin # left post
Translate 0.2 -1 0
Scale 0.1 1 1
MaterialBegin
Texture NULL
ProtoInstanceGeometry Facet
MaterialEnd
TransformEnd
TransformBegin # right post
Translate 1.7 -1 0
Scale 0.1 1 1
MaterialBegin
Texture NULL
ProtoInstanceGeometry Facet
MaterialEnd
TransformEnd
TransformBegin # Light cluster, with tagged polys
Translate 0.5 0.9 0.05
MaterialBegin
Texture NULL
Surface 0.3 0.8 0.0
Color 1.0 1.0 0.0
ProtoInstanceGeometry LightCluster
MaterialEnd
TransformEnd
ProtoEnd
ProtoBegin LeftWall1
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall100
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall110
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall120
ProtoInstanceGeometry Facet
Translate 1 0 0
# we need a door opening here
Texture wall130
Vertex 0 0 0 UV 0 1
Vertex 1 0 0 UV 1 1
Vertex 1 1 0 UV 1 0
Vertex 0 1 0 UV 0 0
Vertex 0.086 0 0 UV 0.086 1
Vertex 0.086 0.648 0 UV 0.086 0.352
Vertex 0.453 0.648 0 UV 0.453 0.352
Vertex 0.453 0 0 UV 0.453 1
Quad 1 5 6 4
Quad 6 7 3 4
Quad 7 8 2 3
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall101
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall121
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin LeftWall2
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall140
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall150
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall160
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall170
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall141
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall161
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin LeftWall3
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall180
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall190
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall1a0
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall1b0
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall181
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall1a1
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin RiteWall1
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall700
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall710
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall720
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall730
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall701
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall721
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin RiteWall2
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall740
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall750
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall760
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall770
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall741
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall761
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin RiteWall3
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Translate 0 0.1 0
TransformBegin
Texture wall780
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall790
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall7a0
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall7b0
ProtoInstanceGeometry Facet
TransformEnd
Translate 0 1 0
# lower resolution upper storeys
TransformBegin
Scale 2 2 2
Texture wall781
ProtoInstanceGeometry Facet
Translate 1 0 0
Texture wall7a1
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin RoadSlice
Surface 0.05 0.6 0.0
Color 1 1 1
Texturemode foreshorten
Texture road
Scale 2 2 2
Vertex -1.0 0.05 0 UV 0 0
Vertex -0.6 0.05 0 UV 0.2 0
Vertex -0.6 0.01 0 UV 0.2 0
Vertex 0.6 0.01 0 UV 0.8 0
Vertex 0.6 0.05 0 UV 0.8 0
Vertex 1.0 0.05 0 UV 1 0
Vertex -1.0 0.05 2 UV 0 1
Vertex -0.6 0.05 2 UV 0.2 1
Vertex -0.6 0.01 2 UV 0.2 1
Vertex 0.6 0.01 2 UV 0.8 1
Vertex 0.6 0.05 2 UV 0.8 1
Vertex 1.0 0.05 2 UV 1 1
Quad 1 7 8 2
Quad 3 9 10 4
Quad 5 11 12 6
# inside curb is untextured
Texture NULL
Surface 0.2 0.6 0.0
Color 1 1 1
Quad 4 10 11 5
Quad 2 8 9 3
ProtoEnd
ClumpBegin
Hints NULL
TransformBegin
# sliding door
TransformBegin
Rotate 0 1 0 -90
Translate 3.0859 0.1 -2.05
Scale 0.734 0.648 0.5
ProtoInstance Door
TransformEnd
TransformBegin
Hints NULL
ProtoInstance FillFloor
TransformEnd
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TransformBegin
Rotate 0 1 0 -90
Translate -0.5 0 -3
ProtoInstance FixWall
TransformEnd
TransformBegin
Rotate 0 1 0 90
Translate 0 0 -3
ProtoInstance FixWall
TransformEnd
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TransformBegin
Scale 1.5 1 1
Translate -2 0 -0.5
ProtoInstance EndWall
TransformEnd
TransformBegin
Scale 2 1 1
Translate -1 0 0
ProtoInstance Fence
TransformEnd
TransformBegin
Scale 1 1 1
Rotate 0 1 0 180
Translate -1 1.5 -12.2
ProtoInstance BillboardWithLamps
TransformEnd
TransformBegin
Scale 2 1 1
Rotate 0 1 0 180
Translate -1 0 -12
ProtoInstance Fence2
TransformEnd
# wall has a whole for door to show thru
TransformBegin
Rotate 0 1 0 -90
Translate 0 0 -2
ProtoInstance LeftWall1
TransformEnd
TransformBegin
Rotate 0 1 0 90
Translate -4 0 -2
ProtoInstance RiteWall3
TransformEnd
ProtoInstance RoadSlice
Translate 0 0 4
TransformBegin
Rotate 0 1 0 -90
Translate 0 0 -2
ProtoInstance LeftWall2
TransformEnd
TransformBegin
Rotate 0 1 0 90
Translate -4 0 -2
ProtoInstance RiteWall2
TransformEnd
ProtoInstance RoadSlice
Translate 0 0 4
TransformBegin
Rotate 0 1 0 -90
Translate 0 0 -2
ProtoInstance LeftWall3
TransformEnd
TransformBegin
Rotate 0 1 0 90
Translate -4 0 -2
ProtoInstance RiteWall1
TransformEnd
ProtoInstance RoadSlice
TransformEnd
ClumpEnd
ModelEnd