The AI is now fully function, except that the position bezel isn't
user-adjustable yet.
This commit is contained in:
parent
67da88632c
commit
0644fdc4cd
7 changed files with 148 additions and 8 deletions
|
@ -1,18 +1,18 @@
|
|||
AC3Db
|
||||
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
OBJECT world
|
||||
kids 1
|
||||
kids 5
|
||||
OBJECT poly
|
||||
name "Face"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai.rgb"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai01.rgb"
|
||||
texrep 1 1
|
||||
numvert 6
|
||||
0 0.04 -0.04
|
||||
0 -0.04 -0.04
|
||||
0 -0.04 0.04
|
||||
0 0.04 0.04
|
||||
0 0 0.04
|
||||
0 0 -0.04
|
||||
-1.9e-05 0.04 -0.04
|
||||
-1.9e-05 -0.04 -0.04
|
||||
-1.9e-05 -0.04 0.04
|
||||
-1.9e-05 0.04 0.04
|
||||
-1.9e-05 0 0.04
|
||||
-1.9e-05 0 -0.04
|
||||
numsurf 2
|
||||
SURF 0x00
|
||||
mat 0
|
||||
|
@ -29,3 +29,111 @@ refs 4
|
|||
1 0.8828125 0.11328125
|
||||
5 0.8828125 0.498046875
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Pitch"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai04.rgb"
|
||||
texrep 1 1
|
||||
numvert 6
|
||||
0.001009 0.018038 -0.02648
|
||||
0.001009 -0.018038 -0.02648
|
||||
0.001009 -0.018038 0.02648
|
||||
0.001009 0.018038 0.02648
|
||||
0.001009 0 0.02648
|
||||
0.001009 0 -0.02648
|
||||
numsurf 2
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.84375 0.72265625
|
||||
3 0.15234375 0.72265625
|
||||
4 0.15234375 0.49609375
|
||||
5 0.84375 0.49609375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.15234375 0.49609375
|
||||
2 0.15234375 0.26953125
|
||||
1 0.84375 0.26953125
|
||||
5 0.84375 0.49609375
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Bezel"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai05.rgb"
|
||||
texrep 1 1
|
||||
numvert 6
|
||||
0.002034 0.006477 -0.012
|
||||
0.002034 -0.017523 -0.012
|
||||
0.002034 -0.017523 0.012
|
||||
0.002034 0.006477 0.012
|
||||
0.002034 -0.005523 0.012
|
||||
0.002034 -0.005523 -0.012
|
||||
numsurf 2
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.984375 0.984375
|
||||
3 0.0 0.984375
|
||||
4 0.0 0.484375
|
||||
5 0.984375 0.484375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.0 0.484375
|
||||
2 0.0 0.0
|
||||
1 0.984375 0.0
|
||||
5 0.984375 0.484375
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Ring"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai02.rgb"
|
||||
texrep 1 1
|
||||
numvert 6
|
||||
0.003025 0.04 -0.04
|
||||
0.003025 -0.04 -0.04
|
||||
0.003025 -0.04 0.04
|
||||
0.003025 0.04 0.04
|
||||
0.003025 0 0.04
|
||||
0.003025 0 -0.04
|
||||
numsurf 2
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.953125 0.953125
|
||||
3 0.03125 0.953125
|
||||
4 0.03125 0.49609375
|
||||
5 0.953125 0.49609375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.03125 0.49609375
|
||||
2 0.03125 0.03125
|
||||
1 0.953125 0.03125
|
||||
5 0.953125 0.49609375
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Front"
|
||||
texture "/home/david/src/blender/Instruments/ai/ai03.rgb"
|
||||
texrep 1 1
|
||||
numvert 6
|
||||
0.003937 0.04 -0.04
|
||||
0.003937 -0.04 -0.04
|
||||
0.003937 -0.04 0.04
|
||||
0.003937 0.04 0.04
|
||||
0.003937 0 0.04
|
||||
0.003937 0 -0.04
|
||||
numsurf 2
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.9765625 0.9765625
|
||||
3 0.0078125 0.9765625
|
||||
4 0.0078125 0.49609375
|
||||
5 0.9765625 0.49609375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.0078125 0.49609375
|
||||
2 0.0078125 0.0078125
|
||||
1 0.9765625 0.0078125
|
||||
5 0.9765625 0.49609375
|
||||
kids 0
|
||||
|
|
|
@ -4,9 +4,41 @@
|
|||
|
||||
<path>ai.ac</path>
|
||||
|
||||
<animation>
|
||||
<name>PitchTranslation</name>
|
||||
<type>translate</type>
|
||||
<object-name>Pitch</object-name>
|
||||
<property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
|
||||
<factor>-0.00035</factor>
|
||||
<min-m>-0.01575</min-m>
|
||||
<max-m>0.01575</max-m>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Face</object-name>
|
||||
<object-name>PitchTranslation</object-name>
|
||||
<property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
|
||||
<factor>-1</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!--
|
||||
This cannot be part of the same rotation as the others, or else
|
||||
it screws up the alpha drawing order and hides the bezel.
|
||||
-->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Ring</object-name>
|
||||
<property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
|
||||
<factor>-1</factor>
|
||||
<axis>
|
||||
|
|
BIN
Aircraft/Instruments-3d/ai/ai02.rgb
Normal file
BIN
Aircraft/Instruments-3d/ai/ai02.rgb
Normal file
Binary file not shown.
BIN
Aircraft/Instruments-3d/ai/ai03.rgb
Normal file
BIN
Aircraft/Instruments-3d/ai/ai03.rgb
Normal file
Binary file not shown.
BIN
Aircraft/Instruments-3d/ai/ai04.rgb
Normal file
BIN
Aircraft/Instruments-3d/ai/ai04.rgb
Normal file
Binary file not shown.
BIN
Aircraft/Instruments-3d/ai/ai05.rgb
Normal file
BIN
Aircraft/Instruments-3d/ai/ai05.rgb
Normal file
Binary file not shown.
Loading…
Reference in a new issue