home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwdos
/
robot.rwx
< prev
next >
Wrap
Text File
|
1995-02-15
|
2KB
|
106 lines
# RenderWare(TM) Script File
# A hierarchical model of a robot arm.
ModelBegin
GeometrySampling Solid
ProtoBegin Base
LightSampling Facet
Surface 0.7 0.6 0.8
Color 0.0 0.0 1.0
Cylinder 0.2 1.0 0.6 6
Translate 0.0 0.2 0.0
Cylinder 0.2 0.6 0.6 6
Translate 0.0 0.2 0.0
Cylinder 0.0 0.6 0.3 6
Color 0.9 0.0 0.0
LightSampling Vertex
Hemisphere 0.3 3
ProtoEnd
ProtoBegin Finger
Surface 0.6 0.4 0.8
Color 0.5 0.5 0.5
LightSampling Facet
Translate 0.0 0.35 0.0
Block 0.3 0.4 0.1
TransformBegin
Translate 0.0 0.2 0.0
TransformBegin
Color 0.9 0.0 0.0
LightSampling Vertex
Rotate 0.0 0.0 1.0 90.0
Translate 0.05 -0.15 0.0
Cylinder 0.3 0.05 0.05 6
Disc 0.0 -0.05 6
Disc 0.3 0.05 6
TransformEnd
Translate 0.0 0.05 0.0
ClumpBegin
Color 0.5 0.5 0.5
LightSampling Facet
Translate 0.0 0.2 0.0
Block 0.3 0.3 0.1
ClumpEnd
TransformEnd
ProtoEnd
ProtoBegin Hand
Surface 0.6 0.4 0.8
Color 0.9 0.0 0.0
LightSampling Vertex
Sphere 0.15 3
TransformBegin
RotateJoint 1.0 0.0 0.0 -30.0
ClumpBegin
ProtoInstance Finger
ClumpEnd
RotateJoint 1.0 0.0 0.0 60.0
ClumpBegin
ProtoInstance Finger
ClumpEnd
TransformEnd
ProtoEnd
ProtoBegin Arm
Surface 0.6 0.4 0.8
Color 0.0 0.9 0.0
LightSampling Vertex
Disc 0.0 -0.3 6
Cylinder 2.0 0.3 0.2 6
Disc 2.0 0.2 6
Translate 0.0 2.2 0.0
MaterialBegin
Color 0.9 0.0 0.0
Sphere 0.2 3
MaterialEnd
RotateJoint 1.0 0.0 0.0 100.0
ClumpBegin
Translate 0.0 0.2 0.0
Disc 0.0 -0.2 6
Cylinder 2.0 0.2 0.15 6
Disc 2.0 0.15 6
Translate 0.0 2.15 0.0
RotateJoint 1.0 0.0 0.0 40.0
ClumpBegin
ProtoInstance Hand
ClumpEnd
ClumpEnd
ProtoEnd
RotateJoint 0.0 1.0 0.0 30.0
ClumpBegin
Scale 0.4 0.4 0.4
ProtoInstance Base
TransformBegin
Translate 0.0 0.4 0.0
RotateJoint 1.0 0.0 0.0 -45.0
ClumpBegin
Translate 0.0 0.3 0.0
ProtoInstance Arm
ClumpEnd
TransformEnd
ClumpEnd
ModelEnd