Josh Babcock > Curtis L. Olson wrote: > > Ampere K. Hardraade wrote: > > > >> On July 28, 2005 12:36 pm, Vivian Meazza wrote: > >> > >> > >>> There was a theory going the rounds that it was the PAPI/VASI lights > >>> which > >>> were/are the cause of the significant drop of frame rate around > >>> airports. > >>> > >>> Vivian > >>> > >> > >> Why can't just model them? > >> > >> It is ridiculous to see each light taken only 4 pixels when the camera > >> is only a few meters away. > >> > >> > > > > Well, come up with a way where we can adjust the light color/intensity > > based on relative view angle, and the light is not visible (or barely > > visible) when viewed from behind. Our current approach is carefully > > crafted to do this pretty well, but depends on using "glPoints" for the > > lights. Smooth points is not implimented in hardware on "game" cards > > that I'm aware of. But we are only using a few of them in any scene so > > we get away with software rendered points just fine. Except nvidia > > rolls out their next driver version and these software rendered points > > have gotten excruciatingly slow on some cards ... but that now seems > > fixed in the latest driver. > > > > Curt. > > > > Well, I'm using an ATI 8500 and it's hitting me pretty hard, dropping it > to about 15%-25% of normal. >
The code for the FLOLS for the carrier more or less does what Curt requires, with the exception that the light intensity does not vary with azimuth. It was based in part on the PAPI/VASI code. In principle it should be possible to get away from relying on GLPoints. On the other hand, I suspect that the existing code is more efficient than the FLOLS stuff. However, there may be a better way using GL's built in features. In addition PAPI/VASI may not be the only or most significant pull on frame rate. Right now, even on a powerful machine, the performance at night is marginal. Perhaps we need to get a handle on some of these performance issues. Vivian _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
