[SBARINFO] Tranparent elements on status bar

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: [SBARINFO] Tranparent elements on status bar

Re: [SBARINFO] Tranparent elements on status bar

by randi » Wed Jun 30, 2010 9:52 pm

There's a difference between using a single alpha value for an entire image and using a unique alpha value per pixel.

Re: [SBARINFO] Tranparent elements on status bar

by Blzut3 » Wed Jun 30, 2010 7:06 pm

Is there any particular reason why ZDoom doesn't support a full alpha channel in paletted mode? Clearly it's capable of doing alpha blending when given a alpha from elsewhere.

Re: [SBARINFO] Tranparent elements on status bar

by randi » Wed Jun 30, 2010 6:55 pm

Support for the alpha channel for paletted rendering is of the form < 50% = not drawn, > 50% = drawn.

Re: [SBARINFO] Tranparent elements on status bar

by Blzut3 » Wed Jun 30, 2010 5:19 pm

Zippy wrote:all HUD elements in ZDoom have full true color support.
Only on Windows and when hardware acceleration is available. Though ZDoom may have support for the alpha channel any ways, never really tried it.

Re: [SBARINFO] Tranparent elements on status bar

by Zippy » Mon Jun 28, 2010 3:59 pm

The Alpha keyword would be the primary mechanism. Alternatively, if it is convenient for the purpose, you should also be able to just use a PNG with included transparency because the status bar is a HUD element and all HUD elements in ZDoom have full true color support.

Re: [SBARINFO] Tranparent elements on status bar

by InsaneFury » Mon Jun 28, 2010 5:23 am

.+:icytux:+. wrote:im pretty sure this is doable already :P

http://zdoom.org/wiki/SBARINFO
if you check the wikipage, there is already the "alpha" in there.
seems to only be in the svn tho.
But doesn't that apply to the entire status bar? I want to tune only some specific images in the status bar, i.e. have different alpha values per DrawImage.

*edit*
Ah, I see. I was using an outdated version of the documentation. :)

Sweet! Works like a charm! :lol: Forgive my ignorance... :oops:

Re: [SBARINFO] Tranparent elements on status bar

by .+:icytux:+. » Mon Jun 28, 2010 4:59 am

im pretty sure this is doable already :P

http://zdoom.org/wiki/SBARINFO
if you check the wikipage, there is already the "alpha" in there.
seems to only be in the svn tho.

Re: [SBARINFO] Tranparent elements on status bar

by Gez » Mon Jun 28, 2010 4:16 am

InsaneFury wrote:a way to make the HUD transparent [...]

cyan-background images
:bang: :bang: :bang: :bang: :bang:

[SBARINFO] Tranparent elements on status bar

by InsaneFury » Mon Jun 28, 2010 4:06 am

I'm looking for a way to make the HUD transparent through means of SBARINFO for example?

However, unlike the NO'ed request at this page, I'm not referring to having cyan-background images (that's doable already), but having a certain opacity/intensity per image.

This would work like the RenderStyle and Alpha properties in Actors.

If implemented, this would not only make it possible to make a semi-seethrough statusbar, but also allow for full-screen overlay effects (which is what I intend to use it for).

Top