Sjonny
03-19-2000, 09:54 AM
Hi!
I hopefully can assume most people here tried the NeHe tutorials. I just had a question about the key handling. All the tutorials I tried that used the keyboard with glut were very slow. I got around this by putting the calcs that make the next screen (updates of rotations, etc.) in the Idle function and at the end there calling a glutPostRedisplay();
I allso tried the SDL versions of these tutorials, and the keyboard reacted even slower! Why is this, and how can this be sped up?
Maybe somebody has a keyboard handling function that works good for games (like in quake or something thats real smooth and can handle a lot of keypresses).
John
I hopefully can assume most people here tried the NeHe tutorials. I just had a question about the key handling. All the tutorials I tried that used the keyboard with glut were very slow. I got around this by putting the calcs that make the next screen (updates of rotations, etc.) in the Idle function and at the end there calling a glutPostRedisplay();
I allso tried the SDL versions of these tutorials, and the keyboard reacted even slower! Why is this, and how can this be sped up?
Maybe somebody has a keyboard handling function that works good for games (like in quake or something thats real smooth and can handle a lot of keypresses).
John