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 3 of 3

Thread: How to get the current openg matrix

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2009
    Posts
    7

    How to get the current openg matrix

    Hi,

    How can I get the current opengl state mechine value(the state matrix), for example the current matrix mode is
    glMatrixMode( GL_MODELVIEW );, is there any opengl function to get the current matrix value? Thanks a lot!

    Leo

  2. #2
    Senior Member OpenGL Pro Ilian Dinev's Avatar
    Join Date
    Jan 2008
    Location
    Watford, UK
    Posts
    1,294

    Re: How to get the current openg matrix

    glGetIntegerv glGetFloatv, etc etc. It's right there in the docs

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,156

    Re: How to get the current openg matrix

    Duplicate thread collapse: here.

Posting Permissions

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