Welcome, Guest. Please login or register.

Author Topic: Transparency  (Read 6090 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline leirbag28

Re: Transparency
« Reply #29 from previous page: November 20, 2007, 06:40:16 PM »
@motorollin

I could be wrong, but no Amiga does Transparency..............what your probably seeing is the menu gets dithered or pixels are eliminted so that you can see through it.  Like for example.....grab an icon on the desktop is OS3.9 and drag it around the screen...........you can see through it, but you will also notice it is not as solid as it was before........pixels have been elimintaed......it has been dithered with color zero.

Real TRansparency requires 16 million colors or a gfx card and higher resolution. 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.

CD32 is actually the best Amiga ever made by Commodore!...
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Transparency
« Reply #30 on: November 20, 2007, 07:11:41 PM »
Quote

I could be wrong, but no Amiga does Transparency..............what your probably seeing is the menu gets dithered or pixels are eliminted so that you can see through it.


Not at all. For example MagicMenu implements transparency (translucency) without dithering. Menu is simply blended to the background. It is not real transparency however, the background does not update while menu is open.

With CGX (CGX4?) it is possible have shaped windows but it is not same as transparency...
My Amigas: A500, Mac Mini and PowerBook
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Transparency
« Reply #31 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 unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Transparency
« Reply #32 on: November 20, 2007, 09:01:59 PM »
>With CGX (CGX4?) it is possible have shaped windows but >it is not same as transparency...

this feature is in cgx3.But i never see a running example for it.

If you can explain how that work or post code or link to code how it work on MOS, is nice.I think CGX 3 and 4 use same technique

 

Offline Piru

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

Offline A4000_Mad

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show only replies by A4000_Mad
Re: Transparency
« Reply #34 on: November 20, 2007, 11:41:23 PM »
Thanks for giving us the link to Prayer2 Piru :pint:

I've downloaded it and tried to use groovie_transparent.robe, but I get a report "This robe file requires cgxsystem.library v42 or better".

However, if I go into a Shell and type:-

Version cgxsystem.library  

I get "cgxsystem.library  42.0"

Any thoughts on that please? The other problem is when the audio is set to 44.1 it plays in slooooow motion. Do you think that should be the case when using an 060?
A4000 Mad
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show only replies by unusedunused
Re: Transparency
« Reply #35 on: November 21, 2007, 08:58:58 AM »
@A4000_mad

when you use AFA then cybergraphics get version 45.
but i use that number by random

@Piru

thanks, thats a good tip, i ask the author maybe he give source if he left amiga or help

I dont know on which cgx library version MOS support the writepixelalpha features.

If you can tell me the version number, i can set the library version to that source compatibility is better to MOS

I do that in iconlib for AFA too.
OS4 introduce in V52 iconlib the 32 bit icons, so AFA has too iconlib num > V52.

this allow the picture thumbnail plugin for workbench and dopus magellan eastern for OS4 to work with 32 bit without change of source with only a compile for 68k and same eastern binary work too on non AFA non OS4 final systemes.  

AFA now support in iconlib new tags for scaling, cropping and tiling in iconlib, i name it now V53.