- New chronometer.
This commit is contained in:
parent
b0348c998a
commit
04bf18553e
6 changed files with 1298 additions and 0 deletions
46
Aircraft/Instruments-3d/chronograph/README
Normal file
46
Aircraft/Instruments-3d/chronograph/README
Normal file
|
@ -0,0 +1,46 @@
|
|||
Chronograph
|
||||
-----------
|
||||
|
||||
Time offset adjustable with bottom left button, LMB change minutes, MMB change
|
||||
hours.*
|
||||
The time offset will be saved between two Flightgear sessions.
|
||||
|
||||
At start the second hand is locked on zero. Click on the upper right button
|
||||
starts the second hand and a chronometer minutes hand. Click again on the
|
||||
upper right button stops the chronometer. Click again resets the chronometer
|
||||
to zero.
|
||||
|
||||
|
||||
Setting up :
|
||||
------------
|
||||
|
||||
- Include the model in your model file.
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Instruments-3d/chronograph/chronograph.xml</path>
|
||||
<offsets>
|
||||
<x-m>xxx</x-m>
|
||||
<y-m>xxx</y-m>
|
||||
<z-m>xxx</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
- Declare chronograph.nas in your foo-set.xml file. Write something like:
|
||||
</nasal>
|
||||
<chronograph>
|
||||
<file>Aircraft/foo/Nasal/chronograph.nas</file>
|
||||
</chronograph>
|
||||
</nasal>
|
||||
|
||||
|
||||
- Open chronograph.nas and uncomment chrono_loop() and the following settimer()
|
||||
if update_chrono() has to be launched standalone.
|
||||
Otherwise launch foo_chronograph.update_chrono() from a centralized loop which
|
||||
will save some CPU cycles.
|
||||
See chronograph.nas line 48.
|
||||
|
||||
That's it.
|
||||
|
||||
|
||||
* LMB Left Mouse Button, MMB midle mouse button.
|
995
Aircraft/Instruments-3d/chronograph/chronograph.ac
Normal file
995
Aircraft/Instruments-3d/chronograph/chronograph.ac
Normal file
|
@ -0,0 +1,995 @@
|
|||
AC3Db
|
||||
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 10 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 1
|
||||
OBJECT world
|
||||
kids 1
|
||||
OBJECT group
|
||||
name "clock"
|
||||
loc 0.0058714 0.00166272 0.00155295
|
||||
kids 8
|
||||
OBJECT poly
|
||||
name "face"
|
||||
loc -0.00213919 -0.00164815 -0.00132373
|
||||
texture "chronograph.png"
|
||||
crease 45.000000
|
||||
numvert 36
|
||||
0.000413154 -0.0127203 0.0304452
|
||||
0.000413154 -0.0234918 0.023248
|
||||
0.000413154 -0.030689 0.0124765
|
||||
0.000413154 -0.0332163 -0.000229226
|
||||
0.000413154 -0.030689 -0.012935
|
||||
0.000413154 -0.0234918 -0.0237064
|
||||
0.000413154 -0.0127203 -0.0309037
|
||||
0.000413154 -1.45677e-05 -0.033431
|
||||
0.000413154 0.0126912 -0.0309037
|
||||
0.000413154 0.0234626 -0.0237064
|
||||
0.000413154 0.0306599 -0.012935
|
||||
0.000413154 0.0331872 -0.000229226
|
||||
0.000413154 0.0306599 0.0124765
|
||||
0.000413154 0.0234626 0.023248
|
||||
0.000413154 0.0126912 0.0304452
|
||||
0.000413154 -1.45677e-05 0.0329725
|
||||
0.000413154 -0.0101124 0.0241491
|
||||
0.000413154 -1.45681e-05 0.0261577
|
||||
0.000413154 -0.018673 0.0184292
|
||||
0.000413154 -0.0243929 0.00986862
|
||||
0.000413154 -0.0264015 -0.000229227
|
||||
0.000413154 -0.0243929 -0.0103271
|
||||
0.000413154 -0.018673 -0.0188876
|
||||
0.000413154 -0.0101124 -0.0246076
|
||||
0.000413154 -1.45681e-05 -0.0266162
|
||||
0.000413154 0.0100833 -0.0246076
|
||||
0.000413154 0.0186438 -0.0188876
|
||||
0.000413154 0.0243638 -0.0103271
|
||||
0.000413154 0.0263724 -0.000229227
|
||||
0.000413154 0.0243638 0.00986862
|
||||
0.000413154 0.0186438 0.0184292
|
||||
0.000413154 0.0100833 0.0241491
|
||||
-0.000413154 -0.0332644 -0.0335106
|
||||
-0.000413154 -0.0332644 0.0335107
|
||||
-0.000413154 0.0332644 0.0335107
|
||||
-0.000413154 0.0332644 -0.0335106
|
||||
numsurf 17
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.0380602 0.308658
|
||||
16 0.132876 0.347932
|
||||
17 0.102627 0.5
|
||||
15 0 0.5
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0.146447 0.146447
|
||||
18 0.219015 0.219015
|
||||
16 0.132876 0.347932
|
||||
0 0.0380602 0.308658
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
2 0.308658 0.0380603
|
||||
19 0.347932 0.132876
|
||||
18 0.219015 0.219015
|
||||
1 0.146447 0.146447
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
3 0.5 0
|
||||
20 0.5 0.102627
|
||||
19 0.347932 0.132876
|
||||
2 0.308658 0.0380603
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0.691342 0.0380603
|
||||
21 0.652068 0.132876
|
||||
20 0.5 0.102627
|
||||
3 0.5 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
5 0.853553 0.146447
|
||||
22 0.780985 0.219015
|
||||
21 0.652068 0.132876
|
||||
4 0.691342 0.0380603
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0.96194 0.308658
|
||||
23 0.867124 0.347932
|
||||
22 0.780985 0.219015
|
||||
5 0.853553 0.146447
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0.5
|
||||
24 0.897373 0.5
|
||||
23 0.867124 0.347932
|
||||
6 0.96194 0.308658
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
8 0.96194 0.691342
|
||||
25 0.867124 0.652068
|
||||
24 0.897373 0.5
|
||||
7 1 0.5
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0.853553 0.853553
|
||||
26 0.780985 0.780985
|
||||
25 0.867124 0.652068
|
||||
8 0.96194 0.691342
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
10 0.691342 0.96194
|
||||
27 0.652068 0.867124
|
||||
26 0.780985 0.780985
|
||||
9 0.853553 0.853553
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
11 0.5 1
|
||||
28 0.5 0.897373
|
||||
27 0.652068 0.867124
|
||||
10 0.691342 0.96194
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 0.308658 0.96194
|
||||
29 0.347932 0.867124
|
||||
28 0.5 0.897373
|
||||
11 0.5 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
13 0.146447 0.853553
|
||||
30 0.219015 0.780985
|
||||
29 0.347932 0.867124
|
||||
12 0.308658 0.96194
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
14 0.0380602 0.691342
|
||||
31 0.132876 0.652068
|
||||
30 0.219015 0.780985
|
||||
13 0.146447 0.853553
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 0 0.5
|
||||
17 0.102627 0.5
|
||||
31 0.132876 0.652068
|
||||
14 0.0380602 0.691342
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
35 1 1
|
||||
34 0 1
|
||||
33 0 0
|
||||
32 1 0
|
||||
kids 0
|
||||
OBJECT group
|
||||
name "needles"
|
||||
loc -0.000605934 0.0114247 0.00872959
|
||||
kids 4
|
||||
OBJECT poly
|
||||
name "ElapsedMinutesHand"
|
||||
loc -0.000976209 0.00125911 -0.0101849
|
||||
texture "chronograph.png"
|
||||
crease 45.000000
|
||||
numvert 12
|
||||
0 0.00337222 -0.000676553
|
||||
0 0.00337222 0.000613153
|
||||
0 -0.011176 0.000378348
|
||||
0 -0.011176 -0.000443244
|
||||
0 0.011176 -0.000275563
|
||||
0 0.00681516 -0.00222592
|
||||
0 0.00681516 -0.000541394
|
||||
0 0.00337222 -0.000676553
|
||||
0 0.00337222 0.000613153
|
||||
0 0.00681516 0.000481017
|
||||
0 0.00681516 0.00222592
|
||||
0 0.011176 0.00014375
|
||||
numsurf 2
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.430831 0.118443
|
||||
1 0.438017 0.118443
|
||||
2 0.436708 0.0373884
|
||||
3 0.432131 0.0373884
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 8
|
||||
11 0.500543 0.0956831
|
||||
10 0.507948 0.0846239
|
||||
9 0.501742 0.0846239
|
||||
8 0.502212 0.0758925
|
||||
7 0.497625 0.0758925
|
||||
6 0.498106 0.0846239
|
||||
5 0.492115 0.0846239
|
||||
4 0.499051 0.0956831
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "HourHand"
|
||||
loc -0.00155632 -0.00582684 0.00879672
|
||||
texture "chronograph.png"
|
||||
crease 61.000000
|
||||
numvert 6
|
||||
0 0.00381371 -0.0168323
|
||||
0 -0.00124888 -0.0173645
|
||||
0 -0.00124888 -0.0206692
|
||||
0 0.00381371 -0.0212016
|
||||
-3.08221e-06 0.00902525 -0.018542
|
||||
-1.54134e-06 0.00902525 -0.0196133
|
||||
numsurf 3
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 4
|
||||
0 0.507812 0.0877491
|
||||
3 0.492188 0.0877491
|
||||
5 0.497867 0.0976562
|
||||
4 0.501699 0.0976562
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 3
|
||||
1 0.505909 0.078125
|
||||
3 0.492188 0.0877491
|
||||
0 0.507812 0.0877491
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 3
|
||||
3 0.492188 0.0877491
|
||||
1 0.505909 0.078125
|
||||
2 0.494091 0.078125
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "MinuteHand"
|
||||
loc -0.00126471 0.00394217 0.00387405
|
||||
texture "chronograph.png"
|
||||
crease 61.000000
|
||||
numvert 6
|
||||
0 0.00258992 -0.0126412
|
||||
0 -0.0125585 -0.013083
|
||||
0 -0.0125585 -0.0151783
|
||||
0 0.00258992 -0.0156201
|
||||
0 0.00855331 -0.0139482
|
||||
0 0.00855331 -0.0143453
|
||||
numsurf 3
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 4
|
||||
0 0.509766 0.0921393
|
||||
3 0.498047 0.0921393
|
||||
5 0.503062 0.0976562
|
||||
4 0.504624 0.0976562
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 3
|
||||
1 0.508027 0.078125
|
||||
3 0.498047 0.0921393
|
||||
0 0.509766 0.0921393
|
||||
SURF 0x0
|
||||
mat 2
|
||||
refs 3
|
||||
3 0.498047 0.0921393
|
||||
1 0.508027 0.078125
|
||||
2 0.499785 0.078125
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "SecondHand"
|
||||
loc -0.000770507 -0.00759429 -0.0026296
|
||||
texture "chronograph.png"
|
||||
crease 61.000000
|
||||
numvert 4
|
||||
0 -0.00234191 -0.00706954
|
||||
0 -0.00234191 -0.00821412
|
||||
0 0.0223991 -0.00746746
|
||||
0 0.0223786 -0.00779126
|
||||
numsurf 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.501058 0.0777449
|
||||
1 0.490155 0.0777449
|
||||
3 0.494183 0.0934806
|
||||
2 0.497268 0.0934937
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "bkg"
|
||||
loc -0.00461156 -0.00176272 -0.00165103
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
0 -0.0363912 -0.0364488
|
||||
0 -0.0363912 0.0371035
|
||||
0 0.0366204 0.0371035
|
||||
0 0.0366204 -0.0364488
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 1 1
|
||||
2 0 1
|
||||
1 0 0
|
||||
0 1 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mount"
|
||||
loc -0.00381222 -0.0015661 -0.00139603
|
||||
texture "chronometer-mount.png"
|
||||
crease 45.000000
|
||||
numvert 46
|
||||
-0.00210611 0.0378674 -0.0359342
|
||||
-0.00210611 0.0368543 -0.0376903
|
||||
0.00497255 0.0368543 -0.0376903
|
||||
0.00497255 0.0378674 -0.0359342
|
||||
0.00497255 -0.0126081 0.0306596
|
||||
0.00497255 -0.0232967 0.0234541
|
||||
0.00497255 -0.0304392 0.01267
|
||||
0.00497255 -0.0329468 -5.05809e-05
|
||||
0.00497255 -0.0304392 -0.0127712
|
||||
0.00497255 -0.0232967 -0.0235553
|
||||
0.00497255 -0.0126081 -0.0307609
|
||||
0.00497255 4.85881e-07 -0.0332909
|
||||
0.00497255 0.0126095 -0.0307609
|
||||
0.00497255 0.0232981 -0.0235553
|
||||
0.00497255 0.0304407 -0.0127712
|
||||
0.00497255 0.0329481 -5.05809e-05
|
||||
0.00497255 0.0304407 0.01267
|
||||
0.00497255 0.0232981 0.0234541
|
||||
0.00497255 0.0126095 0.0306596
|
||||
0.00497255 4.85881e-07 0.0331899
|
||||
0.00497255 4.85881e-07 0.0381343
|
||||
0.00497255 0.0347757 0.0382354
|
||||
0.00497255 0.0369706 0.0375924
|
||||
0.00497255 0.0378674 0.0354912
|
||||
0.00497255 0.0378494 -5.05809e-05
|
||||
0.00497255 0.0378674 -0.0359342
|
||||
0.00497255 0.0368543 -0.0376903
|
||||
0.00497255 0.0351226 -0.0382205
|
||||
0.00497255 4.85881e-07 -0.0382354
|
||||
0.00497255 -0.0350051 -0.0381054
|
||||
0.00497255 -0.0370822 -0.0372302
|
||||
0.00497255 -0.0378674 -0.0351318
|
||||
0.00497255 -0.037848 -5.05809e-05
|
||||
0.00497255 -0.0378674 0.0357242
|
||||
0.00497255 -0.0369692 0.0372451
|
||||
0.00497255 -0.0352362 0.0382354
|
||||
-0.00210611 -0.0352362 0.0382354
|
||||
-0.00210611 -0.0369692 0.0372451
|
||||
-0.00210611 -0.0378674 0.0357242
|
||||
-0.00210611 -0.0378674 -0.0351318
|
||||
-0.00210611 -0.0370822 -0.0372302
|
||||
-0.00210611 -0.0350051 -0.0381054
|
||||
-0.00210611 0.0351226 -0.0382205
|
||||
-0.00210611 0.0378674 0.0354912
|
||||
-0.00210611 0.0369706 0.0375924
|
||||
-0.00210611 0.0347757 0.0382354
|
||||
numsurf 36
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
37 0.92116 0.434405
|
||||
38 0.92116 0.434405
|
||||
33 0.921532 0.434695
|
||||
34 0.921367 0.43487
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
36 0.92116 0.434405
|
||||
37 0.92116 0.434405
|
||||
34 0.921367 0.43487
|
||||
35 0.92126 0.435209
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
45 0.92116 0.434405
|
||||
35 0.92126 0.435209
|
||||
20 0.921271 0.442095
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
45 0.92116 0.434405
|
||||
36 0.92116 0.434405
|
||||
35 0.92126 0.435209
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
45 0.92116 0.434405
|
||||
20 0.921271 0.442095
|
||||
21 0.92126 0.44889
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
42 0.92116 0.434405
|
||||
28 0.929543 0.442095
|
||||
41 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
3 0.92116 0.434405
|
||||
2 0.92116 0.434405
|
||||
1 0.92116 0.434405
|
||||
0 0.92116 0.434405
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
4 0.108446 0.342142
|
||||
19 0.076149 0.503444
|
||||
20 0.0130355 0.503444
|
||||
35 0.0117448 0.052664
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
5 0.200421 0.205402
|
||||
4 0.108446 0.342142
|
||||
35 0.0117448 0.052664
|
||||
34 0.0243895 0.0304906
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
6 0.338073 0.114027
|
||||
5 0.200421 0.205402
|
||||
34 0.0243895 0.0304906
|
||||
33 0.0438026 0.0190005
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
7 0.500443 0.0819523
|
||||
6 0.338073 0.114027
|
||||
33 0.0438026 0.0190005
|
||||
32 0.500443 0.0192504
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
8 0.662812 0.114027
|
||||
7 0.500443 0.0819523
|
||||
32 0.500443 0.0192504
|
||||
31 0.948233 0.0189992
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
9 0.800465 0.205402
|
||||
8 0.662812 0.114027
|
||||
31 0.948233 0.0189992
|
||||
30 0.975014 0.029042
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
10 0.892439 0.342142
|
||||
9 0.800465 0.205402
|
||||
30 0.975014 0.029042
|
||||
29 0.986188 0.0556207
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
11 0.924737 0.503444
|
||||
10 0.892439 0.342142
|
||||
29 0.986188 0.0556207
|
||||
28 0.98785 0.503444
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
12 0.892439 0.664747
|
||||
11 0.924737 0.503444
|
||||
28 0.98785 0.503444
|
||||
27 0.987659 0.952755
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
13 0.800465 0.801487
|
||||
12 0.892439 0.664747
|
||||
27 0.987659 0.952755
|
||||
26 0.980891 0.974908
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
14 0.662812 0.892862
|
||||
13 0.800465 0.801487
|
||||
26 0.980891 0.974908
|
||||
25 0.958475 0.987877
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
15 0.500443 0.924936
|
||||
14 0.662812 0.892862
|
||||
25 0.958475 0.987877
|
||||
24 0.500443 0.987637
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
16 0.338073 0.892862
|
||||
15 0.500443 0.924936
|
||||
24 0.500443 0.987637
|
||||
23 0.0467756 0.987878
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
17 0.200421 0.801487
|
||||
16 0.338073 0.892862
|
||||
23 0.0467756 0.987878
|
||||
22 0.0199547 0.976399
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
18 0.108446 0.664747
|
||||
17 0.200421 0.801487
|
||||
22 0.0199547 0.976399
|
||||
21 0.0117448 0.948318
|
||||
SURF 0x0
|
||||
mat 3
|
||||
refs 4
|
||||
19 0.076149 0.503444
|
||||
18 0.108446 0.664747
|
||||
21 0.0117448 0.948318
|
||||
20 0.0130355 0.503444
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0.92116 0.434405
|
||||
2 0.92116 0.434405
|
||||
27 0.929542 0.448958
|
||||
42 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
27 0.929542 0.448958
|
||||
28 0.929543 0.442095
|
||||
42 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
28 0.929543 0.442095
|
||||
29 0.929529 0.435254
|
||||
41 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
29 0.929529 0.435254
|
||||
30 0.929434 0.434848
|
||||
40 0.92116 0.434405
|
||||
41 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
30 0.929434 0.434848
|
||||
31 0.929207 0.434695
|
||||
39 0.92116 0.434405
|
||||
40 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
31 0.929207 0.434695
|
||||
32 0.925407 0.434699
|
||||
39 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
32 0.925407 0.434699
|
||||
33 0.921532 0.434695
|
||||
38 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
32 0.925407 0.434699
|
||||
38 0.92116 0.434405
|
||||
39 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
23 0.921557 0.449494
|
||||
24 0.925407 0.449491
|
||||
43 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
24 0.925407 0.449491
|
||||
3 0.92116 0.434405
|
||||
0 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
24 0.925407 0.449491
|
||||
0 0.92116 0.434405
|
||||
43 0.92116 0.434405
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 0.921557 0.449494
|
||||
43 0.92116 0.434405
|
||||
44 0.92116 0.434405
|
||||
22 0.921329 0.449319
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
22 0.921329 0.449319
|
||||
44 0.92116 0.434405
|
||||
45 0.92116 0.434405
|
||||
21 0.92126 0.44889
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "disk"
|
||||
loc -0.00021734 -0.0025626 -0.00147075
|
||||
texture "chronometer-mount.png"
|
||||
crease 45.000000
|
||||
numvert 9
|
||||
0 0 0
|
||||
0 -0.00258881 0.00247114
|
||||
0 -0.00366113 0
|
||||
0 -0.00258881 -0.00247114
|
||||
0 0 -0.00349472
|
||||
0 0.00258881 -0.00247114
|
||||
0 0.00366114 0
|
||||
0 0.00258881 0.00247114
|
||||
0 0 0.00349472
|
||||
numsurf 8
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
8 0.139134 0.888577
|
||||
1 0.146529 0.863756
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
1 0.146529 0.863756
|
||||
2 0.164383 0.853475
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
2 0.164383 0.853475
|
||||
3 0.182236 0.863756
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
3 0.182236 0.863756
|
||||
4 0.189631 0.888577
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
4 0.189631 0.888577
|
||||
5 0.182236 0.913397
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
5 0.182236 0.913397
|
||||
6 0.164383 0.923678
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
6 0.164383 0.923678
|
||||
7 0.146529 0.913397
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.164383 0.888577
|
||||
7 0.146529 0.913397
|
||||
8 0.139134 0.888577
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "knob"
|
||||
loc 0.0070004 -0.0294611 0.0248556
|
||||
texture "chronometer-mount.png"
|
||||
crease 95.000000
|
||||
numvert 17
|
||||
0.00646569 0 0
|
||||
-0.00646569 0 0.00684326
|
||||
-0.00646569 -0.00489572 0.00483892
|
||||
-0.00646569 -0.00692358 1.86265e-09
|
||||
-0.00646569 -0.00489572 -0.00483892
|
||||
-0.00646569 0 -0.00684326
|
||||
-0.00646569 0.00489572 -0.00483892
|
||||
-0.00646569 0.00692358 0
|
||||
-0.00646569 0.00489572 0.00483892
|
||||
0.00646569 0 0.00684326
|
||||
0.00646569 -0.00489572 0.00483892
|
||||
0.00646569 -0.00692358 1.86265e-09
|
||||
0.00646569 -0.00489572 -0.00483892
|
||||
0.00646569 0 -0.00684326
|
||||
0.00646569 0.00489572 -0.00483892
|
||||
0.00646569 0.00692358 0
|
||||
0.00646569 0.00489572 0.00483892
|
||||
numsurf 16
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
16 0.536558 0.559743
|
||||
9 0.556416 0.511618
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
9 0.556416 0.511618
|
||||
10 0.536558 0.46349
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
10 0.536558 0.46349
|
||||
11 0.488616 0.443555
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
11 0.488616 0.443555
|
||||
12 0.440674 0.46349
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
12 0.440674 0.46349
|
||||
13 0.420816 0.511618
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
13 0.420816 0.511618
|
||||
14 0.440674 0.559743
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
14 0.440674 0.559743
|
||||
15 0.488616 0.579679
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
0 0.488616 0.511618
|
||||
15 0.488616 0.579679
|
||||
16 0.536558 0.559743
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
16 0.542287 0.563037
|
||||
8 0.542287 0.563037
|
||||
1 0.564474 0.509268
|
||||
9 0.564474 0.509268
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0.564474 0.509268
|
||||
1 0.564474 0.509268
|
||||
2 0.542287 0.455497
|
||||
10 0.542287 0.455497
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
10 0.542287 0.455497
|
||||
2 0.542287 0.455497
|
||||
3 0.488724 0.433225
|
||||
11 0.488724 0.433225
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
11 0.488724 0.433225
|
||||
3 0.488724 0.433225
|
||||
4 0.435161 0.455497
|
||||
12 0.435161 0.455497
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 0.435161 0.455497
|
||||
4 0.435161 0.455497
|
||||
5 0.412974 0.509268
|
||||
13 0.412974 0.509268
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
13 0.412974 0.509268
|
||||
5 0.412974 0.509268
|
||||
6 0.435161 0.563037
|
||||
14 0.435161 0.563037
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
14 0.435161 0.563037
|
||||
6 0.435161 0.563037
|
||||
7 0.488724 0.58531
|
||||
15 0.488724 0.58531
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 0.488724 0.58531
|
||||
7 0.488724 0.58531
|
||||
8 0.542287 0.563037
|
||||
16 0.542287 0.563037
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "button"
|
||||
loc 0.00479901 0.0256804 -0.0274454
|
||||
texture "chronometer-mount.png"
|
||||
crease 96.000000
|
||||
numvert 17
|
||||
0.00353842 0.00376631 0.00372262
|
||||
0.00353842 0.00532636 0
|
||||
0.00353842 0.00376631 -0.00372262
|
||||
0.00353842 0 -0.00526458
|
||||
0.00353842 -0.00376631 -0.00372262
|
||||
0.00353842 -0.00532636 1.86265e-09
|
||||
0.00353842 -0.00376631 0.00372262
|
||||
0.00353842 0 0.00526457
|
||||
-0.00353842 0.00376631 0.00372262
|
||||
-0.00353842 0.00532636 0
|
||||
-0.00353842 0.00376631 -0.00372262
|
||||
-0.00353842 0 -0.00526458
|
||||
-0.00353842 -0.00376631 -0.00372262
|
||||
-0.00353842 -0.00532636 1.86265e-09
|
||||
-0.00353842 -0.00376631 0.00372262
|
||||
-0.00353842 0 0.00526457
|
||||
0.00353842 0 0
|
||||
numsurf 16
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0.49047 0.5984
|
||||
9 0.49047 0.5984
|
||||
8 0.552206 0.573075
|
||||
0 0.552206 0.573075
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
2 0.428739 0.573075
|
||||
10 0.428739 0.573075
|
||||
9 0.49047 0.5984
|
||||
1 0.49047 0.5984
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
3 0.403166 0.511936
|
||||
11 0.403166 0.511936
|
||||
10 0.428739 0.573075
|
||||
2 0.428739 0.573075
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0.428739 0.450797
|
||||
12 0.428739 0.450797
|
||||
11 0.403166 0.511936
|
||||
3 0.403166 0.511936
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
5 0.49047 0.425473
|
||||
13 0.49047 0.425473
|
||||
12 0.428739 0.450797
|
||||
4 0.428739 0.450797
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0.552206 0.450797
|
||||
14 0.552206 0.450797
|
||||
13 0.49047 0.425473
|
||||
5 0.49047 0.425473
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 0.57778 0.511936
|
||||
15 0.57778 0.511936
|
||||
14 0.552206 0.450797
|
||||
6 0.552206 0.450797
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.552206 0.573075
|
||||
8 0.552206 0.573075
|
||||
15 0.57778 0.511936
|
||||
7 0.57778 0.511936
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
1 0.489576 0.580126
|
||||
0 0.537558 0.560443
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
2 0.441598 0.560443
|
||||
1 0.489576 0.580126
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
3 0.421722 0.512925
|
||||
2 0.441598 0.560443
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
4 0.441598 0.465407
|
||||
3 0.421722 0.512925
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
5 0.489576 0.445724
|
||||
4 0.441598 0.465407
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
6 0.537558 0.465407
|
||||
5 0.489576 0.445724
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
7 0.557434 0.512925
|
||||
6 0.537558 0.465407
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 0.489576 0.512925
|
||||
0 0.537558 0.560443
|
||||
7 0.557434 0.512925
|
||||
kids 0
|
||||
OBJECT group
|
||||
name "hotspots"
|
||||
loc 0.00319534 -0.0112699 0.00747145
|
||||
kids 3
|
||||
OBJECT poly
|
||||
name "chronometer-button"
|
||||
loc 0 0.0367766 -0.0348287
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
0 -0.00795577 -0.00765067
|
||||
0 -0.00795577 0.00765067
|
||||
0 0.00795577 0.00765067
|
||||
0 0.00795577 -0.00765067
|
||||
numsurf 1
|
||||
SURF 0x30
|
||||
mat 4
|
||||
refs 4
|
||||
3 1 1
|
||||
2 0 1
|
||||
1 0 0
|
||||
0 1 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "time-offset-right"
|
||||
loc 0 -0.0183883 0.0111031
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
0 0.00795577 -0.00589755
|
||||
0 0.00795577 0.00589755
|
||||
0 -0.00795577 0.00589755
|
||||
0 -0.00795577 -0.00589755
|
||||
numsurf 1
|
||||
SURF 0x30
|
||||
mat 4
|
||||
refs 4
|
||||
0 1 1
|
||||
1 0 1
|
||||
2 0 0
|
||||
3 1 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "time-offset-left"
|
||||
loc 0 -0.0183883 0.0237256
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
0 -0.00795577 -0.00589755
|
||||
0 -0.00795577 0.00589755
|
||||
0 0.00795577 0.00589755
|
||||
0 0.00795577 -0.00589755
|
||||
numsurf 1
|
||||
SURF 0x30
|
||||
mat 4
|
||||
refs 4
|
||||
3 1 1
|
||||
2 0 1
|
||||
1 0 0
|
||||
0 1 0
|
||||
kids 0
|
55
Aircraft/Instruments-3d/chronograph/chronograph.nas
Normal file
55
Aircraft/Instruments-3d/chronograph/chronograph.nas
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Chronograph #############
|
||||
|
||||
# One button elapsed counter
|
||||
|
||||
var chrono_onoff = props.globals.getNode("instrumentation/clock/chronometer-on",1);
|
||||
var reset_state = props.globals.getNode("instrumentation/clock/reset-state",1);
|
||||
var elapsed_sec = props.globals.getNode("instrumentation/clock/elapsed-sec", 1);
|
||||
var indicated_sec = props.globals.getNode("instrumentation/clock/indicated-sec");
|
||||
|
||||
aircraft.data.add("/instrumentation/clock/offset-sec");
|
||||
|
||||
chrono_onoff.setBoolValue( 0 );
|
||||
reset_state.setBoolValue( 1 );
|
||||
elapsed_sec.setValue( 0 );
|
||||
var offset = 0;
|
||||
|
||||
var click = func {
|
||||
var on = chrono_onoff.getBoolValue();
|
||||
var reset = reset_state.getBoolValue();
|
||||
if ( ! on ) {
|
||||
if ( ! reset ) {
|
||||
# Had been former started and stoped, now, has to be reset.
|
||||
offset = 0;
|
||||
elapsed_sec.setValue( 0 );
|
||||
reset_state.setBoolValue( 1 );
|
||||
} else {
|
||||
# Is not started but allready reset, start it.
|
||||
chrono_onoff.setBoolValue( 1 );
|
||||
reset_state.setBoolValue( 0 );
|
||||
offset = indicated_sec.getValue();
|
||||
}
|
||||
} else {
|
||||
# Stop it.
|
||||
chrono_onoff.setBoolValue( 0 );
|
||||
reset_state.setBoolValue( 0 );
|
||||
}
|
||||
}
|
||||
|
||||
var update_chrono = func {
|
||||
var on = chrono_onoff.getBoolValue();
|
||||
if ( on ) {
|
||||
var i_sec = indicated_sec.getValue();
|
||||
var e_sec = i_sec - offset;
|
||||
elapsed_sec.setValue( e_sec );
|
||||
}
|
||||
}
|
||||
|
||||
# Comment the following if update_chrono() is launched from a
|
||||
# centralized loop in order to save some CPU cycles.
|
||||
|
||||
var chrono_loop = func {
|
||||
update_chrono();
|
||||
settimer(chrono_loop, 0.1);
|
||||
}
|
||||
settimer(chrono_loop, 0.5);
|
BIN
Aircraft/Instruments-3d/chronograph/chronograph.png
Normal file
BIN
Aircraft/Instruments-3d/chronograph/chronograph.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
202
Aircraft/Instruments-3d/chronograph/chronograph.xml
Normal file
202
Aircraft/Instruments-3d/chronograph/chronograph.xml
Normal file
|
@ -0,0 +1,202 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<path>chronograph.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>clock</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>sim/current-view/name</property>
|
||||
<value>Cockpit View</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>HourHand</object-name>
|
||||
<property>instrumentation/clock/indicated-sec</property>
|
||||
<factor>0.00833333333333333</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>MinuteHand</object-name>
|
||||
<property>instrumentation/clock/indicated-sec</property>
|
||||
<factor>0.1</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>SecondHand</object-name>
|
||||
<property>instrumentation/clock/elapsed-sec</property>
|
||||
<factor>6</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>ElapsedMinutesHand</object-name>
|
||||
<property>instrumentation/clock/elapsed-sec</property>
|
||||
<factor>0.1</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Clock Setting Knob -->
|
||||
<animation>
|
||||
<name>time-offset-left-fine</name>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>time-offset-left</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/clock/offset-sec</property>
|
||||
<step>-60</step>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>time-offset-left-hours</name>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>time-offset-left</object-name>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/clock/offset-sec</property>
|
||||
<step>-3600</step>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>time-offset-right-fine</name>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>time-offset-right</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/clock/offset-sec</property>
|
||||
<step>60</step>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>time-offset-right-hours</name>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>time-offset-right</object-name>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/clock/offset-sec</property>
|
||||
<step>3600</step>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- Chronometer Start Stop Button -->
|
||||
<animation>
|
||||
<name>start-stop-reset</name>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>chronometer-button</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>chronograph.click()</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- lighting -->
|
||||
<animation>
|
||||
<object-name>mount</object-name>
|
||||
<type>material</type>
|
||||
<emission>
|
||||
<factor-prop>controls/lighting/panel-norm</factor-prop>
|
||||
<red>0.55</red>
|
||||
<green>0.24</green>
|
||||
<blue>0.10</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<animation>
|
||||
<object-name>knob</object-name>
|
||||
<type>material</type>
|
||||
<emission>
|
||||
<factor-prop>controls/lighting/panel-norm</factor-prop>
|
||||
<red>0.55</red>
|
||||
<green>0.24</green>
|
||||
<blue>0.10</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<animation>
|
||||
<object-name>button</object-name>
|
||||
<type>material</type>
|
||||
<emission>
|
||||
<factor-prop>controls/lighting/panel-norm</factor-prop>
|
||||
<red>0.55</red>
|
||||
<green>0.24</green>
|
||||
<blue>0.10</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>face</object-name>
|
||||
<emission>
|
||||
<factor-prop>controls/lighting/instruments-norm</factor-prop>
|
||||
<red>0.55</red>
|
||||
<green>0.24</green>
|
||||
<blue>0.10</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>needles</object-name>
|
||||
<emission>
|
||||
<factor-prop>controls/lighting/instruments-norm</factor-prop>
|
||||
<red>0.55</red>
|
||||
<green>0.24</green>
|
||||
<blue>0.10</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
|
||||
<!-- LoD -->
|
||||
<animation>
|
||||
<type>range</type>
|
||||
<min-m>0</min-m>
|
||||
<max-m>35</max-m>
|
||||
</animation>
|
||||
</PropertyList>
|
BIN
Aircraft/Instruments-3d/chronograph/chronometer-mount.png
Normal file
BIN
Aircraft/Instruments-3d/chronograph/chronometer-mount.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Add table
Reference in a new issue