Here is a screenshot of KJFK from 3900ft with a 16-bit buffer:

  http://www.megginson.com/flightsim/jfk-night.png

First of all, it looks wonderful.  Many of us can remember when the
whole world was a desert, and then when we had only forest and grass
airport areas with no runways.  It's nice to see how far we've come in
a short time.

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?


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

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

Reply via email to