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

Thread: How to implement this without Glut

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003
    Posts
    15

    How to implement this without Glut

    For example, I used glutIdleFunc(), sleep() and glFlush() to print some letters one by one on the graphics. I also used single buffer to make it work.
    If I can not use glut, how can it work at the same way? Any simple sample codes? Nehe has too much codes....

    Thanks!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    628

    Re: How to implement this without Glut

    Exactly the way NeHe does. Of course you can cut down error checking & use full screen only app so eliminating 1/3 of all code, but the basement stays. You can chenge kb routine by using getKeyState.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Melbourne,Victoria,Australia
    Posts
    767

    Re: How to implement this without Glut

    Just to emphasise the point that has been made twice now (in each of your posts) - go to nehe and look at the code/tutorials there.

    And stop posting nube questions on the Advanced forum.

  4. #4
    Intern Contributor
    Join Date
    Apr 2002
    Posts
    87

    Re: How to implement this without Glut

    ^what he said^

Posting Permissions

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