David Megginson writes: > Here is a screenshot of KJFK from 3900ft with a 16-bit buffer: > > > Now, with that out of the way, when you look closely, you'll notice > that the lights are clearly floating 40 or 50ft above the runways. I > wonder if there's any formulation we can come up with that could avoid > this. > > For example, let's say that at a certain distance we need the lights > to be 50 ft away from the ground to avoid z-buffer problems. If I'm > looking at the airport from 2 miles away at 1,000ft AGL, then my view > has slope of about 1:10, so the lights need to be lifted only about > 5ft from the ground to get 50ft between them and the ground directly > behind (from my current viewing angle). > > Does this make sense to the math types?
My guess is that the real solution requires taking a different approach http://www.opengl.org/developers/code/sig99/advanced99/notes/node20.html Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
