Thread: Yesss I Am The Master!

  1. #1
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039

    Talking Yesss I Am The Master!

    I've FINALLY figured out how to do win32 resource texture transparency in opengl!!!! YES! NOBODY ON NEHE COULD HELP ME BUT I FOUND MY WAY AROUND MASKING!
    and they said i had to make two bitmaps for the price of one, ha.

    everynight for the past 2 weeks for three hours i worked on this problem..i finally got it
    this isnt spam..this is me extremely happy

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    congratulations!
    but you know about the blend func in opengl, right? it can be used to make transparency somewhat. Also alpha blending works wonders when loading up your picture, just set it to RGBA mode.....

  3. #3
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039

    Cool

    pheww...anyway here's what i've been working on.
    press t for transparency and you'll see the original texture.
    may not be much to you, but is ALOT to me.
    EDIT: updated some stuff(the last version had a little memory leak and this version has enhanced graphics with the polygonised technologies)
    Last edited by Xterria; 03-30-2004 at 04:12 PM.

  4. #4
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    Do you have the source or at least could you compile it in linux plz. I program in Opengl(not good at all(I am on vertex arrays right now )) So I can at least look at it. If not did you use glut or what?

  5. #5
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    Quote Originally Posted by jverkoey
    congratulations!
    but you know about the blend func in opengl, right? it can be used to make transparency somewhat. Also alpha blending works wonders when loading up your picture, just set it to RGBA mode.....
    i did, but i don't use two seperate textures like nehe and the rest of em do. I take the data from the original texture and copy it over onto a new texture but without the(0xFF,0,0xFF). and as a resource, too, notice in the zip theres only ONE file(the exe)? wheres the texture, its IN the file! i'm magical

    i used 0xFF, not 255. can i be in the cool programmers club now? <--i hate that smiley

  6. #6
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743

    Cool

    > used 0xFF, not 255. can i be in the cool programmers club now?

    of course not, if you were a cool programmer you would use octal.
    My Website

    "Circular logic is good because it is."

  7. #7
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Real programmers edit the compiler and create their own base!

  8. #8
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    That'll either keep you your job for the rest of your life, as nobody else will be able to understand the numbers or get you fired straight away.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  9. #9
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    >as nobody else will be able to understand the numbers

    that is their problem. if they aren't smart enough to know how to do math in bases other than 2, 8, 10, and 16, then that is there problem. i can do math in any base

    i am particularly partial to base 11, i think it is quite fun.
    My Website

    "Circular logic is good because it is."

  10. #10
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Base 11? Real men use base 1. Now that's a fun way of writing numbers.

    It's just a sequence of zeroes, the actual value depends on the moon phase on the following night to the number being written and the menstrual cycle of the closest female (doesn't have to be human).
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  11. #11
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    im slowly realizing that most 'real' programmers, by you people's standards, are idiots

  12. #12
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    question....when i hit T...is it supposed to turn purple?
    PHP and XML
    Let's talk about SAX

  13. #13
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    yeah :-P
    its the original texture

  14. #14
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    it looks pretty good, keep up the good work

  15. #15
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    base 1 gives me a migrane like no other. Hope the info i gave u last week in the gaming forum helped! Good one : )

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Rtfm
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 03-13-2003, 05:19 PM
  2. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 10:15 PM