Hi,

On Saturday, July 30, 2011 21:31:37 Stuart Buchanan wrote:
> > Hi Mathias,
Sorry not to anser in time ...


> > Presumably this is using the ground_cache rather code rather than the
> > scenery.get_elevation_m() code that the Nasal system uses to to get
> > geodinfo()
> > 
> > If so, I'll see if there's a sensible way to expose this over the
> > Nasal interface
> > as an alternative to the current geodinfo() routine.
> > 
> > Is there any reason not to simply use the ground_cache for the Nasal
> > geodinfo() routine? They both seem to make elevation and material
> > information available?
Do not use the groundcache as such, as it is only valid near the aircraft. But 
you can use the the bv-trees in the userdata nodes for queries.
This should be perfectly ok.

> Comments?
I have not checked the git source tree.
But what are you doing at the c++ level?

Mathias

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to