[freespace2] G400 text problem... someone test this

Taylor Richards mtrs at bellsouth.net
Sun May 11 17:37:59 EDT 2003


On Sun, 2003-05-11 at 02:49, Bradley Bell wrote:

> No, everything is wonderful performance-wise, It's just impossible to know what
> you're doing when your HUD display is entirely made up of colored boxes.

AAHHH!  I see what you're talking about now.  That's pretty screwed up. 
You can change gr_opengl_zbuffer_set() to something like this which
seems to fix the mainhall, help and the hud but now screws up the
briefing icons.  There also seems to be a slight performance hit (~5%)
in the game but I may have been imagining that.

	if (gr_zbuffering_mode == GR_ZBUFF_NONE )      {
		gr_zbuffer_clear(0);
	} else {
		gr_zbuffer_clear(1);
	}

Not the best solution but it should get you playing.

> 
> I wish I had a clue about how the hardware works so I could try and find it myself.

I don't really have any idea what I'm doing, just trial and error.  I'm
guessing that a change in order or types of some of the glHints() or
texture formats would help out but I haven't found that combination
yet.  The DRI docs aren't really much help here so I'm just going
through the code comments to see if anything pops up.  What I have
noticed is that it's appears to be more that one thing that's doing it,
I just don't know what that nasty combination is yet.  The fact that
just the briefing icons are messed up with the above fix may help narrow
down the search enough though.


Taylor

-- 
Taylor Richards <mtrs at bellsouth.net>




More information about the freespace2 mailing list