1
0
Fork 0

Animate the analog clock.

This commit is contained in:
david 2004-02-20 17:39:41 +00:00
parent a251221a63
commit 30dfcfe1e3
2 changed files with 108 additions and 1 deletions

View file

@ -1,7 +1,78 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 1
kids 4
OBJECT poly
name "HourHand"
numvert 5
0.004529 0.010592 0
0.004529 -0.006661 -0.000697
0.004529 -0.006661 0.000698
0.004529 0.006682 0.001283
0.004529 0.006682 -0.001283
numsurf 2
SURF 0x00
mat 0
refs 3
0 0 0
3 0 0
4 0 0
SURF 0x00
mat 0
refs 4
1 0 0
4 0 0
3 0 0
2 0 0
kids 0
OBJECT poly
name "MinuteHand"
numvert 5
0.002994 0.018971 0
0.002994 -0.006661 -0.000697
0.002994 -0.006661 0.000698
0.002994 0.006682 0.001043
0.002994 0.006682 -0.001043
numsurf 2
SURF 0x00
mat 0
refs 3
0 0 0
3 0 0
4 0 0
SURF 0x00
mat 0
refs 4
1 0 0
4 0 0
3 0 0
2 0 0
kids 0
OBJECT poly
name "SecondHand"
numvert 6
0.001517 0.020026 -0.000697
0.001517 -0.006661 -0.000697
0.001517 -0.006661 0.000698
0.001517 0.020026 0.000698
0.001517 0.006682 0.000698
0.001517 0.006682 -0.000697
numsurf 2
SURF 0x00
mat 0
refs 4
0 0 0
3 0 0
4 0 0
5 0 0
SURF 0x00
mat 0
refs 4
1 0 0
5 0 0
4 0 0
2 0 0
kids 0
OBJECT poly
name "Face"
texture "/home/david/src/blender/Instruments/clock/clock.rgb"

View file

@ -4,6 +4,42 @@
<path>clock.ac</path>
<animation>
<type>rotate</type>
<object-name>SecondHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>6</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>MinuteHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>0.1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HourHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>0.008333</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>