Hi George
First is first.
I am sure the scale is incorrect. To prove it, I grabbed the gauge to the simulator:
I had this readings:
- From the image, 1015.5 mbar and something close to 30.087 inHg.
- Correct 1:1 match: 1015.5 mbar its real equivalent is a value close to 29.9877 inHg
1 mbar = 0.02952999 inHg
1 inHg = 33.86388 mbar
The result in the actual scale:
As you can see, the scale is utterly wrong (
all is my fault; I am very sorry). When we designed the art for the 206, at least I never tested the 2D gauge in the simulator... until now.
Another issue, it is unknown to me which are the inicial and final values for each side; that would make it easier to rectify or correct the scale. That being said, lets supose that the actual scale is correct and
each value in mbars matches horizontally with its equivalent inHg (for reference). From my real limited knowledge doing custom animations, once the scale is right, you need to animate the rotation considering the range of values and the exact angles where the initial and final values are seated on the scale. Here is the code I used for this scale in the 2D gauge (FS9 version):
HTML:
<Element>
<Position X="375" Y="375"/>
<Image Name="206_altimeter_Kohlsman.bmp">
<!--<Axis X="375" Y="375" PointsTo="East"/> -->
<Axis X="375" Y="375"/>
</Image>
<Rotate>
<!-- <Value Minimum="29.70" Maximum="30.30"> (A:Kohlsman setting hg, inHg)</Value> -->
<!-- <Value>(A:Kohlsman setting hg, inHg)</Value> -->
<Value> (A:Kohlsman setting hg, inHg) 29.60 max 30.40 min </Value>
<Failures>
<GAUGE_ALTIMETER Action="Freeze"/>
<SYSTEM_PITOT_STATIC Action="Freeze"/>
<SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="29.60" X="374" Y="66"/>
<Item Value="30.40" X="375" Y="684"/>
</Nonlinearity>
</Rotate>
</Element>
It should be easier for you to translate this code to a custom animation.
Also, attached to this thread, is the actual gauge (it does not have implemented the calibration button). The issue at hand has not been solved; however some problems have been spotted before you begin to code the 3D altimeter. I am sure that you will get it right
and the real help is on the way.
Addendum:
This sort of work, in the real world is made with a proper CAD program in order to have precise measurents. At least for me, in photoshop is very hard to get the rotations right. The program shifts the selection from the geometric center each time I attempt to rotate segments of an image. For that reason, the program "offers" the option to choose the center of rotation. It is not the same to rotate pixels than mechanical pieces!
This is not an excuse, I did it wrong.