3D glareshield-mounted wet compass (typical mounting position for
single-engine Cessnas). TODO: add support for dip.
This commit is contained in:
parent
954b758e3e
commit
f0623d893c
3 changed files with 498 additions and 0 deletions
480
Aircraft/Instruments-3d/mag-compass.ac
Normal file
480
Aircraft/Instruments-3d/mag-compass.ac
Normal file
|
@ -0,0 +1,480 @@
|
|||
AC3Db
|
||||
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 64 trans 0
|
||||
OBJECT world
|
||||
kids 3
|
||||
OBJECT poly
|
||||
name "Ring"
|
||||
texture "mag-compass.rgb"
|
||||
texrep 1 1
|
||||
numvert 48
|
||||
-0.012335 0.019626 -0.012335
|
||||
-0.006676 0.019626 -0.016116
|
||||
0 0.019626 -0.017444
|
||||
0.006676 0.019626 -0.016116
|
||||
0.012335 0.019626 -0.012335
|
||||
0.016116 0.019626 -0.006676
|
||||
0.017444 0.019626 0
|
||||
0.016116 0.019626 0.006676
|
||||
0.012335 0.019626 0.012335
|
||||
0.006676 0.019626 0.016116
|
||||
0 0.019626 0.017444
|
||||
-0.006676 0.019626 0.016116
|
||||
-0.012335 0.019626 0.012335
|
||||
-0.016116 0.019626 0.006676
|
||||
-0.017444 0.019626 0
|
||||
-0.016116 0.019626 -0.006676
|
||||
-0.019361 0.007711 -0.0075
|
||||
-0.020956 0.007711 0
|
||||
-0.019361 0.007711 0.0075
|
||||
-0.014818 0.007711 0.013858
|
||||
-0.00802 0.007711 0.018106
|
||||
0 0.007711 0.019598
|
||||
0.00802 0.007711 0.018106
|
||||
0.014818 0.007711 0.013858
|
||||
0.019361 0.007711 0.0075
|
||||
0.020956 0.007711 0
|
||||
0.019361 0.007711 -0.0075
|
||||
0.014818 0.007711 -0.013858
|
||||
0.00802 0.007711 -0.018106
|
||||
0 0.007711 -0.019598
|
||||
-0.00802 0.007711 -0.018106
|
||||
-0.014818 0.007711 -0.013858
|
||||
-0.012024 0.003838 -0.012024
|
||||
-0.006507 0.003838 -0.01571
|
||||
0 0.003838 -0.017005
|
||||
0.006507 0.003838 -0.01571
|
||||
0.012024 0.003838 -0.012024
|
||||
0.01571 0.003838 -0.006507
|
||||
0.017005 0.003838 0
|
||||
0.01571 0.003838 0.006507
|
||||
0.012024 0.003838 0.012024
|
||||
0.006507 0.003838 0.01571
|
||||
0 0.003838 0.017005
|
||||
-0.006507 0.003838 0.01571
|
||||
-0.012024 0.003838 0.012024
|
||||
-0.01571 0.003838 0.006507
|
||||
-0.017005 0.003838 0
|
||||
-0.01571 0.003838 -0.006507
|
||||
numsurf 32
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
31 0.49609375 0.0625
|
||||
0 0.49609375 0.2578125
|
||||
1 0.375 0.2578125
|
||||
30 0.375 0.0625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.25 0.2578125
|
||||
29 0.25 0.0625
|
||||
30 0.375 0.0625
|
||||
1 0.375 0.2578125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.12890625 0.2578125
|
||||
28 0.12890625 0.0625
|
||||
29 0.25 0.0625
|
||||
2 0.25 0.2578125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.00390625 0.2578125
|
||||
27 0.00390625 0.0625
|
||||
28 0.12890625 0.0625
|
||||
3 0.12890625 0.2578125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.375 1.0
|
||||
26 0.375 0.8125
|
||||
27 0.49609375 0.8125
|
||||
4 0.49609375 1.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.25 1.0
|
||||
25 0.25 0.8125
|
||||
26 0.375 0.8125
|
||||
5 0.375 1.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.12890625 1.0
|
||||
24 0.12890625 0.8125
|
||||
25 0.25 0.8125
|
||||
6 0.25 1.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 0.00390625 1.0
|
||||
23 0.00390625 0.8125
|
||||
24 0.12890625 0.8125
|
||||
7 0.12890625 1.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
9 0.375 0.75390625
|
||||
22 0.375 0.5625
|
||||
23 0.49609375 0.5625
|
||||
8 0.49609375 0.75390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
10 0.25 0.75390625
|
||||
21 0.25 0.5625
|
||||
22 0.375 0.5625
|
||||
9 0.375 0.75390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
11 0.12890625 0.75390625
|
||||
20 0.12890625 0.5625
|
||||
21 0.25 0.5625
|
||||
10 0.25 0.75390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
12 0.00390625 0.75390625
|
||||
19 0.00390625 0.5625
|
||||
20 0.12890625 0.5625
|
||||
11 0.12890625 0.75390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
13 0.375 0.50390625
|
||||
18 0.375 0.3125
|
||||
19 0.49609375 0.3125
|
||||
12 0.49609375 0.50390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
14 0.25 0.50390625
|
||||
17 0.25 0.3125
|
||||
18 0.375 0.3125
|
||||
13 0.375 0.50390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
15 0.12890625 0.50390625
|
||||
16 0.12890625 0.3125
|
||||
17 0.25 0.3125
|
||||
14 0.25 0.50390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.00390625 0.50390625
|
||||
31 0.00390625 0.3125
|
||||
16 0.12890625 0.3125
|
||||
15 0.12890625 0.50390625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
31 0.00390625 0.3125
|
||||
32 0.00390625 0.2578125
|
||||
47 0.12890625 0.2578125
|
||||
16 0.12890625 0.3125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
16 0.12890625 0.3125
|
||||
47 0.12890625 0.2578125
|
||||
46 0.25 0.2578125
|
||||
17 0.25 0.3125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
17 0.25 0.3125
|
||||
46 0.25 0.2578125
|
||||
45 0.375 0.2578125
|
||||
18 0.375 0.3125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
18 0.375 0.3125
|
||||
45 0.375 0.2578125
|
||||
44 0.49609375 0.2578125
|
||||
19 0.49609375 0.3125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
19 0.00390625 0.5625
|
||||
44 0.00390625 0.50390625
|
||||
43 0.12890625 0.50390625
|
||||
20 0.12890625 0.5625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
20 0.12890625 0.5625
|
||||
43 0.12890625 0.50390625
|
||||
42 0.25 0.50390625
|
||||
21 0.25 0.5625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
21 0.25 0.5625
|
||||
42 0.25 0.50390625
|
||||
41 0.375 0.50390625
|
||||
22 0.375 0.5625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
22 0.375 0.5625
|
||||
41 0.375 0.50390625
|
||||
40 0.49609375 0.50390625
|
||||
23 0.49609375 0.5625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
23 0.00390625 0.8125
|
||||
40 0.00390625 0.75390625
|
||||
39 0.12890625 0.75390625
|
||||
24 0.12890625 0.8125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
24 0.12890625 0.8125
|
||||
39 0.12890625 0.75390625
|
||||
38 0.25 0.75390625
|
||||
25 0.25 0.8125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
25 0.25 0.8125
|
||||
38 0.25 0.75390625
|
||||
37 0.375 0.75390625
|
||||
26 0.375 0.8125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
26 0.375 0.8125
|
||||
37 0.375 0.75390625
|
||||
36 0.49609375 0.75390625
|
||||
27 0.49609375 0.8125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
27 0.00390625 0.0625
|
||||
36 0.00390625 0.0
|
||||
35 0.12890625 0.0
|
||||
28 0.12890625 0.0625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
28 0.12890625 0.0625
|
||||
35 0.12890625 0.0
|
||||
34 0.25 0.0
|
||||
29 0.25 0.0625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
29 0.25 0.0625
|
||||
34 0.25 0.0
|
||||
33 0.375 0.0
|
||||
30 0.375 0.0625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
30 0.375 0.0625
|
||||
33 0.375 0.0
|
||||
32 0.49609375 0.0
|
||||
31 0.49609375 0.0625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Interior"
|
||||
texture "mag-compass.rgb"
|
||||
texrep 1 1
|
||||
numvert 14
|
||||
-0.05076 0.028615 -0.022405
|
||||
-0.05076 0.00034 -0.022405
|
||||
-0.05076 0.00034 0.022405
|
||||
-0.05076 0.028615 0.022405
|
||||
0.032565 0.032594 0.026345
|
||||
0.027754 0.00034 0.026345
|
||||
0.027754 0.00034 -0.026345
|
||||
0.032565 0.032594 -0.026345
|
||||
0.034332 0.035063 -0.013173
|
||||
0.034332 0.035063 0.013173
|
||||
-0.05076 0.031085 -0.011202
|
||||
-0.05076 0.031085 0.011202
|
||||
0.027754 0.024356 0.026345
|
||||
0.027754 0.024356 -0.026345
|
||||
numsurf 10
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 0.74609375 0.25
|
||||
9 0.74609375 0.0
|
||||
11 0.99609375 0.0
|
||||
10 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.74609375 0.25
|
||||
7 0.74609375 0.0
|
||||
8 0.99609375 0.0
|
||||
10 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.74609375 0.25
|
||||
0 0.74609375 0.0
|
||||
13 0.99609375 0.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.74609375 0.25
|
||||
11 0.74609375 0.0
|
||||
9 0.99609375 0.0
|
||||
4 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.74609375 0.25
|
||||
4 0.74609375 0.0
|
||||
12 0.99609375 0.0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.74609375 0.25
|
||||
1 0.74609375 0.0
|
||||
6 0.99609375 0.0
|
||||
13 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.74609375 0.25
|
||||
3 0.74609375 0.0
|
||||
12 0.99609375 0.0
|
||||
5 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.74609375 0.25
|
||||
10 0.74609375 0.0
|
||||
11 0.99609375 0.0
|
||||
3 0.99609375 0.25
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.74609375 0.25
|
||||
3 0.74609375 0.0
|
||||
2 0.99609375 0.0
|
||||
1 0.99609375 0.25
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.74609375 0.25
|
||||
5 0.74609375 0.0
|
||||
6 0.99609375 0.0
|
||||
1 0.99609375 0.25
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Casing"
|
||||
texture "mag-compass.rgb"
|
||||
texrep 1 1
|
||||
numvert 14
|
||||
-0.05076 0.028615 -0.022405
|
||||
-0.05076 -0.007938 -0.022405
|
||||
-0.05076 -0.007938 0.022405
|
||||
-0.05076 0.028615 0.022405
|
||||
0.032565 0.032594 0.026345
|
||||
0.027754 -0.007938 0.026345
|
||||
0.027754 -0.007938 -0.026345
|
||||
0.032565 0.032594 -0.026345
|
||||
0.034332 0.035063 -0.013173
|
||||
0.034332 0.035063 0.013173
|
||||
-0.05076 0.031085 -0.011202
|
||||
-0.05076 0.031085 0.011202
|
||||
0.027754 0.024356 0.026345
|
||||
0.027754 0.024356 -0.026345
|
||||
numsurf 13
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.6171875 0.6796875
|
||||
12 0.6171875 0.59765625
|
||||
9 0.7109375 0.69921875
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.9921875 0.6796875
|
||||
8 0.8984375 0.69921875
|
||||
13 0.9921875 0.59765625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 0.98046875 0.921875
|
||||
10 0.7578125 0.9140625
|
||||
11 0.7578125 0.859375
|
||||
9 0.98046875 0.8515625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 0.8984375 0.69921875
|
||||
9 0.7109375 0.69921875
|
||||
12 0.6171875 0.59765625
|
||||
13 0.9921875 0.59765625
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.7578125 0.9453125
|
||||
10 0.7578125 0.9140625
|
||||
8 0.98046875 0.921875
|
||||
7 0.9765625 0.953125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.98046875 0.9140625
|
||||
7 0.77734375 0.921875
|
||||
13 0.7890625 0.90234375
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.7578125 0.828125
|
||||
4 0.9765625 0.8203125
|
||||
9 0.98046875 0.8515625
|
||||
11 0.7578125 0.859375
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.77734375 0.9296875
|
||||
12 0.96484375 0.91015625
|
||||
4 0.98828125 0.9453125
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.98046875 0.9140625
|
||||
13 0.7890625 0.90234375
|
||||
6 0.7890625 0.84375
|
||||
1 0.98046875 0.84375
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.77734375 0.796875
|
||||
5 0.96484375 0.796875
|
||||
12 0.96484375 0.91015625
|
||||
3 0.77734375 0.9296875
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.77734375 0.94921875
|
||||
3 0.984375 0.94921875
|
||||
11 0.93359375 0.9609375
|
||||
10 0.828125 0.9609375
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.77734375 0.94921875
|
||||
1 0.77734375 0.81640625
|
||||
2 0.984375 0.81640625
|
||||
3 0.984375 0.94921875
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.6171875 0.28125
|
||||
6 0.9921875 0.28125
|
||||
13 0.9921875 0.59765625
|
||||
12 0.6171875 0.59765625
|
||||
kids 0
|
BIN
Aircraft/Instruments-3d/mag-compass.rgb
Normal file
BIN
Aircraft/Instruments-3d/mag-compass.rgb
Normal file
Binary file not shown.
18
Aircraft/Instruments-3d/mag-compass.xml
Normal file
18
Aircraft/Instruments-3d/mag-compass.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>mag-compass.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Ring</object-name>
|
||||
<property>/instrumentation/magnetic-compass/indicated-heading-deg</property>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
Loading…
Reference in a new issue