#VRML V2.0 utf8
NavigationInfo {
type "Walk"
headlight TRUE
}
DEF BACKGROUND Background {
skyAngle [ 1.309, 1.501, 1.735, 1.91 ]
skyColor [ 0 9 1,
0 0.8 0.9,
0 0.9 0.8,
0 0.8 0.6,
0 0.3 0.3 ]
}
#Here start your definition of Trio....
DEF Trio Transform {
... children [
##Here start your definition of Girl....
.....DEF Girl Transform {
........ children Inline {
###Here come an Inlined avatar
........ url "http://avatardom.com/foliber1.wrl"
........ }
........ translation 0.043 0.5 0
........ } ##Here end your definition of Girl....
...... Transform {
........ children USE Girl
........ translation 1.093 0 0.87
........ rotation 0 1 0 1.99
...... }
...... Transform {
........children USE Girl
........translation 0.93 0 -0.63
........rotation 0 -1 0 1.99
........ }
........]
......} #Here end your definition of Trio....
...... Transform {
........ children USE Trio
........ translation 2.3 0 0
........ rotation 0 1 0 0.785
......}
#Here start the action....
# A clock, the intervals of your animation, the path and the ROUTES
# This animation runs on top of the Avatar Studio animation,
#(this is simple VRML interpolator)
DEF Clock TimeSensor{
cycleInterval 1.0
loop TRUE
}
DEF GirlPath OrientationInterpolator{
key [0.0833,0.1666,0.249,0.3332,0.4165,0.4998,0.5832,0.6665,0.7497,0.8330,0.9163,1]
keyValue[
0.0 1.0 0.0 0.285
0.0 1.0 0.0 0.4
0.0 1.0 0.0 0.685
0.0 1.0 0.0 0.8
0.0 1.0 0.0 0.985
0.0 1.0 0.0 1.20
0.0 1.0 0.0 1.65
0.0 1.0 0.0 2.0
0.0 1.0 0.0 2.5
0.0 1.0 0.0 3.10
0.0 1.0 0.0 3.85
0.0 1.0 0.0 0.0
]
}
ROUTE Clock.fraction_changed TO GirlPath.set_fraction
ROUTE GirlPath.value_changed TO Girl.set_rotation
|
Send url to