Re: [Flightgear-devel] Nav-cache
On 19 Sep 2012, at 19:18, Martin Spott wrote: Yes, I've seen matches of the octree_node's with data from navaids for example, but as far as I remember there's no logical link, just a geographical. Right ? Depends what you mean - I'm parsing the name of the marker beacon / ILS to find the matching runway. This isn't a new feature - I added that logic last year or more - so I could have a FGRunway* runway() accessor on FGNavRecord. It's the sqlite rowID of the airport record - both in the positioned table, but also the 'airports' table. Ah, indeed, the rowid - that's neat. The rowid wasn't that obvious from the SQL dump I was staring at (I simply didn't care counting the rows myself ;-) Right, by default sqlite doesn't include the rowid column in SELECT results - you need to ask for it explicitly. James -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Airport selection feedback
(Moving this discussion the the mailing list!) On 20 Sep 2012, at 10:24, Stuart Buchanan wrote: One thing I noticed is that the performance has taken quite a hit from adding the taxiways, as each taxiway segment is being drawn as a separate object. Thomas - any chance we could have a draw mode to allow a set of Quads to be defined? Right, don't forget we can build Canvas elements from C++ - we could have helper methods on the Nasal API which create a map layer automatically from an ICAO code. I may end up doing this for the route-path in the map widget, depending on performance. related - 'best-runway' is selected, show what the selection is - or is that not information not available? Actually no, this needs some extensions to airportinfo() I think. Correct. We don't have that information available. bonus feature: a wind indicator arrow showing the wind direction and speed based on current environment. While that's useful for the current location, I don't think it's all that useful for airports elsewhere, which is a particular use-case for the dialog. If we could enhance the airportinfo() to include the actual METAR (or indeed expose a metar() call via Nasal), we could usefully display the current METAR for the selected airport, as well as show a wind arrow and the best-runway. I think I should go the full way here, and make a NasalMetar object that can be initialised as a location, and fires a Nasal callback when its data changes, i.e when it loads. We have all the pieces for this already, and glueing them together in this way would allow lots of interesting FMS and other features. I'll try to get that done in the next few days. James -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Airport selection feedback
Am 2012-09-20 11:30, schrieb James Turner: (Moving this discussion the the mailing list!) On 20 Sep 2012, at 10:24, Stuart Buchanan wrote: One thing I noticed is that the performance has taken quite a hit from adding the taxiways, as each taxiway segment is being drawn as a separate object. Thomas - any chance we could have a draw mode to allow a set of Quads to be defined? Right, don't forget we can build Canvas elements from C++ - we could have helper methods on the Nasal API which create a map layer automatically from an ICAO code. I may end up doing this for the route-path in the map widget, depending on performance. I don't think that Nasal is the bottleneck here, but I'll check it. I think that most time is spend with tessellation of the path but I'm also not sure about this one. Drawing multiple quads at once should be possible if putting all quads in a single path (Start a new subpath/quad use canvas.Path.moveTo() or canvas.Path.VG_MOVE_TO). I'll have a look if ShivaVG really creates just a list of quads and otherwise modify it to do so. If you need an aircraft symbol, eg. for showing the currently selected position have a look at my fgdata branch: https://gitorious.org/~tomprogs/fg/toms-fgdata/blobs/canvas/gui/dialogs/images/icon-aircraft.svg https://gitorious.org/~tomprogs/fg/toms-fgdata/blobs/canvas/gui/dialogs/map-canvas.xml#line234 It's looking really good, if we/I/Thomas could get panning and ideally smooth mouse-wheel zooming working, it would be fantastic. (And will make my life porting the MapWidget really easy) It's looking really good, if we/I/Thomas could get panning and ideally smooth mouse-wheel zooming working, it would be fantastic. (And will make my life porting the MapWidget really easy) That should be very easy to implement. I think I can do it the next days. Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org Student of Computer Science @ Graz University of Technology --- Austria -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Nav-cache
would any of these changes have affected the Equipment/map performance ? I get a lot of disc activity now while panning the map ... and it takes 10 -15 seconds now before it refreshes , and thats with every mouse drag.This only used to happen when zooming out , and the refresh time was much shorter... Syd -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Nav-cache
Syd wrote: -Original Message- From: syd adams [mailto:adams@gmail.com] Sent: 20 September 2012 16:22 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Nav-cache would any of these changes have affected the Equipment/map performance ? I get a lot of disc activity now while panning the map ... and it takes 10 -15 seconds now before it refreshes , and thats with every mouse drag.This only used to happen when zooming out , and the refresh time was much shorter... First time I used it, it took 10 mins to zoom out to the full extent, but once the cache was established it refreshed very quickly. Vivian -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Nav-cache
Yes, the map performance is 'different'. However I'm about to port the map to use the canvas, so please forgive the current performance issues for a little while. James On 20 Sep 2012, at 16:22, syd adams adams@gmail.com wrote: would any of these changes have affected the Equipment/map performance ? I get a lot of disc activity now while panning the map ... and it takes 10 -15 seconds now before it refreshes , and thats with every mouse drag.This only used to happen when zooming out , and the refresh time was much shorter... Syd -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Airport selection feedback
Am 2012-09-20 22:41, schrieb Stuart Buchanan: Unfortunately, that doesn't appear to handle overlapping quads very well: http://www.nanjika.co.uk/flightgear/taxis.jpg It is doing some XOR against the other layers? I'm sure I remember seeing this in a graphics textbook year ago... I've now changed the default fill rule from even-odd to non-zero. Should probably work better now... Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org Student of Computer Science @ Graz University of Technology --- Austria -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel