Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Masking?

  1. #1
    Intern Newbie
    Join Date
    Nov 2000
    Location
    Haifa Israel
    Posts
    44

    Masking?

    How do you tell opengl not to draw a specific color (Not by using another mask image!!!)

  2. #2
    Guest

    Re: Masking?

    I can tell you the best way to do this is by loading a texture picture that support alpha channel and then with a loop to check all the pixels and wich has the color to specify the alpha value...

  3. #3
    Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    486

    Re: Masking?

    Hi,

    I've a program for loading a tree with and without alpha channel.
    http://ibelgique.ifrance.com/Slug-Production/

  4. #4
    Intern Newbie
    Join Date
    Nov 2000
    Location
    Haifa Israel
    Posts
    44

    Re: Masking?

    I searched your site and couldn't find that.
    can you give me more directions ( a closer link maybe)

  5. #5
    Intern Newbie
    Join Date
    Nov 2000
    Location
    Haifa Israel
    Posts
    44

    Re: Masking?

    4Get it, found it, 10X dude!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •