(r303) Problems with vetex slopes

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Geometer
Posts: 38
Joined: Wed Jul 16, 2008 18:42
Location: Russia, Saint-Petersburg

(r303) Problems with vetex slopes

Post by Geometer »

This takes place, when all three vertex slopes have the same height. There is a problem only in OpenGl mode. In software mode everything works fine.

Details are here: [spoiler]OpenGl mode (floor under imp is not rendered):

Image

Software mode (everething ok):

Image[/spoiler]
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Post by Rachael »

This might be a stupid question but it's gonna get asked... why are you trying to slope to an even height?

Why even slope at all, if it's gonna be flat and level anyway?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I think that the intention might be to try and build something like the attached (hard to tell from the screenshots).

I know that the attached file can be done with traditional slope lines and it may well not even be correct use of slope things. However, it does show a difference between the software and OpenGL renderers.

In software, the level area in the centre of the structure is a flat floor at height 32. In OpenGL, the floor is there but it looks as if the triangular sector is sitting at 0, not 32. So, you apparently walk across thin air.
Attachments
vslope.zip
(1.02 KiB) Downloaded 48 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Fixed. This was a result of an optimization in the flat drawing code. Before vertex slopes it was guaranteed that for unsloped planes the actual z-position of the plane was the same as the one stored in the sector. But with vertex slopes that's no longer the case.
Locked

Return to “Closed Bugs”