Page 1 of 1

Transparency in models

Posted: Wed Aug 15, 2007 9:59
by Torr Samaho
I'm trying to use some of the jDRP models in GZDoom and noticed that GZDoom renders the transparent parts solid: The upper part of the bottles in the screenies is supposed to be transparent. Both Doomsday (first shot) and Vavoom render it with transparency, GZDoom (second shot) does not.

Image
Image

Am I doing something wrong here or does GZDoom just not support transparency in models?
Spoiler: Model definition

Posted: Wed Aug 15, 2007 16:03
by KeksDose
Translucency for models isn't supported by GZDoom (I tried, no luck). If alpha channels would work right they would do the job perfectly, I think P:

Posted: Wed Aug 15, 2007 17:13
by InsanityBringer
That doomsday screenshot looks sort of bad IMO. I don't think it fits into doom due to the hi res textures and werid lighting

Posted: Thu Aug 16, 2007 13:22
by Nash
GZDoom only supports binary transparency for models. Meaning the polygons will be either visible or invisible. Nothing in between is supported.

I've had luck making use of the alpha channel in PNGs for model textures, but as I've said, it's either opaque or 100% transparent.

Let me look for a post from Graf explaining why it's not supported...

EDIT:

http://forum.drdteam.org/viewtopic.php? ... ucent#8603

Posted: Thu Aug 16, 2007 18:41
by Torr Samaho
Thanks for the info. Guess I'm out of luck then. It's not a big deal for the health potions, but the spheres just don't work without transparency.

Posted: Mon Aug 20, 2007 2:09
by DaniJ
That doomsday screenshot looks sort of bad IMO. I don't think it fits into doom due to the hi res textures and werid lighting
The bad lighting in that shot is actually drawn on the textures being used. It is not Doomsday's fault that the texture artist who created them doesn't seem to understand how to paint world textures.

Thankfully, there are newer resources available now [compared those in that shot] which much more closely resemble the original id art asset.

Posted: Mon Aug 20, 2007 4:23
by InsanityBringer
Good. BTW:I meant nothing agaisnt DoomsDay. It is good for its own reasons