home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwdos
/
human.rwx
< prev
next >
Wrap
Text File
|
1995-02-15
|
4KB
|
214 lines
# RenderWare(TM) Script File
# An articulated human model.
ModelBegin
ProtoBegin LeftArm
Surface 0.4 0.4 0.6
Color 1.0 0.0 1.0
LightSampling Facet
GeometrySampling Solid
Texture NULL
TransformBegin # Upper arm
Translate 0.0 -0.25 0.0
Block 0.05 0.5 0.1
TransformEnd
Translate 0.0 -0.5 0.0
RotateJoint 1.0 0.0 0.0 -45.0
ClumpBegin # Fore arm
LightSampling Vertex
TransformBegin
Rotate 1.0 0.0 0.0 180.0
Cone 0.4 0.03 12
TransformEnd
Translate 0.0 -0.4 0.0
RotateJoint 0.0 0.0 1.0 30.0
ClumpBegin # Hand
Color 1.0 0.0 0.0
Rotate 1.0 0.0 0.0 180.0
Cone 0.2 0.04 12
ClumpEnd
ClumpEnd
ProtoEnd
ProtoBegin RightArm
Surface 0.4 0.4 0.6
Color 1.0 0.0 0.0
LightSampling Facet
GeometrySampling Solid
Texture NULL
TransformBegin # Upper arm
Translate 0.0 -0.25 0.0
Block 0.08 0.5 0.1
TransformEnd
Translate 0.0 -0.5 0.0
ClumpBegin # Fore arm
LightSampling Vertex
TransformBegin
Translate 0.0 -0.4 0.0
Cylinder 0.4 0.03 0.03 12
TransformEnd
Translate 0.0 -0.4 0.0
ClumpBegin # Hand
Color 1.0 1.0 0.0
Rotate 1.0 0.0 0.0 180.0
Cone 0.2 0.04 12
ClumpEnd
ClumpEnd
ProtoEnd
ProtoBegin LeftLeg
# Temporary material
Surface 0.4 0.4 0.6
Color 1.0 0.0 0.0
LightSampling Facet
GeometrySampling Solid
Texture NULL
TransformBegin # Upper leg
Translate 0.0 -0.3 0.0
Block 0.1 0.6 0.1
TransformEnd
Translate 0.0 -0.6 0.0
ClumpBegin # Lower leg
Color 0.0 1.0 0.0
TransformBegin
Translate 0.0 -0.25 0.0
Block 0.1 0.5 0.01
TransformEnd
Translate 0.0 -0.5 0.0
ClumpBegin # Foot
Color 1.0 1.0 0.0
Translate 0.0 0.0 0.1
Scale 0.4 0.4 1.0
Sphere 0.1 3
ClumpEnd
ClumpEnd
ProtoEnd
ProtoBegin RightLeg
# Temporary material
Surface 0.4 0.4 0.6
Color 1.0 0.0 1.0
LightSampling Vertex
GeometrySampling Solid
Texture NULL
TransformBegin # Upper leg
Translate 0.0 -0.6 0.0
Cone 0.6 0.07 12
TransformEnd
Translate 0.0 -0.6 0.0
ClumpBegin # Lower leg
TransformBegin
Translate 0.0 -0.25 0.0
Scale 0.2 1.0 0.2
Sphere 0.25 3
TransformEnd
Translate 0.0 -0.5 0.0
ClumpBegin # Foot
Translate 0.0 0.0 0.1
Scale 0.4 0.4 1.0
Sphere 0.1 3
ClumpEnd
ClumpEnd
ProtoEnd
ProtoBegin Legs
# Temporary material
Surface 0.4 0.4 0.6
Color 0.0 1.0 0.0
LightSampling Facet
GeometrySampling Solid
Texture NULL
Block 0.3 0.15 0.15 # Abdomen
TransformBegin # Place the right leg
Translate -0.15 0.0 0.0
ClumpBegin
ProtoInstance RightLeg
ClumpEnd
TransformEnd
TransformBegin # Place the left leg
Translate 0.15 0.0 0.0
ClumpBegin
ProtoInstance LeftLeg
ClumpEnd
TransformEnd
ProtoEnd
ProtoBegin Body
# Temporary material
Surface 0.4 0.4 0.6
Color 0.0 1.0 0.0
LightSampling Vertex
GeometrySampling Solid
Texture NULL
ClumpBegin # Upper body
Translate 0.0 0.55 0.0
MaterialBegin
LightSampling Facet
Block 0.5 0.02 0.2
MaterialEnd
TransformBegin # Neck
MaterialBegin
Color 1.0 1.0 0.0
Translate 0.0 0.01 0.0
TransformBegin
Cylinder 0.15 0.05 0.05 12
TransformEnd
Translate 0.0 0.15 0.0
ClumpBegin # Head
Translate 0.0 0.15 0.05
Scale 0.65 1.0 0.65
Sphere 0.15 3
ClumpEnd
MaterialEnd
TransformEnd
TransformBegin # Place the right arm
Translate -0.25 0.0 0.0
ClumpBegin
ProtoInstance RightArm
ClumpEnd
TransformEnd
TransformBegin # Place the left arm
Translate 0.25 0.0 0.0
ClumpBegin
ProtoInstance LeftArm
ClumpEnd
TransformEnd
TransformBegin # Upper torso
Scale 1.0 1.0 0.5
Rotate 1.0 0.0 0.0 180.0
Cone 0.5 0.2 12
TransformEnd
ClumpEnd
TransformBegin # Lower torso is centre of body
MaterialBegin
Color 0.0 0.5 1.0
Scale 1.0 0.5 0.5
Sphere 0.1 3
MaterialEnd
TransformEnd
Translate 0.0 -0.2 0.0
ProtoInstance Legs
ProtoEnd
ClumpBegin
ProtoInstance Body
ClumpEnd
ModelEnd