media @ VU
web3d-box.vr
web3d-box.vr
(wrl
)
[ flux /
bitmanagement /
cortona /
octaga
]
Web3D/VR
box
group
Group {
children [
DEF object Transform {
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry Box {
}
}
]
}
]
}
sensor and interpolator
DEF time TimeSensor { loop TRUE enabled TRUE }
DEF rotation OrientationInterpolator {
key [ 0 0.25 0.5 0.75 1 ]
keyValue [ 1 1 0 0, 1 1 0 1.57, 1 1 0 3.14 1 1 0 4.71, 1 1 0 0 ]
}
event routing
ROUTE time.fraction TO rotation.fraction
ROUTE rotation.value TO object.rotation
(C) A. Eliëns
2/9/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.