* Sebastian Bechtold -- Thursday 30 March 2006 09:15:
> Is it possible to tell FlightGear that it should place a scenery object 
> not at a specific height, but always on ground level, regardless of the 
> actual height of the terrain ASL?

Currently not, but it wouldn't be hard to implement. Just store
branch/lon/lat/elev/hdg in FGDeferredModel rather than the finished
transformation matrix, move WorldCoordinate() from tileentry.cxx to
tilemgr.cxx, and then check if elevation is set to <-9999, and if so,
replace it with the actual elevation, then make the matrix etc.
That way one could set a model's elevation in the *.stg file
to -10000 and get it positioned on the surface. Or something.

m.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to