PDA

View Full Version : How to implement this without Glut



wzhao53
12-01-2003, 08:34 PM
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!

M/\dm/\n
12-01-2003, 09:03 PM
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.

rgpc
12-01-2003, 11:06 PM
Just to emphasise the point that has been made twice now (in each of your posts) - go to nehe (http://nehe.gamedev.net) and look at the code/tutorials there.

And stop posting nube questions on the Advanced forum.

kansler
12-02-2003, 12:39 AM
^what he said^