-
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!
-
Advanced Member
Frequent Contributor
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.
-
Advanced Member
Frequent Contributor
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.
-
Re: How to implement this without Glut
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules