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

Alpha channel


Alpha channel

Postby fast_rx » Nov 9, 2003 @ 3:07am

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


Postby Conan » Nov 9, 2003 @ 8:58am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby JoostB » Nov 9, 2003 @ 9:35am

JoostB
pm Member
 
Posts: 41
Joined: Sep 7, 2003 @ 12:49pm
Location: Belgium


Postby fast_rx » Nov 12, 2003 @ 5:07am

I've done a little modifying of PocketFrog and I've got my alpha blending working. What I did, as opposed to Max, was to add an overloaded blit method that will accept 2 surfaces. Currently, I use the second surface for my per-pixel alpha, but I was thinking it may be useful for something else.
I suppose it could be set up like the custom blit code to accept a user defined pixel function. I really don't know what all you could do with blitting from 2 images, but I though I'd mention it.

Ask if you're interested and maybe I can post code, but it's not simple since I had to modify several files to get it to work.
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


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