idea, alternative way for Full color image Transparency

Moderator: Graf Zahl

Locked
User avatar
Raccoon
Posts: 6
Joined: Wed Dec 27, 2006 0:54

idea, alternative way for Full color image Transparency

Post by Raccoon »

As we all know we have always used the PNG's transparency for our images and sprites which unfortunatly require's the use of often hard to get programs or expensive ones to do it with. But a thought came to me recently (After failing to get free programs that claim to do so to work). Perhaps there could be a way to code GZdoom itself to Render images with transparency by specifying what images and the color to render as transparant in like say the GLDEFS lump. I imagine this could take quite a bit of work to implement into GZdoom, But it would be a major plus for modders. For it would make it so much more easy to have full color images with transparency without the need of hard to get Image software. Here's an example of how my idea of transparency would be defined in GLDEFS.

SETIMAGETRANS SSZXA0 "00FF00"

And that would set a sprite or image with the color you want to be rendered as transparent. 00FF00 would make green be rendered as Transparent. Hope you can make use of this. Happy DooMing!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No. It's a hack and that makes it an unattractive feature. Furthermore, full sprite translucency should be specified in the actor, not the sprite.
User avatar
Raccoon
Posts: 6
Joined: Wed Dec 27, 2006 0:54

Post by Raccoon »

Oops. Sorry, I made the topic in the wrong forum. I meant to make this in feature suggestions.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

You did. I moved it.
Locked

Return to “Closed Feature Suggestions”