Results 1 to 5 of 5

Thread: Help on glutGet...

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2003
    Posts
    6

    Help on glutGet...

    Anyone knows what is the function in OpenGL that are/is equivalent with "glutGet" function in GLUT?

  2. #2
    Guest

    Re: Help on glutGet...

    There's a whole host of glGet* methods, like glGetString() and glGetIntegerv(), are these the ones you're looking for?

    Check Appendix B in the Red book.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2003
    Posts
    6

    Re: Help on glutGet...

    thanx,the function that i need to replace is
    glutGet(GLUT_INIT_WINDOW_WIDTH) and
    glutGet(GLUT_INIT_WINDOW_HEIGHT), so what is it in windows, i mean what is the suitable function for those two GLUT function?any opinion?how to manipulate them using glGetIntegerv & glGetString???

  4. #4
    Guest

    Re: Help on glutGet...

    Ah, nope. You can't get window width or height from glGet* - that's information you need to get the windowing system to supply.

    I presume you're replacing glutGet* because you're dropping GLUT support and using native windowing calls? Try looking at the docs for your native interface.

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2003
    Posts
    6

    Re: Help on glutGet...

    so, do you have any suggestion on what i should use to replace the glutGet function?
    for exampla can i just use the absolute value of the window size / width such as 512 x 512 or anything else???

Similar Threads

  1. glutGet(GLUT_WINDOW_X) bug
    By Trevor@LackeyCCG in forum OpenGL: General
    Replies: 2
    Last Post: 06-17-2004, 07:21 AM

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