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: Matrix Speed

  1. #1
    Intern Newbie
    Join Date
    Jul 2000
    Location
    Greenbelt, MD, USA
    Posts
    32

    Matrix Speed

    How fast is glGetDoublev GL_MODELVIEW_MATRIX?

    Will I gain speed if I get the modelview matrix, do all my multiplications, and glLoadMatrix it back in instead of doing translate, rotate, scale operations?

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2000
    Location
    Hannover, Germany
    Posts
    12

    Re: Matrix Speed

    Originally posted by Noah:
    How fast is glGetDoublev GL_MODELVIEW_MATRIX?

    Will I gain speed if I get the modelview matrix, do all my multiplications, and glLoadMatrix it back in instead of doing translate, rotate, scale operations?
    It depends :-)
    You can define your functions as inline,
    no loops. The size of your app will be greater, but the performance also ...
    If your target is G4 you can use the Altivec Unit ....
    adios ...

Posting Permissions

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