Re: [Flightgear-devel] view handling news
Melchior wrote Sent: 07 November 2007 23:14 To: flightgear-devel@lists.sourceforge.net Subject: [Flightgear-devel] view handling news Since David complained about the damping mechanism in viewer.cxx, I wanted to check whether the same feature could also be done in Nasal. (Damping is at the moment only used in the Chase View. It's just lowpass filters on the heading/pitch/roll angles, which make the viewer follow the aircraft with a slight delay.) I had to fix a jitter problem in the main loop, and there's one more to fix for replay (already done on my HD), but most of the work is done. There's now a manager in $FG_ROOT/Nasal/view.nas where one can register Nasal view handlers. This is by default only done for the Fly-By-View. Here are two more examples. Each of them is an XML file with some settings and embedded Nasal code, and implements a new view. You can try them out at once: $ fgfs --aircraft=j3cub ~/chase-view-II.xml ~/model-view.xml Use full paths for the files. (~ expands to a full path :-) chase-view-II.xml is a proof of concept. It's a slightly extended chase view, where also latitude/longitude/altitude are lowpass filtered. This is nice to see how far an aircraft drops in a barrel roll. Might also be nice for movies. model-view.xml allows to cycle through all carriers, tankers, aircraft, multiplayer (untested) with the q/Q keys. The jitter in plib has pretty well been fixed here by these modifications. There remains some low frequency and relatively long pauses around KSFO and other texture/model rich environments. The sound bug has been fixed. The model-view with multiplayer has been tested here and works very well. This facility is a very nice add-on to FG. Pity it wasn't available for the FSWeekend event in Lelystad, because it is particularly applicable to this kind of event. Well done Melchior Regards Vivian - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] move subsystem reordering in the main loop
As mentioned in previous mails about more sophisticated Nasal view handling, there are still a few cases of ugly jitter caused by an unfortunate order of subsystem updates in the main loop. I want to reorder the mainloop as follows: (a) timing stuff (time, freeze, warp) (b) update of the static world - terrain loading - ephemeris - model manager (c) update of the dynamic world - ai/mp (d) update of the protagonist aircraft/vehicle - fdm/replay - aircraft instruments (e) finale - event manager (which runs the Nasal loops) - view manager (to set view properties) - positional sound handling That's not a dramatic change. Most of it is already in that order, but some subsystems were thrown somewhere in between, at sensible places where they cause jitter. The terrain loading before FDM seems out of place, as it can't consider the newest aircraft position there. The next frame is early enough for that, though, and it's one of the jitter generators. I'm not sure yet about other subsystems. (Should the network come before the FDM, so that it can quickly consider new inputs? Or should it come after it, so that it can quickly send new outputs? In the end it does probably not matter much, but in case of doubt I'll let the old order for such subsystems.) m. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] view handling news
I wrote: Sent: 08 November 2007 08:16 To: 'FlightGear developers discussions' Subject: Re: [Flightgear-devel] view handling news Melchior wrote Sent: 07 November 2007 23:14 To: flightgear-devel@lists.sourceforge.net Subject: [Flightgear-devel] view handling news Since David complained about the damping mechanism in viewer.cxx, I wanted to check whether the same feature could also be done in Nasal. (Damping is at the moment only used in the Chase View. It's just lowpass filters on the heading/pitch/roll angles, which make the viewer follow the aircraft with a slight delay.) I had to fix a jitter problem in the main loop, and there's one more to fix for replay (already done on my HD), but most of the work is done. There's now a manager in $FG_ROOT/Nasal/view.nas where one can register Nasal view handlers. This is by default only done for the Fly-By-View. Here are two more examples. Each of them is an XML file with some settings and embedded Nasal code, and implements a new view. You can try them out at once: $ fgfs --aircraft=j3cub ~/chase-view-II.xml ~/model-view.xml Use full paths for the files. (~ expands to a full path :-) chase-view-II.xml is a proof of concept. It's a slightly extended chase view, where also latitude/longitude/altitude are lowpass filtered. This is nice to see how far an aircraft drops in a barrel roll. Might also be nice for movies. model-view.xml allows to cycle through all carriers, tankers, aircraft, multiplayer (untested) with the q/Q keys. The jitter in plib has pretty well been fixed here by these modifications. There remains some low frequency and relatively long pauses around KSFO and other texture/model rich environments. The sound bug has been fixed. The model-view with multiplayer has been tested here and works very well. This facility is a very nice add-on to FG. Pity it wasn't available for the FSWeekend event in Lelystad, because it is particularly applicable to this kind of event. P.S. We get views like this: ftp://abbeytheatre2.org.uk/fgfs/Screen-shots/Model-viewer.jpg V. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] move subsystem reordering in the main loop
If you think the subject doesn't make sense -- I agree. :-) Editing accident ... bad enough in the body, but horrible in a subject. Should have been: subsystem reordering in the main loop m. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] The Big Monitor show at FSWeekend,
Jon Hi Jon, I hope my second email has given some clues as to the who 's who part of the pictures. :-) Cheers, Durk Second email? Jon - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Compilng flightgear on FC5
Thanks. I'll definitely upgrade to FC7 On Nov 6, 2007 11:06 PM, wim van hoydonck [EMAIL PROTECTED] wrote: Flightgear works like a charm on Fedora 7. Wim On 11/6/07, Nick Othieno [EMAIL PROTECTED] wrote: Thanks,. If all goes bad I'll just upgrade to FC6 or FC7. Do you know anyone who has tried it on FC7 and got it working. On Nov 6, 2007 9:17 PM, Lee Duke [EMAIL PROTECTED] wrote: I just did it on FC 6, but I haven't tried FC 5. Lee Nick Othieno wrote: Hi, Has anyone successfully compiled flightgear on FC5. I need to do some development work on COMMS but I can't even get it to run on my FC5 box. The error it gives is something about an ALUT state when it is still initializing the subsystem. Nick - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Avoid hangovers - stay drunk! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] view handling news
Melchior Sent: 08 November 2007 11:48 To: flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] view handling news * Vivian Meazza -- Thursday 08 November 2007: The model-view with multiplayer has been tested here and works very well. What doesn't work well yet is Nasal based chase view in replay mode (fixed on my disk), and model view in fg/osg (fixed on my disk). Replay is firmly off here (creates too much jitter - I can live without it), and I haven't tested the new chase view. FG/OSG is barely usable here, and the jitter fixes which work so well in pilb seem to have no effect on osg, but I haven't given it a fair test yet. Well done Melchior Thanks. That's just the beginning. Once the remaining jitter problems are solved the only limiting factor is our fantasy. ;-) Just a back-seat view would do me for starters - I can come up with more I expect. V. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel