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

Transparency questions


Transparency questions

Postby no pockets » Feb 13, 2006 @ 9:36am

Attachments

[The extension png has been deactivated and can no longer be displayed.]

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby no pockets » Feb 13, 2006 @ 9:40am

Attachments

[The extension jpg has been deactivated and can no longer be displayed.]

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby no pockets » Feb 13, 2006 @ 9:45am

Also, I have useful function in my GapiDraw projects which sets transparent color automatically, like the following code for PF. But this doesn't work. I guess I need to convert color data somehow, could smbdy tell me how?

void pickTransparent(Surface* s, int x, int y) {
Rasterizer r(s);
Pixel p = r.GetPixel(x, y);
s->SetColorMask(p);
}

Thank you.
I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby Conan » Feb 13, 2006 @ 2:55pm

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


Postby no pockets » Feb 13, 2006 @ 3:41pm

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby no pockets » Feb 13, 2006 @ 3:45pm

Attachments

[The extension gif has been deactivated and can no longer be displayed.]

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby muff » Feb 13, 2006 @ 4:01pm

muff
 


Postby no pockets » Feb 13, 2006 @ 4:45pm

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby Presto » Feb 13, 2006 @ 7:07pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby no pockets » Feb 13, 2006 @ 7:30pm

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


Postby jaguard » Feb 14, 2006 @ 8:59am

3 would be something like:

display->SetRenderTarget(surface);
colormask = display->Getpixel(0,0);
display->SetRenderTarget(NULL);
surface->SetColorMask(colormask);

1 is mentioned a lot here, and implemented by fast_rx, and IIRC included into bigben patch http://www.pocketmatrix.com/forums/view ... hp?t=21765.
jaguard
pm Member
 
Posts: 230
Joined: Mar 2, 2004 @ 6:45pm


Postby BIGBEN » Feb 14, 2006 @ 6:45pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby no pockets » Feb 15, 2006 @ 1:23pm

I've frittered away my time, done nothing more important than design silly games for idle people...
User avatar
no pockets
pm Member
 
Posts: 21
Joined: Oct 5, 2003 @ 10:54am
Location: Minsk.Belarus


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