- Messages
- 118
- Country
Hi, I'm new to FSDeveloper and new to Fsx gauge devpt as well, so please forgive me if I have "newbie" questions (sure I will).
However I'm not new to flight sim world. Started on Amiga with F-18 interceptor (1988 whoua ). I used to develop some programs for Fly! 2, 10 years ago (Squawkbox, multiplayer p2p system...).
I'm working on a weather radar gauge to use with Active Sky Next API. The goal is to have a gauge which can be used in a standalone window, and also integrated in a VC.
I used the ESP Gdi+ sample with dual transparent/opaque gauge which is very usefull. I use also the Gdi+ interpolation capabilities to have nice picture (means not pixelized).
Here is a view in the A2A PA-28 VC, replacing the Gps gauge: (I use Gps buttons to set range/tilt/gain values)
I would like to blend my gauge bitmap with an existing glass cockpit display unit, like the NGX or the Q400 (like an overlay).
My transparent gauge is effectively transparent when I use it as a standalone window:
However I've made many tests and never succeed to get some transparency when installed inside a VC.
I tried to use alpha blending, draw background in RGB(0,0,0,0) or RGB(0,1,1,1), no success.
It seems that as soon as I write a single pixel on my gauge, the whole bitmap surface turns black.
Do you think it's possible?
Thanks
Happy Christmas and happy new year !
Roland
However I'm not new to flight sim world. Started on Amiga with F-18 interceptor (1988 whoua ). I used to develop some programs for Fly! 2, 10 years ago (Squawkbox, multiplayer p2p system...).
I'm working on a weather radar gauge to use with Active Sky Next API. The goal is to have a gauge which can be used in a standalone window, and also integrated in a VC.
I used the ESP Gdi+ sample with dual transparent/opaque gauge which is very usefull. I use also the Gdi+ interpolation capabilities to have nice picture (means not pixelized).
Here is a view in the A2A PA-28 VC, replacing the Gps gauge: (I use Gps buttons to set range/tilt/gain values)
I would like to blend my gauge bitmap with an existing glass cockpit display unit, like the NGX or the Q400 (like an overlay).
My transparent gauge is effectively transparent when I use it as a standalone window:
However I've made many tests and never succeed to get some transparency when installed inside a VC.
I tried to use alpha blending, draw background in RGB(0,0,0,0) or RGB(0,1,1,1), no success.
It seems that as soon as I write a single pixel on my gauge, the whole bitmap surface turns black.
Do you think it's possible?
Thanks
Happy Christmas and happy new year !
Roland