Grey boxes....
Moderator: Moderators
Grey boxes....
Ok, so what is the deal with the grey boxes? They show up before unit icons. It looks terrible, is there a way to destroy thier existence in a mod setting? I really do not know what the deal is with them but most people I know are hating them and they seem to show up more now.
Just like the line move order, I expect to once again get ignored..
Just like the line move order, I expect to once again get ignored..
Re: Grey boxes....
What smoth said.. I havent seen em myself, but I have icon distance all the way down to minimum.. however they do exist given I have seen them in a screenshot smoth posted.. There ought to be no hardcoded icons..
Re: Grey boxes....
on BA they are not grey but worse ... like a corrupted picture
Re: Grey boxes....
You're probably talking about the "far" unit drawing.
It is controlled by the config/registry UnitLodDist
setting, and also appears the source of the screen
flashing that folks have been complaining about.
I'm willing to provide a mod option to disable far
drawing (which is essentially just billboarding one
of several static images of the unit). Or maybe just
a set it up so that a UnitLodDist <= 0 disables them.
It is controlled by the config/registry UnitLodDist
setting, and also appears the source of the screen
flashing that folks have been complaining about.
I'm willing to provide a mod option to disable far
drawing (which is essentially just billboarding one
of several static images of the unit). Or maybe just
a set it up so that a UnitLodDist <= 0 disables them.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Grey boxes....
Why not just remove this "feature"?
Its unnecessary, broken and nobody uses it...
Its unnecessary, broken and nobody uses it...
Re: Grey boxes....
- Everyone uses it (most just don't know).
- It is used for rendering features as well as units.
- It has the potential to greatly increase the rendering speed.
It'll take a look at fixing it up a bit. One obvious problem
(the flashing), is that the default framebuffer is used to
render the images. This could be done using an FBO (if
available), or deferring the rendering if not. The corrupted
images may be due to texture id mismanagement.
- It is used for rendering features as well as units.
- It has the potential to greatly increase the rendering speed.
It'll take a look at fixing it up a bit. One obvious problem
(the flashing), is that the default framebuffer is used to
render the images. This could be done using an FBO (if
available), or deferring the rendering if not. The corrupted
images may be due to texture id mismanagement.
Re: Grey boxes....
What about using fog and not rendering units hidden by the fog as other games do?
Re: Grey boxes....
Not knowing of this thread I just changed it to defer fartexture rendering to begin of next frame, that fixes gray flashes for me.
Hopefully it doesn't interfere with your changes trepan, if you're already started on them.
Hopefully it doesn't interfere with your changes trepan, if you're already started on them.
Re: Grey boxes....
I found an easier solution, glScissor(). It looks like
the glClear() calls are going outside the bounds.
The entire thing is in need of a cleanup (and not just
for the formatting nastiness). Using a magic color to
pick off transparent areas is bad, and the state
management is lacking. glPushMatrix() anyone?
the glClear() calls are going outside the bounds.
The entire thing is in need of a cleanup (and not just
for the formatting nastiness). Using a magic color to
pick off transparent areas is bad, and the state
management is lacking. glPushMatrix() anyone?
Re: Grey boxes....
Ah, I see you've already committed.
I'll dump my changes then.
I'll dump my changes then.
Re: Grey boxes....
Cool, so no more grey squares everywhere? AWESOME.
was getting pretty sick of small features turning into grey boxes... you know corpses rocks etc..
was getting pretty sick of small features turning into grey boxes... you know corpses rocks etc..
Re: Grey boxes....
Lately I've been having the same problem, so what exactly do I need to do to fix it?
Re: Grey boxes....
Set the unit LOD distance higher than the icon distance. SpringSettings might incorrectly call it 'Unit detail". Bump that sucker up to 600.