Sign in to follow this  
Rocky

GDI and Visual cockpit

Recommended Posts

I compile SDK and modify default Boeing 747 panel.[VCockpit01]size_mm=512,512pixel_size=512,512texture=$747_1background_color=0,0,0visible=0gauge00=Boeing747-400!Standby Altimeter, 0, 113, 111, 101gauge01=Boeing747-400!Standby Airspeed Indicator, 112, 114, 111, 110gauge02=Boeing747-400!Standby Attitude Indicator, 113, 1, 111, 111gauge03=SDK!FlightMap,6, 234.....But in FS,flightMap dose not display.So,is this means that the gauge made by GDI can't display in VC? Can anyone help me or point me in the right direction. regardsszm99

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Nothing to help. GDI gauges after SDK don't work in virtual cockpits.Arne Bartels

Share this post


Link to post
Share on other sites

Thanks for the suggestions. How about GDI+ Gauge,is it can be display correctly in VC ?

Share this post


Link to post
Share on other sites

It has nothing to do with GDI or GDI+. The STATICs with the "GDI enable" bit are simply not drawn in FS2002.Arne Bartels

Share this post


Link to post
Share on other sites

Thank you.Is there any other way to make vector gauges for vs?

Share this post


Link to post
Share on other sites

I confirm what Arne Bartels says: vectorial gauges using GDI do not appear in virtual cockpit mode. I have developed a ND gauge for my Airbus panels, which mixes bitmaps and vectors (using GDI). The bitmaps appear in VC, but not the vectors...Now the question is: How do the RealityXP (http://www.reality-xp.com) gauges work? They are vector drawn, with anti-aliasing, and they are visible in VC !!Another question: Will this work in FS2004? If you have a beta, maybe you can answer this...Eric

Share this post


Link to post
Share on other sites

Maybe DirectX can do it? I am not familiar with DX. Is DirectX API can draw vector gauge just like WIN32 API?regardsszm99

Share this post


Link to post
Share on other sites

Hello Eric.Just in case you don't read my answer on the other thread, yes, GDI/GDI+ based vector gauges show in the VC in FS9.I do not know how RealityXP has done what they have, but the VC is one less thing for us to worry about. Now on to aa'ing all vectors without much performance hits.

Share this post


Link to post
Share on other sites

Hi Fabio,are you beta testing FSACoF? great!! does your post means that they have authorized beta testers to talk about it now and they are not covered by their NDA anymore? wow, I've a bunch of questions to ask then!!

Share this post


Link to post
Share on other sites

Ahh... No, Jean, no doubt, no guess, anyway, he certainly ain't. But I know him so well that I think he knows what he talks about ;-) (< This one's for you, F

Share this post


Link to post
Share on other sites

Sure Etienne, thank you for the heads up! as far as I know now, even mentioning you are beta testing FSACoF is governed by the NDA, which is you are not allowed to tell. This simply is an infringement to the NDA. Food for thought!

Share this post


Link to post
Share on other sites

Funnily enough it IS possible to make GDI gauges like the default GPS visible on VCs in FS2002: if it is on a "lighted" texture (the ones with ..._L.bmp? I'm not VC expert, only a user) and if it is night and all lights on. OK not the solution but maybe a way to explore further.Arne Bartels

Share this post


Link to post
Share on other sites

Interesting Arne, very interesting. Did you bump into this one by accident? Meaning, just playing around, doing other stuff, and noticed it?

Share this post


Link to post
Share on other sites

Not completely unlike usual. I knew that these nighlighted bitmaps can cause strange gauge behaviour as stated before in this forum, and so I simply tried with a VC that has this textures.Arne Bartels

Share this post


Link to post
Share on other sites

I was very amazed by your post, because I have never seen a vector gauge appearing in VC mode. Romain Lucas and I have been doing several tests to have my radar gauge (GDI gauge) appear in the virtual cockpit of our Dassault Mirage 4000, and... nothing works!! :-(Even by using a lighted texture, at night, with lights ON, the radar gauge still does not appear...Any help?Thanks.Eric

Share this post


Link to post
Share on other sites

>Funnily enough it IS possible to make GDI gauges like the>default GPS visible on VCs in FS2002: if it is on a "lighted">texture (the ones with ..._L.bmp? I'm not VC expert, only a>user) and if it is night and all lights on. OK not the>solution but maybe a way to explore further.>Arne BartelsThat's interesting, Arne! I'll have to check into that further. FWIW though, it is possible to have the same effect produced by a _L.bmp emissive texture, but without using a texture at all.One would simply set the emissive color properties of the base material to which the $dummy.bmp texture is specified directly to something like this:Emissive Color: 192 - 192 - 192 - 255The net result is a constant "illumination" of the gauge poly that is NOT controlled by any of the light switches.I'll have to look into this further and see what turns up... :)BillAVSIM OmbudsmanFounder and Director,Creative Recycling of Aircraft Partshttp://catholic-hymns.com/frbill/FS2002/images/fartslogo.jpg

Share this post


Link to post
Share on other sites

This EHSI and the IVSI-TCAS are both GDI+ gauges in the MS737 VC.

Share this post


Link to post
Share on other sites

What is the MS737?Is it the Microsoft 737, that is the standard 737 included in FS2002?The image you attached does not look like my MS737 panel...Is it taken from FS2004? Or is it another 737?Anyway, it shows that a GDI+ gauge can be displayed in VC mode.Eric

Share this post


Link to post
Share on other sites

Yeah Chris, I am curious.Are those your gauges on the MS737 from FS9?

Share this post


Link to post
Share on other sites

I tried it with the new EC130 (because it has a night lit VC, no other reasons). I added a selfmade testgauge using GDI+. You see it's visible at night and leaves a hole at day.Arne Bartels

Share this post


Link to post
Share on other sites

If anyone feels like trying, I attached gauge and source. Slightly different in design now. Extraction: test!testgdiplus.Arne Bartels

Share this post


Link to post
Share on other sites

Edited too much I assume. Here the gauge, the source one post later. Sorry for the inconvenience.Arne Bartels

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this