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: glTranslate & glRotate deprecated

  1. #1
    Intern Newbie
    Join Date
    Nov 2013
    Posts
    30

    glTranslate & glRotate deprecated

    I have recently readhttp://www.swiftless.com/tutorials/o...-matrices.html
    that glTranslate and glRotate are being deprecated in favor of OpenGL Mathmatics (GLM).
    This may fine and dandy for C++ programmers but, as Bjarne Stroustrup wrote, people who are adept at C will have a great deal of trouble with C++. That's me.
    I have found Nate Robins 1997 version of glm.c http://www.cs.kent.edu/~farrell/cg02.../natetut/glm.c
    However, I am still at a loss as to how to get around a dysfunctional glTranslate

    All help will be appreciated.

  2. #2
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,175
    Quote Originally Posted by wmelgaard View Post
    I have recently readhttp://www.swiftless.com/tutorials/o...-matrices.html
    that glTranslate and glRotate are being deprecated in favor of OpenGL Mathmatics (GLM).
    Simply not true. The whole concept of immediate-mode rendering is deprecated. GLM is just one of the libraries used to make life easier if you don't want or can implement all required math on your own.

    Quote Originally Posted by wmelgaard View Post
    This may fine and dandy for C++ programmers but, as Bjarne Stroustrup wrote, people who are adept at C will have a great deal of trouble with C++. That's me.
    There is no problem in implementing all functionality in C. In fact, just what you have to do is to implement matrix multiplication. All transformations are just that - the matrix multiplication.

Posting Permissions

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