Jump to content

Sign in to follow this  
Bryn

My ASN weather radar gauge for FSX (&P3D?)

Recommended Posts

Hi,

 

I wrote a simple weather radar gauge for FSX that uses the ActiveSky Next API.  It has a tilt and range function, and displays areas of precipitation ahead of the aircraft.

 

You can download it at gum.co/bryn (it's free, but you're welcome to support the coffee addiction I developed writing the gauge).

 

Let me know if you run into any problems with it, or have any thoughts and suggestions about how to improve it.  I could add gain, and make it prettier.  

 

Here are a couple of early version screenshots (the changes since these versions are minimal though you'll see the 747 image didn't have tilt nor range, and you can just see the cessna only has range).  

 

Finally a reason to use the route offset!

 

wxRadar80.jpg

 

wxAhead.jpg



This post has been promoted to an article
  • Upvote 3

Streaming at twitch.tv/brynmwr

Share this post


Link to post
Share on other sites

I have used this gauge in P3D and it is awsome. Works as advertised. Great job Bryn

 

Nelson

Share this post


Link to post
Share on other sites

Awesome work, Bryn.


David Zambrano, CPL IRA

I know there's a lot of money in aviation because I put it there. 

BetaTeamD.png

Share this post


Link to post
Share on other sites

A suggestion, other than a gain function, maybe a gauge with the grey borders to accompany the NGX. Or perhaps some way to color the outside border of the gauge.


David Zambrano, CPL IRA

I know there's a lot of money in aviation because I put it there. 

BetaTeamD.png

Share this post


Link to post
Share on other sites

A suggestion, other than a gain function, maybe a gauge with the grey borders to accompany the NGX. Or perhaps some way to color the outside border of the gauge.

 

At the moment it's just using the stock bitmap that ships in the FSX SDK!  I know a bit about getting code to work, but I know really nothing about illustration and graphic design... do you like my little plus and minus buttons?  Cutting edge graphics there... took me forever to get them right in MS Paint.

 

Anyway, I'll have a crack at changing the background image... it will also give me an opportunity to learn a bit about embedding more than one gauge in the file. 

 

I have a problem with the gain function, though.  I'm not really sure what the logic should be. 

 

At the moment, each pixel on the radar is essentially a number between 0 and 255 that HiFi gives me through their API.

 

I had a look at the dbz numbers at wikipedia.org/wiki/DBZ_(meteorology), and used that as a bit of a guide for the cutoff levels for green, yellow and red on my weather radar.

 

My code looks a bit like this:

 

if (radarPixelReturn > 153) Color = Red;
else if (radarPixelReturn > 115)Color = Yellow;
else if (radarPixelReturn > 60) Color = Green;
 
So my question is this: Does the logic of gain just boil down to lowering and raising those cutoff numbers?  Or is there something more sophisticated going on?
 
Bryn.

Streaming at twitch.tv/brynmwr

Share this post


Link to post
Share on other sites

At the moment it's just using the stock bitmap that ships in the FSX SDK! I know a bit about getting code to work,

 

 

So my question is this: Does the logic of gain just boil down to lowering and raising those cutoff numbers? Or is there something more sophisticated going on?

 

Bryn.

I was actually referring to the outer border that resembles the panel of a 747 or 777. I was thinking in maybe a way to change the border outside the display to resemble the panel of another plane not the display itself.

 

 

When we talk about gain it's not just increasing the amount of cut off for each colorcode, it's actually revealing more of the green as well, or showing areas of green precipitation that are really just thick clouds. But then again the cut off is also altered to a more sensitive setting.


David Zambrano, CPL IRA

I know there's a lot of money in aviation because I put it there. 

BetaTeamD.png

Share this post


Link to post
Share on other sites

Yeh, that outer border is a stock FSX SDK image, which is what I'll work on changing.

 

I'll try lowering the cut-off numbers using a +/- button to see what that looks like.  I'll distribute it when it's done -probably a bit later today (Australia time).

 

Cheers,

 

Bryn.


Streaming at twitch.tv/brynmwr

Share this post


Link to post
Share on other sites

Hi,

 

Why not remove the border, if that's not possible... make the border transparent, then you can resize/place the gauge over any CDU in any aircraft.

 

Don't know if this is possible... If so, this would be a nice addition to ANY aircraft.


signature.jpg
Former Beta Tester - (for a few companies) - As well as provide Regional Voice Set Recordings

 

One-I7/6950X | Three-I7/4700Ks | Three-I7/6700Ks | Three-Nvidia Geforce GTX 1080s | Three-Nvidia Geforce 610s | Seven Sets-32GB Kingston DDR4 SDRAM 2600 | Seven-Cosair RM 850 P/S | Seven-Samsung EVO 850 SSDs | Seven-10/100/1000 Ethernet | Four-Corsair Hydo Series H115i Liquid CPU Cooling | Three-Cool Master Hyper D92 CPU Coolers

Flightdeck by Flightdeck Solutions | Hardware / Software Interface by Sim-Avionics

Share this post


Link to post
Share on other sites

Michael, I'll do that in tomorrow's update - it's possible and very easy.  I should've done it from the beginning, but I was just cutting and pasting SDK code trying to learn it as I went, and I guess it just stayed there.


I've updated the radar.  I think I fixed a problem that Fr. Bill found when he loaded the gauge without and ASN installation.

 

I also added gain, and a little panel changer window.

 

Let me know how it goes. Here's a pic of gain in action.

 

gain.jpg

  • Upvote 3

Streaming at twitch.tv/brynmwr

Share this post


Link to post
Share on other sites

Wow this is fantastic! I just had a flight with it on the 777 and loving it. Just need some tweaking on the tune/tilt; if you run into anything code-wise or graphics, feel free to give me a shout.


3HSAJHT.png

TFDi Design

Share this post


Link to post
Share on other sites

Hi Hank.  Thanks for that. What do you mean about tweaking the tilt?  Cheers, Bryn.

 

There are some occasions where storm clouds a little over 1000 ft below go undetected. I tried adjusting the tune (down to at least 10 and back up) but the storm passed and the radar screen was blank. It only detected another formation of storm clouds while I took off. Most of the time, even though the ASN moving map screen showed intense yellow / red / blue returns underneath my aircraft, the screen stays blank the entire flight (not a single return) until I land at JFK, which gave me some green returns at 3000 ft on glideslope.


3HSAJHT.png

TFDi Design

Share this post


Link to post
Share on other sites

The tilt is -10 for downward pointing 10 degrees, and +10 for upward pointing 10 degrees.

 

Pointing down 10 degrees (-10), stuff that is 1000 feet below you should show up on the radar if it is at least 1nm ahead of you.

 

I'm about to do a flight myself, so I'll test this a bit more too.

 

Bryn.


Streaming at twitch.tv/brynmwr

Share this post


Link to post
Share on other sites

Is there anything special I need to do in ASN because mines does not work. Nothing shows on my gauge

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...