home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwwin
/
cabquad.rw_
/
cabquad.bin
Wrap
Text File
|
1995-11-14
|
2KB
|
71 lines
ModelBegin
ProtoBegin MyBlock
Include myblock.rwx
ProtoEnd
ProtoBegin CabQuadPrim
# x=4, y=1.5, z=1
LightSampling Facet
GeometrySampling Solid
Texture NULL
Surface 0.2 0.6 0.0
Color 0.7 0.5 0.0
TransformBegin
Translate 0 -0.7 0
Block 4.0 0.1 1.0 # base
TransformEnd
TransformBegin
#Rotate 0 1 0 90
Translate 0 0.7 0
#Scale 1.0 0.1 4.0
Scale 4.0 0.1 1.0
ProtoInstance MyBlock # top
TransformEnd
Surface 0.6 1.0 0
Color 1 1 1
TransformBegin
Translate -1.99 0 0
Block 0.02 1.3 1.0 # left side
TransformEnd
TransformBegin
Translate 1.99 0 0
Block 0.02 1.3 1.0 # right side
TransformEnd
TransformBegin
Translate 0 0 -0.49
Block 3.96 1.3 0.02 # back
TransformEnd
ProtoEnd
ProtoBegin CabQuad
# x=4.0 y=1.5 z=1.0
TransformBegin
ProtoInstance CabQuadPrim
TransformEnd
Surface 0.6 0.6 0.7
TransformBegin
Color 0.6 0.6 0.0
Translate -0.5 0 0.51
Block 1.0 1.4 0.02
Color 0 0 1
Translate 0.2 0.5 0.035
Block 0.1 0.05 0.05
TransformEnd
TransformBegin
Color 0.6 0.6 0.0
Translate 0.5 0 0.51
Block 1.0 1.4 0.02
Color 0 0 1
Translate -0.2 0.5 0.035
Block 0.1 0.05 0.05
TransformEnd
ProtoEnd
ClumpBegin
ProtoInstance CabQuad
ClumpEnd
ModelEnd