This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Alpha blending, is this an improvement?


Alpha blending, is this an improvement?

Postby manuel » Jul 23, 2006 @ 9:34pm

manuel
pm Member
 
Posts: 6
Joined: Jul 22, 2006 @ 11:51am
Location: Italy


Postby Kzinti » Jul 25, 2006 @ 6:29pm

Well RGB565 is sucky in that green has 1 more bit then the two other channels. That means that special care is needed for green when writting graphics code.

When using alpha-blending, you can't interpolate green with the same precision as red and blue. Because of this, it is possible to get some artifacts. You could apply some sort of dithering, but the fact is you will almost never see the difference and it comes at a performance cost.

I am surprise to see that much green in your shots though... Are you sure you are blending properly?
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby manuel » Jul 25, 2006 @ 10:35pm

manuel
pm Member
 
Posts: 6
Joined: Jul 22, 2006 @ 11:51am
Location: Italy


Postby fast_rx » Jul 29, 2006 @ 3:07pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby manuel » Jul 29, 2006 @ 7:12pm

manuel
pm Member
 
Posts: 6
Joined: Jul 22, 2006 @ 11:51am
Location: Italy


Postby j.edwards » Aug 4, 2006 @ 5:06am

Have you seen this post:



Tala showed here how it could be done with a single multiply.
User avatar
j.edwards
pm Member
 
Posts: 240
Joined: Oct 29, 2003 @ 11:09am
Location: Australia


Postby manuel » Aug 4, 2006 @ 12:02pm

manuel
pm Member
 
Posts: 6
Joined: Jul 22, 2006 @ 11:51am
Location: Italy


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron