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 7 of 7

Thread: Changing gl settings GLOBALLY

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    nhfasif@msn.com
    Posts
    3

    Changing gl settings GLOBALLY

    hi all
    i need help with something
    i was wodering how could i change gl settings globally. e.g. say i wanted to disale stuff like "GL_DEPTH_TEST" for all my applications under windows. i mean, these services will be completely unavailable. how would i do that?

  2. #2
    Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    466

    Re: Changing gl settings GLOBALLY

    Why would you like to do this?


    glDisable(GL_DEPTH_TEST);

    Or take glTrace as a foundattion for a wrapper dll which doesn't enable depth test if the app requests.

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    nhfasif@msn.com
    Posts
    3

    Re: Changing gl settings GLOBALLY

    hmmmm....
    i want to completely disable them...
    glDisable disables them only on your current stuff.
    i mean no applications will be able to access them

  4. #4
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Changing gl settings GLOBALLY

    OpenGL has a set of granted functionality which is defined by the OpenGL specs.
    There's no simple way for a user to remove some of this. Just forget it.

  5. #5
    Junior Member Newbie
    Join Date
    Jan 2004
    Posts
    3

    Re: Changing gl settings GLOBALLY

    I bet he wants to cheat at Counterstrike or something.

  6. #6
    Intern Contributor
    Join Date
    Feb 2004
    Posts
    98

    Re: Changing gl settings GLOBALLY

    Implement your own gl32.dll, and swap it out with the one in ($WindowsRoot)/system32.

  7. #7
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    nhfasif@msn.com
    Posts
    3

    Re: Changing gl settings GLOBALLY

    its for my 3d animation stuff...i can disable GL_depth_test in 3ds max so i thought renderring the thginy in gl and disableing those oengl stuff would help

Posting Permissions

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