Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 22nd Mar 2014 15:34
Hi! I am trying to use
color backdrop 1,0x80808080
And RGBA value doesn't work. Is that me doing wrong or RGB only?

All your TGC are belong to us.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Mar 2014 15:59
It does work, but probably not how you think it does.

It doesn't render the colour to the display and merge the backdrop colour with what you previously rendered, but it sets the backdrop to that colour. That pretty much makes the alpha component of the colour irrelevent.

If you want the alpha effect with the previous rendering, then you should use the BOX command with a colour with alpha:


mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 23rd Mar 2014 01:04
Hi, IanM! This
rgb(255, 0, 0, 127)
doesn't work, but this
0x80FF0000
does. So hex is ARGB!
Quote: "but it sets the backdrop to that colour. That pretty much makes the alpha component of the colour irrelevent."

Oh! So it was me and hex is working. Thanks!

All your TGC are belong to us.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Mar 2014 22:42
Oops, sorry about the RGB thing - that's an extension from my plug-ins.

Login to post a reply

Server time is: 2026-07-07 00:50:18
Your offset time is: 2026-07-07 00:50:18