1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#VRML V2.0 utf8
 
DEF mercury Transform {
    children Shape {
        geometry Sphere {radius 1.147 }
        appearance Appearance {
            texture ImageTexture { url "mercury.jpg"}
             
        }
}}
 
DEF time_e TimeSensor   { cycleInterval 500 loop    TRUE }
DEF time TimeSensor { cycleInterval 100 loop    TRUE }
DEF time2 TimeSensor    { cycleInterval 150 loop    TRUE }
DEF ori OrientationInterpolator {
    key [0 .5 1]
    keyValue [ 0 1 0 0 0 1 0 3.14 0 1 0 6.28]
}
 
ROUTE time_e.fraction_changed   TO ori.set_fraction
ROUTE ori.value_changed TO  mercury.rotation
Posted by 코딩하는 야구쟁이
,