Results 1 to 4 of 4

Thread: glMinmax and glGetMinmax

  1. #1
    Guest

    glMinmax and glGetMinmax

    Hi

    I need some help getting the minmax function in OpenGL to work. I'm programming under Windows 98. After calling glEnable(GL_MINMAX) and reseting the minmax table by calling glMinmax, I draw some simple triangles and call glGetMinmax, but unfortunately the values never change -- they are always set at their initial values (minimal and maximal possible values).

    What am I doing wrong ?

    - Arie

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: glMinmax and glGetMinmax

    That is an extension, or at least something higher than v. 1.1, is it not? Have you verified that your drivers support that yet?
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Guest

    Re: glMinmax and glGetMinmax

    Hi,

    Thanks for answering,

    I'm using the latest NVidia drivers, which support OpenGL 1.4. My SDK doesn't have the definitions of glGetMinmax and glMinmax, so I call wglGetProcAddress(...) to get the functions I need. Since I get non-NULL function pointers, and the Minmax values I get are at least initialized correctly, I assume that the problem is on my part, probably not using the functions right (maybe I'm not calling them at the right point in the OpenGL state-machine).

    - Arie

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: glMinmax and glGetMinmax

    Ok, I'm not familiar with those functions myself so I can't help you much more. Just thought that it was possible that you were trying to use that on an older OpenGL implementation. Maybe someone else who's used those functions will be able to tell you more. I've only briefly looked at the spec for that stuff, and honestly don't remember much about how they were used.
    Deiussum
    Software Engineer and OpenGL enthusiast

Similar Threads

  1. glGetMinmax, FBOs, and HDR textures
    By richiek in forum OpenGL: Advanced Coding
    Replies: 14
    Last Post: 03-20-2009, 08:56 AM
  2. glGetMinmax without rendering
    By diwksmfdj383439qpslo87239 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-01-2005, 11:25 AM
  3. glMinMax
    By torrence in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-30-2004, 03:44 AM
  4. glut and glMinmax help please
    By in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 01-17-2003, 02:25 AM
  5. glMinmax
    By dror-ai in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-12-2002, 12:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean