home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwdos
/
pool.rwx
< prev
next >
Wrap
Text File
|
1995-02-15
|
4KB
|
149 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 Floor
Translate 0 -0.453 -1.4
Surface 0.2 0.6 0.0
Color 1 1 1
Texturemode foreshorten
TransformBegin
Scale 2 2 2
Rotate 1 0 0 -90
Texture bfloor
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 2 0 0
Scale 2 2 2
Rotate 1 0 0 -90
Texture bfloor
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 0 0 -2
Scale 2 2 2
Rotate 1 0 0 -90
Texture bfloor
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 2 0 -2
Scale 2 2 2
Rotate 1 0 0 -90
Texture bfloor
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin Ceiling
Translate 0 -0.453 -1.4
Surface 0 0 0.0
Color 0 0 0
Texturemode NULL
Texture NULL
TransformBegin
#Translate 4 0 -4
Translate 0 2 -4
Scale 4 4 4
Rotate 1 0 0 +90
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ProtoBegin Hall
Translate 0 -0.453 -1.4
Surface 0.2 0.6 0.0
Color 1 1 1
Texturemode foreshorten
# Left walls
TransformBegin
Scale 2 2 2
Rotate 0 1 0 90
Texture bwall20
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 0 0 -2
Scale 2 2 2
Rotate 0 1 0 90
Texture bwall21
ProtoInstanceGeometry Facet
TransformEnd
#Back walls
TransformBegin
Translate 0 0 -4
Scale 2 2 2
Texture bwall20
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 2 0 -4
Scale 2 2 2
Texture bwall21
ProtoInstanceGeometry Facet
TransformEnd
# Right walls
TransformBegin
Translate 4 0 0
Scale 2 2 2
Translate 0 0 -1
Rotate 0 1 0 -90
Texture bwall20
ProtoInstanceGeometry Facet
TransformEnd
TransformBegin
Translate 4 0 -2
Scale 2 2 2
Translate 0 0 -1
Rotate 0 1 0 -90
Texture bwall21
ProtoInstanceGeometry Facet
TransformEnd
# Front walls (with doorway)
TransformBegin
Scale 2 2 2
Translate 1 0 0
Rotate 0 1 0 180
Texture bwall20
# doorway is 0.5 * 0.734 wide (we're scaling by 2.0 so half this)
# doorway is 1.0 * 0.648 high (we're scaling by 2.0 so half this)
Vertex 0 0 0 UV 0 1
Vertex 0.8165 0 0 UV 0.8165 1
Vertex 0.8165 0.3215 0 UV 0.8165 0.6785
Vertex 1 0.3215 0 UV 1 0.6785
Vertex 1 1 0 UV 1 0
Vertex 0 1 0 UV 0 0
Quad 1 2 3 6
Quad 3 4 5 6
TransformEnd
TransformBegin
Translate 2 0 0
Scale 2 2 2
Translate 1 0 0
Rotate 0 1 0 180
Texture bwall21
ProtoInstanceGeometry Facet
TransformEnd
ProtoEnd
ClumpBegin
Hints CONTAINER
# move to align door to street door in texture
Rotate 0 1 0 -90
Translate 3.0859 0.1 -2
ProtoInstance Floor
ProtoInstance Ceiling
ProtoInstance Hall
ClumpEnd
ModelEnd