Jon Stockill writes:
> On Thu, 2 Oct 2003, Frederic BOUVIER wrote:
> 
> > Yes, this is a good thing.
> > But when the terrain change, we have to land the buildings again because
> > their vertical position is AMSL not AGL.
> 
> Is there any way of making the building elevation AGL?
> 
> The random scenery manages to place buildings onto the landscape - is
> there any reason why static objects couldn't be handled in the same way?

I think it's theoretically possible, but because at load time, the
base terrain is not attached into the main scene graph, you can't use
the existing height above terrain code.  In theory, you could do
somethingn similar by transforming the starting point and the results
based on the center point of the tile, but I don't know enough about
the current HOT code to make that happen, and I haven't had time to
dig in and investigate further.

This would be a very useful thing to have though because it would save
a lot of extra work when placing objects. :-)

Regards,

Curt.
-- 
Curtis Olson   HumanFIRST Program               FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to