Sloped 3d floor render bug

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Sloped 3d floor render bug

Re: Sloped 3d floor render bug

by Graf Zahl » Sun Aug 18, 2019 7:05 am

Fixed. This came from a bad alpha value that got set for sloped 3D floors.

Re: Sloped 3d floor render bug

by Graf Zahl » Sat Aug 17, 2019 2:27 pm

I suspect some uninitialized render style somewhere. If this was just rendered with regular translucency by accident it wouldn't glitch this badly.

Re: Sloped 3d floor render bug

by Marisa the Magician » Sat Aug 17, 2019 2:01 pm

Ah, I knew it. sloped 3d floors and any form of transparency just don't mix.

I assume what happens here is that the software renderers treat the texture as opaque, but on hardware it tries to do alpha blending of some sort and fails spectacularly?

Re: Sloped 3d floor render bug

by Enjay » Sat Aug 17, 2019 8:14 am

Marisa Kirisame wrote:does it still crap out if you flatten it?
If I flatten it, the glitches go away.

Re: Sloped 3d floor render bug

by Graf Zahl » Sat Aug 17, 2019 4:40 am

That really shouldn't make a difference in the final image. But it's an idea. If it thinks the texture has an alpha channel and selects a bad render mode it might glitch.

Re: Sloped 3d floor render bug

by Marisa the Magician » Sat Aug 17, 2019 4:13 am

It seems that that texture has an alpha channel (although it's all at 255), does it still crap out if you flatten it?

Re: Sloped 3d floor render bug

by Graf Zahl » Fri Aug 09, 2019 10:26 am

All I can say is that it's something with the texture - but there's so much interference in that bunch of data that I can't find what precisely causes it. Globally replacing the METSAND texture in the map with a stock Doom 2 texture makes the glitch disappear.

Re: Sloped 3d floor render bug

by Wivicer » Sat Jun 01, 2019 11:34 pm

Done. Sorry about that

Re: Sloped 3d floor render bug

by _mental_ » Sat Jun 01, 2019 11:22 pm

Post a complete runnable sample please.

Sloped 3d floor render bug

by Wivicer » Sat Jun 01, 2019 11:06 pm

(NB: this only occurs in the hardware renderer)

I have created a map with a 3d floor that has its bottom face sloped. The upper face is flat. In the softpoly renderer it looks fine, but in the hardware renderer it looks like this:

Image
Map File
Mod File
You'll also need this: https://drive.google.com/file/d/0B4p2zW ... sp=sharing

Top