media @ VU
vrml-math-fcc-hex.vr
vrml-math-fcc-hex.vr
(wrl
)
[ flux /
bitmanagement /
cortona /
octaga
]
NavigationInfo{ type "EXAMINE" }
Viewpoint{ position 0 -6 7 orientation 1 0 0 .785 description "[110]"}
Viewpoint{ position 0 1 10 description "[100]"}
Viewpoint{ position 5.8 6.8 5.8 orientation -1 1 0 .955 description "[111]"}
PROTO C[ field SFVec3f trans 0 0 0] {
Transform{ translation IS trans children[ Shape{
appearance Appearance{ material Material{ diffuseColor 1 1 1 transparency .35}}
geometry Sphere{ radius .75}}]}
}
PROTO G[ field SFVec3f trans 0 0 0] {
Transform{ translation IS trans children[ Shape{
appearance Appearance{ material Material{ diffuseColor 1 1 0 transparency .35}}
geometry Sphere{ radius .75}}]}
}
PROTO R[ field SFVec3f trans 0 0 0] {
Transform{ translation IS trans children[ Shape{
appearance Appearance{ material Material{ diffuseColor 1 .6 .6 transparency .35}}
geometry Sphere{ radius .75}}]}
}
Background{ skyColor 0 0 0.75 }
DEF Clock TimeSensor { cycleInterval 30}
DEF Animation OrientationInterpolator {
key [ 0, .33, .66, 1 ]
keyValue [ 1 1 1 0, 1 1 1 2.1, 1 1 1 4.2, 1 1 1 0 ]}
DEF XForm Transform{ scale 1.2 1.2 1.2
children[
R{ trans 1 1 1} C{ trans 1 -1 1} C{ trans 1 -1 -1}
C{ trans 1 1 -1} G{ trans -1 1 1} G{ trans -1 -1 1}
C{ trans -1 -1 -1} G{ trans -1 1 -1}
C{ trans 1 0 0} G{ trans 0 1 0} G{ trans 0 0 1}
G{ trans -1 0 0} G{ trans 0 -1 0} G{ trans 0 0 -1}
G{ trans -2 0 1} G{ trans -2 1 0}
R{ trans 1 2 0} R{ trans 0 2 1} R{ trans 0 1 2} R{ trans 0 3 0}
R{ trans -1 3 1} R{ trans -1 2 2}
Shape{ appearance Appearance{ material Material{ emissiveColor 1 1 1}}
geometry IndexedLineSet{ coord Coordinate{ point[
1 1 1, 1 -1 1, 1 -1 -1, 1 1 -1, -1 1 1, -1 -1 1, -1 -1 -1, -1 1 -1]}
coordIndex[0 1 2 3 0 2 -1 4 5 6 7 4 6 -1
7 0 4 3 -1 4 1 5 0 -1 5 2 6 1 -1 6 3 7 2 -1 1 3 -1 5 7]}}
DEF Touch TouchSensor{}
]
}
ROUTE Touch.touchTime TO Clock.startTime
ROUTE Clock.fraction_changed TO Animation.set_fraction
ROUTE Animation.value_changed TO XForm.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.