WillyB <[EMAIL PROTECTED]> said:

> Got it moving from the correct position now...   what's left is getting the 
> factor correct so it does not go out past the side of the gauge!

There's a compass tool in gimp.  What I do is load the face texture in gimp, 
click it where the center of rotation is and then drag it to the index tick I
want and it gives an angle.  Sometimes you have to normalize the value
(subtract it from 90 or whatever) depending on where your needle starts in the
model, but it is a very accurate method.

Take the maximum value for the gauge property, divide that into the angle that
points to the index representing that value and you have a factor.

If the indexes are not linear,  which I believe can happen with an oil
pressure gauge, then do an interpretation table instead of factor.  With the
interpretation table just figure out the angle to each index tick on the
gauge, and what value that tick represents (pressure), and make a table of it,
starting with the lowest property value first.

Best,

Jim


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to