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

Bradley Bell btb at icculus.org
Tue May 6 05:23:24 EDT 2003


Quoting Taylor Richards <mtrs at bellsouth.net>:

> On Tue, 2003-05-06 at 03:51, Bradley Bell wrote:
> > Quoting Taylor Richards <mtrs at bellsouth.net>:
> > 
> > > Clearing the zbuffer after the shader fixes this for me but I'm only
> > > looking at the mainhall.  If someone wouldn't mind, test this to see if
> > > it gets all of the issues on the HUD too.  I don't think there are any
> > > adverse effects from this (speed wise or other).  If there is a better
> > > or more complete way of doing this please let me know.  If this patch
> > > doesn't work for you on the mainhall then you're doing it wrong ;-)
> > 
> > Yep, it fixes it for the mainhall, and fixes it for the hud most of the
> time. 
> > It still does it occasionally, such as whenever I collide with anything, so
> it
> > could be related to the flashing "collision" text.
> 
> There are two different shades, one used on the mainhall and one used in
> the help (F1).  The same fix seems to work for the second shade type as
> well and I think that's what's used for the collision text, missile
> warnings, etc.  Unless someone comes up with a better option I guess
> that's the fix.  If you notice any performance drops I'd like to know
> about them.

it'd be hard to tell, since it was pretty much unplayable before.

> 
> EDIT: Got your other message just before pressing send :-) 
> gr_opengl_rect is the other one.  Just clearing the zbuffer with glClear
> doesn't do the job and I can't remember if gr_opengl_set_state is enough
> either.

I played for a little while, and it still does it at odd times, such as when
there is a jump node onscreen.

-brad




More information about the freespace2 mailing list