Jim Wilson writes: > That tiny patch I submitted yesterday takes care of that. It makes it so the > lights don't adjust upward until you are above 30m....high enough that it > isn't noticable...and low enough that it should take care of any z-buffer > issues.
Actually this takes away the AGL component until you are >30m AGL, but there is also a distance component that this doesn't account for. > As long as the aircraft position isn't greater than 30m higher than > wherever the lights are centered, then they'll stay at 0.5 meters. > That's good for almost all airports. Actually the distance used is current height above the ground, not height above the center of the tile. > The lights are about twice as high though when the YASim fdm is > used. This seems weird...thought I knew why before...but now I'm > not sure. Start up the c310 in each FDM at KSFO, put the parking > brake on, go to chase view, and adjust the eye level close to the > ground and look at the lighting height as compared to the aircraft > image. They are higher under YASim. Starting at the default airport (KSFO) at the default runway (28L) I'm not seeing this. Yasim pitches the C172 model a little more nose up when sitting on the ground, but the lights cut through the model at almost exactly the same height. With the C310, JSBSim sits the model a bit lower, so the wheels are slightly submerged, so in this case, the lights are actually higher relative to the aircraft than with the yasim C310 ... my observations anyway ... I don't see a difference in light height between FDM's ... they do position the aircraft 3d model a bit differently though, maybe that's what you are seeing? Regards, Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] 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
