Thread: openGL

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    417

    openGL

    I'm trying to create a flashbang for my HL mod, but I'm not quite sure how to do this. I know which functions I need (I think), but I don't know how to use them properly.

    I want to read in all the pixels on the screen, invert it, and overlay that over whatever is on the screen, with the alpha slowly decreasing. Once its at 0, I want to stop doing this.

    This'd sorta be like the Tom Clancy rainbow six flashbang.

    glReadPixels
    glDrawPixels
    glCopyPixles

    I think I need those three, but how do I modify the alpha?
    Last edited by Trauts; 01-11-2004 at 04:24 PM.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    You'll probably get more replies on the Game Programming board.

    gg

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    I forgot about it :P

    Moderator: Please delete this thread

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM