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