Transparent 3d Slopes?
Moderator: Graf Zahl
-
- Posts: 8
- Joined: Fri Oct 21, 2005 8:12
Transparent 3d Slopes?
In the current version of gzdoom can you change the alpha value of sloped 3d sectors, i.e. make transparent slopes? If yes, how? If not, will we be able to in the future?
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- solarsnowfall
- Persecution Complex
- Posts: 363
- Joined: Fri Aug 05, 2005 8:51
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- solarsnowfall
- Persecution Complex
- Posts: 363
- Joined: Fri Aug 05, 2005 8:51
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Yes. The problem is that all translucent polygons have to be sorted back to front. As long as there are no sloped flats it's easy. First sort everything horizontally and then sort the resulting sub-groups back to front. But with sloped floors I can't sort horizontally anymore so I have to use the BSP to sort the entire geometry (not so hard) and then sort all the sprites correctly (which includes splits along planes and other not so nice things) This is what is causing me severe headaches.
-
- Posts: 98
- Joined: Tue Jul 14, 2009 21:49
Re: Transparent 3d Slopes?
4 years of development have gone by and I wonder if this could be done more easily now that the engine has matured, though maybe it's already in and I just couldn't figure out the correct tagging.
- Remmirath
- DRD Team Admin (Inactive)
- Posts: 528
- Joined: Fri Feb 15, 2008 19:43
- Location: Somewhere...
- Contact:
Re: Transparent 3d Slopes?
No, it's not in.
The only way to get a translucent 3d slope is to give it 64 flag bits, that is the additive rendering of the 3d floor.
The only way to get a translucent 3d slope is to give it 64 flag bits, that is the additive rendering of the 3d floor.
SoulPriestess wrote:Good job, Morpheus! You are teh awesum!
-
- Posts: 98
- Joined: Tue Jul 14, 2009 21:49
Re: Transparent 3d Slopes?
Good enough for me. Thank you.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Transparent 3d Slopes?
Morpheus wrote:No, it's not in.
The only way to get a translucent 3d slope is to give it 64 flag bits, that is the additive rendering of the 3d floor.
What? I missed that? Thanks for pointing it out. It wouldn't work properly anyway. Fixed for the next revision.