home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwwin
/
rfrobo4.rw_
/
rfrobo4.bin
Wrap
Text File
|
1995-11-14
|
1KB
|
51 lines
ModelBegin
ProtoBegin Base
Surface 0.7 0.6 0.8
Color 0.0 0.0 1.0
Cylinder 0.2 1.0 0.5 12 #translate for the second base cylinder
Translate 0.0 0.2 0.0
Cylinder 1.0 0.5 0.3 12
Translate 0.0 1.0 0.0 #translate for the hemisphere base
Color 0.9 0.0 0.0
Hemisphere 0.3 3
ProtoEnd
ProtoBegin ForeArm
Surface 0.6 0.4 0.8
Color 0.9 0.0 0.0
Sphere 0.2 3 #draw the lower arm/forearm joint sphere
ClumpBegin
Tag 3 # Tag for the forearm is 3
Color 0.9 0.9 0.0
Translate 0.0 0.2 0.0 #translate for the one end of the cylinder
Disc 0.0 -0.2 6 #cap the one end of the forearm
Cylinder 2.05 0.2 0.15 6 #draw the forearm
Disc 2.05 0.15 6 #cap the other end of the forearm
ClumpEnd
ProtoEnd
ProtoBegin Arm
Surface 0.6 0.4 0.8
Color 0.0 0.9 0.0
ClumpBegin
Disc 0.0 -0.3 6 #cap the one end of the arm
Cylinder 2.0 0.3 0.2 6 #draw the arm
Disc 2.0 0.2 6 #cap the other end of the arm
Translate 0.0 2.2 0.0 #translate to place the forearm
ProtoInstance ForeArm
ClumpEnd
ProtoEnd
ClumpBegin
LightSampling Vertex
ProtoInstance Base
ClumpBegin
Tag 2 # Tag for the upper arm is 2
Translate 0.0 0.3 0.0 #translate to place the upper arm
ProtoInstance Arm
ClumpEnd
ClumpEnd
ModelEnd