David Megginson writes: > I would like to make it possible to specify the elevation of static > and shared objects AGL as well as ASL, but for that, I need to know > the elevation ASL at a specific location (not the current view > position). I have taken a look at the fgCurrentElev() functions in > hitlist.cxx and (I think) supplied the right parameters, but I'm > getting no intersection. > > The problem location is tileentry.cxx -- search for "OBJECT_STATIC" to > find the right chunk of code. Somehow, there, I want to be able to > determine what ground elevation is at the lon/lat supplied.
First off this file < tileentry.cxx> is extremely difficult for me to work with in that it contains a mixture of TABS and SPACES. !!! YUK !!! Second are you sure that there is a tile loaded for the intersection routine to work against when you are making your AGL request ?? Regards Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
