Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: technologist

Search: Search took 0.00 seconds.

  1. Got it fixed with your help, thanks. For now...

    Got it fixed with your help, thanks.


    For now , you hit it on the head. I'm using the GLUT FPS for learning. I'm going to migrate towards contemporary OpenGL once I cross some topics issues off...
  2. four callbacks to handle ASCII & special function keys

    I've got four callbacks to handle ASCII & special function keys.
    AscII->detect a normal keypress (keyPressed) and (keyUp) to detect release of the ASCII key.
    Keyboard ARROWs pressed are...
  3. ascii & GLUT_KEY_* constants

    I want to transform all of my switch statements to, example: if (key==var) because how can keyUp take in both Ascii & GLUT_KEY_* constants.

    from switch (key) {case GLUT_KEY_LEFT : pGv->deltaAngle...
  4. need to process both normal and special keys for keyUp status

    How do I use if (key==number){do stuff;} instead of


    switch (key) {
    case GLUT_KEY_LEFT : pGv->deltaAngle = 0.0f; break;//pGv->strafe_left = false; break;
    case GLUT_KEY_RIGHT :...
Results 1 to 4 of 4