[Tutorial, Resource] Models with smooth alpha in GZDoom

Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
  • Is the resource ENTIRELY my own work?
  • If no to the previous one, do I have permission from the original author?
  • If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!
Post Reply
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

[Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Nash »

Image

Yesterday I discovered how you can give your models smooth alpha in GZDoom. Hope you find this useful. Happy modding!

Download --> http://files.drdteam.org/index.php/file ... eltest.zip
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Enjay »

Aha! So that's how you did it. Many thanks for the tutorial/example. Most useful.

To add to what you have said, it is worth mentioning that, in some cases, acceptable translucency can be achieved by using the normal DECORATE forms of translucency on the actor. These do get transferred to the model if one is allocated to the actor but it doesn't give you the fine control of a skin with full alpha support.
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Nash »

Gah. Already found some side effects to this. It's easy to see when you activate the chasecam. The triangle depth sorting goes haywire. Try standing close to the wall with AO and move the view around. Also in some angles the bloodsplats draw in front of the player sprite.

For the blood splats, I don't really care, but the fake AO probably won't work on a large scale design... we can't have these polygons magically appearing in front of sprites even though they aren't supposed to.
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Nash »

Anyone still have this file? I'd like to put it on my Dropbox because DRD files is gone for good.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by The Zombie Killer »

I only have the pk3, but it's better than nothing I guess.
modeltest.pk3
(161.07 KiB) Downloaded 144 times
-TZK
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Nash »

Awesome thanks!
User avatar
LucasGodzilla
Posts: 102
Joined: Sun May 12, 2013 11:14 am
Location: California
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by LucasGodzilla »

What does this do even? I read the title and all, but what difference does it make exactly?
User avatar
Piter432
Posts: 77
Joined: Sat Oct 23, 2010 1:16 am
Location: Polska, Zawiercie

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Piter432 »

Lol, I have good news, Nash :shock: I checked now the files on my disc from old computer and I found your original package (.txt file and .pk3 file). I totally forgot that I downloaded this file :lol:
Attachments
modeltest.zip
(156.54 KiB) Downloaded 112 times
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by Nash »

Thanks! Actually it turns out I had it in my Dropbox all along (original upload with text file) but I appreciate you digging it out for me and putting it as a forum attachment. At least if my Dropbox dies, your attachment would still be there haha.
User avatar
kaos_2211
Posts: 70
Joined: Wed Mar 13, 2013 9:00 am
Location: anywhere the computer
Contact:

Re: [Tutorial, Resource] Models with smooth alpha in GZDoom

Post by kaos_2211 »

very very cool
Post Reply

Return to “Resources”