Board index FlightGear Development Weather

Synchronizing/replicating weather data across fgfs instances

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Synchronizing/replicating weather data across fgfs instances

Postby Hooray » Mon Mar 28, 2016 4:22 pm

External targets and Multiple Screens
llsouder wrote:I would love to use the flightgear scene generator for a cockpit simulator. There is already a simulation running which has aircraft flying, I just need to input our aircraft into Flightgear's visual. [...]

in FlightGear, the interpretation of weather information into weather visuals is outstanding [...]

Next step: Send Storm cloud data to all nine computers and evaluate the rendering across the screens: Need good data, need a way to send it to all nine displays.


Regarding your latest wiki edits, for anything involving weather (and specifically the Advanced Weather system), you will probably want to get in touch with Thorsten to determine the limitations of the existing system and feasible workarounds to synchronize/replicate weater across multiple instances in a holistic fashion.

PS: To inject multiplayer nodes, you will probably want to run a forum/wiki search for "XDR" and/or "traffic feed" or "injecting traffic".
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: 11292
Joined: Tue Mar 25, 2008 8:40 am

Re: Synchronizing/replicating weather data across fgfs insta

Postby Soitanen » Mon Mar 28, 2016 4:39 pm

Theme of image generator in flight simulator is close to me too. There is good document from ICAO, describing what must be presented in flight simulator - http://123.127.67.21/fagui/ICAO9625-AN938(english).pdf
For example, point light must not exceed 5 arc minutes. Flightgear light system currently draws much more bigger lights.
Boeing 737-300. Reworked cockpit, FDM, autopilot and much more. WIP.
Boeing 737-800. WIP. Canvas PFD and ND.
Antonov An-24B. Made from scratch. Very good FDM. 3D model by Adrian. WIP.
Project Russia (some cities, based on OSM with custom objects).
Soitanen
 
Posts: 489
Joined: Sat Jun 16, 2012 6:50 am
Location: Saint-Petersburg, Russia
Version: git
OS: Linux Mint 17

Re: Synchronizing/replicating weather data across fgfs insta

Postby Hooray » Mon Mar 28, 2016 4:50 pm

That is actually a separate discussion (even though interesting) - it might be a good idea to create a new wiki article and collect all relevant information (think missing features) there, alternatively, you could file IG related feature requests using the issue tracker.
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: 11292
Joined: Tue Mar 25, 2008 8:40 am

Re: Synchronizing/replicating weather data across fgfs insta

Postby llsouder » Tue Mar 29, 2016 11:49 pm

Our first test using basic weather did not look perfect. It was almost synchronized across the screens on some of the screens however "not so much" on others. I will try to post some pics tomorrow.

In flightgear/src/Environment/fgclouds.cxx I found what looks to be promising!
Code: Select all
// RNG seed to ensure cloud synchronization across multi-process
// deployments
static mt seed;


Maybe the properties we used for the test did not lend themselves to being consistent.

Is there a large storm cloud, like a Cumulus congestus clouds, aka towering cumulus, example we could try?
llsouder
 
Posts: 40
Joined: Fri Feb 12, 2016 8:33 pm

Re: Synchronizing/replicating weather data across fgfs insta

Postby erik » Thu Jun 30, 2016 7:42 am

Not that Advanced weather probably does not lend itself well for this purpose since I think it makes local assumptions which are not shared across multiple instances.

Basic weather on the other hand should give proper results, and if not then some bug crept in somewhere.

Erik
erik
 
Posts: 1510
Joined: Thu Nov 01, 2007 1:41 pm

Re: Synchronizing/replicating weather data across fgfs insta

Postby Hooray » Thu Jun 30, 2016 6:41 pm

as long as all random state is kept in the property tree, slave instances could be told to use the same random state instead of running their own RNG
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: 11292
Joined: Tue Mar 25, 2008 8:40 am

Re: Synchronizing/replicating weather data across fgfs insta

Postby erik » Thu Jun 30, 2016 6:52 pm

Probably but for a test case Basic Weather is much easier. If that works correctly you could try to expand to Advanced Weather.

Erik
erik
 
Posts: 1510
Joined: Thu Nov 01, 2007 1:41 pm


Return to Weather

Who is online

Users browsing this forum: No registered users and 1 guest