Results 1 to 7 of 7

Thread: bitblt unanswered question!

  1. #1
    Aecaiah
    Guest

    Unhappy 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..

  2. #2
    When I used bitblt I always made them myself and I don't think there's a program to do it for you ^_^

  3. #3
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    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.

  4. #4
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    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)

  5. #5
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Here's mine.. has some more options and looks a bit different
    Attached Files Attached Files

  6. #6
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    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)

  7. #7
    Aecaiah
    Guest

    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
  •  



Click Here to Expand Forum to Full Width