Yesss I Am The Master!

This is a discussion on Yesss I Am The Master! within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I've FINALLY figured out how to do win32 resource texture transparency in opengl!!!! YES! NOBODY ON NEHE COULD HELP ME ...

  1. #1
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035

    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
    University of Waterloo
    Posts
    1,903
    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
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035

    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)
    Attached Files Attached Files
    Last edited by Xterria; 03-30-2004 at 03: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
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    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,738

    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,738
    >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
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    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
    RoD
    RoD is offline
    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 : )

Page 1 of 2 12 LastLast
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, 04:19 PM
  2. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 09:15 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21