Rendering issues on OpenGL 2.1

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Rendering issues on OpenGL 2.1

Post by _mental_ »

Occasionally I found several rendering issues while using OpenGL 2.1 with the latest GZDoom. I have a very limited access to graphics hardware with the modern OpenGL support, so I have troubles with debugging these bugs (or maybe features that are not yet implemented in compatibility renderer).

The first one is on dead-wire, somehow related to 3D floors:
9fae1728-2812-11e6-8c02-ef71c892f385.png
9fae1728-2812-11e6-8c02-ef71c892f385.png (449.56 KiB) Viewed 627 times
9f8fb094-2812-11e6-8c8f-3908e77808d8.png
9f8fb094-2812-11e6-8c8f-3908e77808d8.png (379.04 KiB) Viewed 627 times
The second one is on The DOOM Tribute Project's MAP01:
gz2.png
gz2.png (381.89 KiB) Viewed 627 times
gz.png
gz.png (397.61 KiB) Viewed 627 times
In both case some of walls are not renderer. GZDoom 1.x nor the latest 2.x using OpenGL 4.5 Core Profile don't have these problems.
toshiaki2115
Posts: 4
Joined: Fri Nov 13, 2015 21:28

Re: Rendering issues on OpenGL 2.1

Post by toshiaki2115 »

get svn build. but leatest svn have crash issue.
I in 2.1 mode as far as was confirmed was 100% crash and driving a light source for the first pillar (where the shotgun zombies are hidden) of the Japanese community Project Map1.
This is the same in any kind of MOD.
It was confirmed a specific (particularly complex) cases to 100% crash in the light source generation in terrain.
It is suspicious behavior of respect to the light source of brightmap is outside, but it works 100%.
Attachments
funny blightmap
funny blightmap
20160530060458_1.jpg (119.12 KiB) Viewed 622 times
crash1
crash1
20160530061204_1.jpg (78.06 KiB) Viewed 622 times
crash2
crash2
20160530061201_1.jpg (82.26 KiB) Viewed 622 times
crash3
crash3
20160530061144_1.jpg (99.57 KiB) Viewed 622 times
crash4
crash4
20160530061139_1.jpg (74.79 KiB) Viewed 622 times
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: Rendering issues on OpenGL 2.1

Post by _mental_ »

Graf, could you please take a look at this fix? It solves all 3D floors issues I encountered but I want to make sure that nothing was missed.
And could please also move the unrelated report to a separate topic? Those crashes have nothing in common with this bug.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Rendering issues on OpenGL 2.1

Post by Graf Zahl »

Hard to tell without a decent diff viewer. If you could make this a pull request instead it'd be easier to check. From what I've seen you just switched the order of checks, right?
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: Rendering issues on OpenGL 2.1

Post by _mental_ »

I changed the order of checks and replaced return with goto. PR is here.
Locked

Return to “Closed Bugs”