From: Chris S. <cr...@bi...> - 2001-04-21 18:35:53
|
Nick Sayer wrote: > > I know this is a very naive question, but what is different about how the > top part of the display is created compared to the bottom? One difference > is clearly the top part has to be re-rendered frequently. But then, so must > the radar, and that's not showing up. But the framing in the bottom part -- > is that only drawn once? Is it some sort of overlay? If it is, is it > possible to make a test version of bzflag that does things in a different > order or something? the two parts are not created differently. it's all one window. they are, however, drawn differently. the infrequently changing parts of the control panel (the background and the messages) are, technically speaking, drawn incorrectly. bzflag draws them into the front and back buffer and assumes swapping buffers will not invalidate the buffer contents. opengl specifically says that this is an incorrect assumption. however, it works on virtually all devices. since the technique was for performance and todays cards are plenty fast enough it should be dropped in the next version. the radar, as you noted, is drawn every frame just like the main view. so even if the buffer persistence assumption was wrong the radar should still show up. the radar generally uses the 2D rather than 3D drawing routines but lots of other things do too. i generally assume any rendering problems are driver bugs for two reasons. first, up until about a year ago, drivers for pc graphics cards were usually pretty buggy. second, the game draws correctly on a *lot* of systems: every sgi box, sun, nvidia, 3dfx, sgi software, microsoft software (except for known bugs in that library), and other pc cards. i'd like to find out what's going on too, but i don't have a g200 card. -chris |