Problem with rendering slopes

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Problem with rendering slopes

Post by NeoHippo »

Image

As seen in this image (click it for a larger view), when viewed from a distance the sky comes through where slopes are to be. Moving closer, the slopes are rendered properly. I'm just wondering if that is a bug or not.

Image
Attachments
hw_aa.wad
(46.25 KiB) Downloaded 46 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Problem with rendering slopes

Post by Graf Zahl »

Interestingly this behavior does not change one bit when the field of view is changed so this looks indeed like an engine problem.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Problem with rendering slopes

Post by Graf Zahl »

The slopes are so steep that their z-position overflows at the player's viewpoint. This means that half the math in the code needs to be changed from fixed point to floating point. I'll have to see what's possible.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Problem with rendering slopes

Post by Graf Zahl »

Fixed. However, I can't guarantee that there aren't other places in the engine where such an overflow may occur so even though it renders properly now there's still a chance for this producing glitches.
Locked

Return to “Closed Bugs”