[fixed][0.9.17] Dots Appear When Using The Main Menu

Bugs that have been resolved.

Moderator: Graf Zahl

entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

There is no sense to make it optional on modern NVidia cards because frame rate does not depend on speed of rendering. Or turn on it by default for ATI cards.
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

The easy way to get rid of the dots is to add (or subtract) 0.001f to the vertex coordinates.

Code: Select all

deltax1 = (wall->glseg->x2 - wall->glseg->x1)*0.001f;
deltaz1 = (wall->glseg->z2 - wall->glseg->z1)*0.001f;

glVertex3f(wall->glseg->x1 - deltax1,wall->ytop,wall->glseg->z1 - deltaz1);
glVertex3f(wall->glseg->x1 - deltax1,wall->ybottom,wall->glseg->z1 - deltaz1);
glVertex3f(wall->glseg->x2,wall->ytop,wall->glseg->z2);
glVertex3f(wall->glseg->x2,wall->ybottom,wall->glseg->z2);
I have tried it in the prboom and it works very fine!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I tried that, too, and didn't like the side effects. I'll fix this for real.
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

Graf Zahl wrote:I tried that, too, and didn't like the side effects. I'll fix this for real.
Wie kann ich diese Nebeneffekte in GLBoom sehen? Ich denke, dass 0.001 zu wenig ist, damit es den sichtbaren Effekt in realer Geometrie gibt. Davon werden nur innere Verrechnungen in dem Videoadapter beeinflusst.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Is German easier to read for you?

Anyway, to keep this topic readable for anyone else:

When I tried this some time ago it seemed to work at first but the problem is that the polygons are no longer seamless. The end result on my old Geforce 2 was that I ended up with slight overlaps at the boundaries that were visible on close inspection. And in the far distance the added margin was too small to have any effect so I still got white spots. I never had the chance to properly investigate because at that time I upgraded to a GF3 which was far less prone to these errors and when I got my GF 5900XT they were gone completely.
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

Graf Zahl wrote:Is German easier to read for you?
Ich habe gehofft, dass du mir auf meiner Muttersprache antworten würdest, wenn ich es auf deiner mache :P

I'll wait for the new version.
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

It works correctly in version 0.9.23
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

How often do you check my download folder? I have uploaded it just half an hour ago and haven't even had time to update the links! :?
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

Still buggy with acs_demos.zip\map06
Does not differ from the previous version
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Please don't use mirrors to test this. Mirrors suffer from a slight precision problem. From certain angles there can be a small gap between both sides of the mirror that can create these white pixels as well. This is extremely hard to fix because there actually is nothing to render in these gaps.
lemonzest
Posts: 101
Joined: Wed Aug 31, 2005 19:03
Location: Nottingham, UK

Post by lemonzest »

gotta say it works perfect here :) i did read somewhere about ati cards running at fixed 24bit precision, and nvidia cards running 32bit but then scaling it to 16bit, no idea how much truth is in that tho.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

The mirror problem has been mostly solved as well. But I doubt that I will manage to get rid of that completely. Especially with multiple recursions the accumulated errors can become too large to compensate.
Deathlike2
Posts: 233
Joined: Sat Oct 29, 2005 0:40

Post by Deathlike2 »

The precision you are talking about is referring to the shader precision. I doubt that has anything to do with the dots being rendered on ATI cards. I don't think anything is using shaders currently in GZDoom.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I am using fragment programs to get the invulnerability colormaps to work with camera textures but that's it. But somewhere in the geometry pipeline ATI must be considerably less precise than NVidia. I don't get any of the related artifacts on my Geforce.
entryway
Posts: 56
Joined: Sun Sep 04, 2005 22:24

Post by entryway »

You will laugh :), but white dots still are present in GZDoom ... on slopes

Image Image
Locked

Return to “Closed Bugs”