amiga.org
     
iconAll times are GMT -6. The time now is 01:16 AM. | Welcome to Forum, please register to access all of our features.

Amiga.org Operating System Specific Discussions Amiga OS Amiga OS -- Development AmigaOS Gadgets support Alphablending?

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 08-05-2011, 06:41 PM   #1
ChaosLord
Premium Member
Points: 15,941, Level: 81 Points: 15,941, Level: 81 Points: 15,941, Level: 81
Activity: 14% Activity: 14% Activity: 14%
 
ChaosLord's Avatar
 
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,528
Default AmigaOS Gadgets support Alphablending?

Plain Jane AmigaOS has no support for Alphablended Gadgets.

But I am wondering if P96 or CGX does support that?

I can't imagine that it would be possible since the alphablending would alter the background in unpredictable ways.

My GfxMage wants my AmigaOS Gadgets to cast shadows on 16M Color Screens. To this end he has added several pixels of Alphablendiness to the gadgets.

I already told him that I didn't think it could work.

But I wanted to get a definitive answer from one of the experts lurking about on the org
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
ChaosLord is offline   Reply With Quote
Old 08-06-2011, 12:23 AM   #2
rzookol
Hobbyist
Points: 5,720, Level: 48 Points: 5,720, Level: 48 Points: 5,720, Level: 48
Activity: 5% Activity: 5% Activity: 5%
 
Join Date: Jul 2006
Posts: 63
Default Re: AmigaOS Gadgets support Alphablending?

Morphos and Aros and OS4 has WritePixelArrayAlpha(), You can try afaos + zune on OS3.x. Probably it will work.
rzookol is offline   Reply With Quote
Old 08-06-2011, 03:29 AM   #3
itix
Kindred of Babble-on
Points: 12,755, Level: 73 Points: 12,755, Level: 73 Points: 12,755, Level: 73
Activity: 29% Activity: 29% Activity: 29%
 
itix's Avatar
 
Join Date: Oct 2002
Posts: 2,022
Default Re: AmigaOS Gadgets support Alphablending?

If you mean vanilla Intuition struct Gadget you are out of luck. They only support 8-bit planar bitmap graphics.

If you use GUI engine you can use WritePixelArrayAlpha() or write your own alpha blending routine.
itix is offline   Reply With Quote
Reply

Bookmarks

Tags
alphablending , amigaos , gadgets , support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump