Search found 2262 matches
- Thu Apr 27, 2017 7:00 pm
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
Hmmm... I started to investigate this text display problem, and it appears that it's even more complicated than I figured at first. Texts are displayed in Java using what is called "Font Metrics", which are in fact internal dimensional properties of a specific font. These properties are de...
- Thu Apr 27, 2017 5:30 pm
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
Thanks for the link Doc, but one also needs a special licence file, that was what I was talking about in fact....
Jacques
Jacques
- Thu Apr 27, 2017 4:38 pm
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
Russ You can use for this purpose the text test tool I developed for the 2.1 version, it already has the grid and can display whatever text. Using it, I figured that the anchor point for the JavaFx version is the top leftmost position of the bounding box of a text in CAPITALS and ACCENTED Letters (s...
- Wed Apr 26, 2017 7:59 pm
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
Thanks Russ If I can understand the change of parameters used by the OpenGL version, what I don't get is why the change of text positioning. Is this offset constant, or related to a change of the anchor point of the text between JavaFX and OpenGL? Worth an investigation, if this can prevent a painfu...
- Wed Apr 26, 2017 12:08 pm
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
When talking about 3D effect, wasn't thinking of real 3D object, but merely a way to space unevenly the 1pixel high image used to of the wheel. If one could have the spacing varying from a set value of 100% at the center to nearly 0 at both edges, it would naturally emulate the 3D effect. As for the...
- Wed Apr 26, 2017 5:25 am
- Forum: Air Manager
- Topic: Air Manager 3.0 development updates
- Replies: 90
- Views: 34144
Re: Air Manager 3.0 development updates
Russ, you've found a very clever way to address the 3D effect problem of the scrolling wheel, as ever.... Though you have found a workaround, the best would be to add IMHO an additional (and optional) "3D" parameter which would allow a progressive decrement of the one pixel line spacing, s...
- Mon Apr 24, 2017 9:43 am
- Forum: Under development and finished work
- Topic: Proline PFD/MFD
- Replies: 37
- Views: 21191
Re: Proline PFD/MFD
Very nice work! Guess it could be converted towards an FSX/P3D version easily, once you are finished. I see some communalities with the ASPEN EFD I worked on last year, and you've setup a very clever way to handle the moving map problem, essentially by recreating it from scratch, that makes me want ...
- Sun Apr 23, 2017 8:32 pm
- Forum: Air Manager Help
- Topic: Instruments show in 2 places on startup
- Replies: 4
- Views: 2367
Re: Instruments show in 2 places on startup
Does this happen when you launch AM after FSX? Worth a try to see if this is related. Another hint: That could be related to automatic plane switching.... If you have created multiple panels of the same kind and each of these panels are linked to the P51 in the "Aircraft Switching" section...
- Sun Apr 23, 2017 4:43 am
- Forum: Cockpit building
- Topic: Mouse rotary encoder for heading bug
- Replies: 13
- Views: 7504
Re: Mouse rotary encoder for heading bug
I too am an hardware fan. As a pilot in real life, and using my sim for training, I always felt that rotating a dial with a mouse was anti natural and quickly tried to have at least some hardware dials. I went first the LeoBodnar way, which I agree is the easiest way, BUT even if it can handle encod...
- Fri Apr 21, 2017 12:14 am
- Forum: Lua and API Scripting Help
- Topic: Bearing/Distance
- Replies: 9
- Views: 3784
Re: Bearing/Distance
In the meantime I worked out the bearing problem (was related to the atan2() formula which in fact existed in Lua 5.1) and the bearings seem to be corrected as well Here's the complete code for you to try. As I don't have the "snowflake.png" file you are referring to in your code, I droppe...