home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwwin
/
rfface3.rw_
/
rfface3.bin
Wrap
Text File
|
1995-11-14
|
683b
|
23 lines
# rfFace3.rwx build a single sided quad with texture mapping
ModelBegin
ClumpBegin
Vertex -0.60 -0.60 0.60 UV 0.0 1.0 # vertex 1
Vertex 0.60 -0.60 0.60 UV 1.0 1.0 # vertex 2
Vertex 0.60 0.60 0.60 UV 1.0 0.0 # vertex 3
Vertex -0.60 0.60 0.60 UV 0.0 0.0 # vertex 4
Vertex -0.60 -0.60 0.60 UV 0.0 2.0 # vertex 5
Vertex 0.60 -0.60 0.60 UV 2.0 2.0 # vertex 6
Vertex 0.60 0.60 0.60 UV 2.0 0.0 # vertex 7
Vertex -0.60 0.60 0.60 UV 0.0 0.0 # vertex 8
TextureModes Lit
Texture chilli
Surface 0.40 0.50 0.50
Quad 1 2 3 4 # quad defined by vertex 1, 2, 3, 4
Quad 8 7 6 5 # quad by vertex 8 7 6 5
ClumpEnd
ModelEnd