Board index FlightGear Development Aircraft

757 wx radar

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

757 wx radar

Postby dom_vc10 » Thu Oct 14, 2021 1:29 pm

Hi

Is the weather radar in the 757 supposed to work or it's not implemented yet? Not sure if I am doing something wrong or just expecting something that doesn't exist :D
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby V12 » Thu Oct 14, 2021 4:02 pm

FG in CANVAS has implemented basic functionality for WX radar, if 757 uses standard NAV display, it should work, in the property browser try find EFIS and boolean property WXR. Set it on TRUE and radar should work. I used this feature on my version of the Concorde. But there is large fps drop.

EDIT :
Example - FGADDON aircraft :

Image

You need make binding this property to the some switch.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: 757 wx radar

Postby dom_vc10 » Fri Oct 15, 2021 8:20 am

great thanks a lot. Seems it's possible then. I need to learn a little here to implement but good it's possible.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby tikibar » Fri Oct 15, 2021 8:42 am

It's already implemented. This button turns it on and off.

Image
Boeing 747-8 (rename folder to 747-8i)
Boeing 757-200/300 (rename folder to 757-200)
Boeing 767-300/ER (rename folder to 767-300)
User avatar
tikibar
 
Posts: 545
Joined: Mon Mar 05, 2012 7:05 am
Location: Los Angeles
Callsign: CHT0009
OS: Ubuntu 14.04

Re: 757 wx radar

Postby dom_vc10 » Fri Oct 15, 2021 9:11 am

Ah ok. It will show in the nav display or on the bendix in the centre console? If it's in the NAV display then I will look at removing the bendinx

EDIT: I see it does turn on in the nav display. This makes the bendinx guage redundant then really. So next quest, how to remove the bendix guage.. everyday is a learning day with FG :D

Thanks for the answers both of you!
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby V12 » Fri Oct 15, 2021 1:23 pm

That Bendix in 757 is bad joke.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: 757 wx radar

Postby dom_vc10 » Fri Oct 15, 2021 1:28 pm

I've seen several real life images of what looks to be similiar to the bendix in that position on some older photos but yes I think it's time to remove it.. once I figure out how :-)
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby dom_vc10 » Fri Oct 15, 2021 3:06 pm

Adjusted (also adjusted the text above the buttons at the bottom the placement was too low now you can see the labels)



Image

Need to test the radar out now I looked up an area with pretty rough weather but nothing was showing. Is there any tip on testing it please?
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby V12 » Fri Oct 15, 2021 4:48 pm

Use weather scenario - menu Environment, option Weather, select Thunderstorm or Stormy Monday. FG will generate nice thunderstorm with CB clouds, strong gusty wind and rain. And ofcourse, You will see CB clouds on the WX radar.
But when You activate WXR, fps drop significantly.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: 757 wx radar

Postby Hooray » Fri Oct 15, 2021 10:10 pm

there's no good reason for the FPS to drop significantly, it it does, I'd say that's a clear bug in the underlying MapStructure controller files - the point being, what is being rendered are really just simple raster graphics that are placed using lat/lon tuples - thus, the original implementation was fairly simple if I remember correctly. If it's now causing fgfs to stutter, I'd first of all suggest to review the searchCmd() method of the corresponding WXR.lcontroller file.

It will have the equivalent of a foreach loop traversing a bunch of data structures/properties to determine what is to be rendered. If the model lacks a proper equals() helper, it will redraw stuff unnecessarily.

Either way, there is no good technical reason for any of this to be slow or to cause "stuttering" - other than it using a naive algorithm, because the original prototyping code never got updated (?)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: 757 wx radar

Postby dom_vc10 » Fri Oct 15, 2021 11:19 pm

when I enable it I get no drops in FPS however I have not yet tested in the proper weather scenario so will see but so far switching it on makes no difference
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby V12 » Sat Oct 16, 2021 5:13 am

It is strange, sometime fps drop from 60 to 10, in other case no fps drop. Same situation is with traffic on ND. Terrain on ND doesn't work, there is not fps drop.

EDIT :
I captured this effect on the video :

Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: 757 wx radar

Postby dom_vc10 » Sun Oct 17, 2021 7:42 pm

dom_vc10 wrote in Fri Oct 15, 2021 11:19 pm:when I enable it I get no drops in FPS however I have not yet tested in the proper weather scenario so will see but so far switching it on makes no difference


So it drops about 7fps when a storm shows which is not huge but when I'm already hovering at 19-20 that's a bit of a hit but manageable.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: 757 wx radar

Postby Doorknob747 » Tue Oct 19, 2021 3:12 am

when you say 19-20 do you mean FPS or FL. If FL, then try 30 and 35.
Doorknob747
 
Posts: 60
Joined: Thu Sep 02, 2021 5:27 am

Re: 757 wx radar

Postby V12 » Tue Oct 19, 2021 4:51 am

FPS - frames per second
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Next

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 6 guests