Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glmultmatrix

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    KUOPIO,FINLAND
    Posts
    7

    glmultmatrix

    what is wrong in this code???

    glMatrixMode(GL_MODELVIEW);glLoadIdentity();
    glmultmatrif(m);

    glulookat(......,.....);

    ,if m is a rotation matrix?

    it just doesn't work.

    what about quaternions?where can i get info from them?i'm pretty much just beginning opengl programming.are quads difficult to compose?

    thanks,jph.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: glmultmatrix

    To know what's wrong, we need to know what you want...

    Nothing is wrong with your code itself. But I guess you have to change the order of glMultMatrix and gluLookAt.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •