On Tuesday, November 27, 2012 15:23:13 Stuart Buchanan wrote: > > I recently implemented a vertical terrain clearance radar for the Douglas > A4F Skyhawkd (a4f) using a combination of Canvas and Nasal terrain > lookups. The code is checked into git if you are interested. > > My main concern when writing it was minimizing the number of terrain > lookups per radar sweep. For the vertical mode this is quite > straightforward as I've simplified the sampling to getting the elevation of > points every 1nm ahead. > > I've still to look at the horizontal modes, but I suspect it would need a > Nasal enhancement to perform terrain intersection tests based on a > lat/lon/heading/pitch combination. I haven't looked into how much effort it > would be to add that yet, though I suspect it should be fairly > straightforward given that we already have similar function handling > mouse-clicks for the ufo. > > -Stuart
Hi Stuart, I'm fairly aware of how AG radar modes work, from f16 detailed documentation, but know next to nothing about terrain clearance radar. I will check this out and provide feedback if I can. I have no idea though about Nasal terrain sampling performance. I need to read more about this. I know the advanced weather system uses a C++ random area terrain sampler written by Torsten Dreyer. However, I should have made it clear in my previous message that I was referring to ground-to-air radar, hardcoded as a subsystem, with only the visual interface written with Canvas/Nasal. Cheers, Adrian ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel