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: xiewneqi

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,207

    Well, it seems that gluLookAt just changes the...

    Well, it seems that gluLookAt just changes the View-Matrix, not model matrix. So, If I remove glLoadIdentity() in display callback, every thing works fine now. However, is there anyway in OpenGL to...
  2. Replies
    4
    Views
    1,207

    Thanks for reply, I added push/pop but not...

    Thanks for reply, I added push/pop but not working anyway:

    void myDisplay ()
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

    // draw a triangle
    glMatrixMode...
  3. Replies
    4
    Views
    1,207

    gluLookAt and ModelView matrix

    Hi all, I have some problem with opengl's modelview matrix. Say I change camera's transform using:

    glMatrixMode (GL_MODELVIEW);
    glLoadIdentity ();
    gluLookAt (20, 0, 0,
    20, 0,...
  4. Replies
    2
    Views
    1,194

    thanks for reply, I found the reason leading...

    thanks for reply, I found the reason leading GL_DOUBLE didn't work, the v-sync is disabled.
  5. Replies
    2
    Views
    1,194

    glutSwapBuffers seems not working

    Hello everyone, I met with a strangle problem in a demo program to lean double buffering of OpenGL. I specified GLUT_DOUBLE in glutInitDisplayMode and called glutSwapBuffers at the end of display...
Results 1 to 5 of 5