Welcome, Guest. Please login or register.

Author Topic: Transparency  (Read 6112 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Transparency
« on: November 20, 2007, 08:54:55 PM »
@leirbag28
Quote
Real TRansparency requires 16 million colors or a gfx card and higher resolution.

No it doesn't. You can do transparency with 15bit and 16bit aswell. You can even do transparency with planar graphics, and in fact that's quite trivial (you just need to play with the colour palette and you lose 50% of the colours, or alternatively if you can, just add 1 bitplane).

Quote
But I suspect the effect is done the same way........but because the resolution is higher........you cant see the holes and the image would still look pretty good.   Perhaps there is another technique? I don't know...........imnot even sure I am correct on this matter.

The real transparency is done be keeping each individual component in separate bitmap and blitting them together to produce the final resulting screen. This gets quite slow without HW accelerated alpha blits.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Transparency
« Reply #1 on: November 20, 2007, 09:07:01 PM »
Prayer2 has shaped windows with groovie_transparent.robe