|
-
Oct 23rd, 2001, 11:18 PM
#1
bitblt unanswered question!
in all of the bitblting tutorials ive read, it make a sprite with you need the original bitmap and another one which acts as a mask, having the black parts = original colours and white parts = transparent....
What ive been wondering is, where does the mask come from?! Do you have to make it yourself?? Say, in a graphics program, paint all the sections u want to be transparent to white and all the parts you want kept to black??
tutorials never answers this basic question..
-
Oct 24th, 2001, 12:41 AM
#2
Member
When I used bitblt I always made them myself and I don't think there's a program to do it for you ^_^
-
Oct 24th, 2001, 05:57 AM
#3
PowerPoster
Of course Usako..
I once made that Mask Generator that creates the masks you need.. but in the meantime I directly create the masks in my bitmap handler module when loading them so I dont need the masks anymore *shrugs
I think I posted the program here.. however, Ill post again when i get home.
-
Oct 24th, 2001, 06:25 AM
#4
Fanatic Member
http://psprogramming.multimania.com/.../powermask.zip 
Works pretty good, although that one uses a relatively slow method if I'm correct.....but hey, I didn't need realtime masking, so why bother trying 
Also allows you to combine the sprite and mask into one picture, either horizontally or vertically...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Oct 24th, 2001, 11:58 AM
#5
-
Oct 24th, 2001, 12:06 PM
#6
Fanatic Member
the split option is nice 
but where is the mask color picker?
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Oct 24th, 2001, 04:26 PM
#7
wow
wow! Fox, that mask generator of yours is really something!! really really useful. thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|