Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Taking a rotation apart

  1. #1
    Newbie Newbie
    Join Date
    Dec 2013

    Taking a rotation apart

    Hi guys,
    I have given a Rotation like

    glRotatef(w, x, y, z);

    Now IŽd like to take this apart and write it with three single rotations for the same result.

    glRotatef(wx, 1, 0, 0);
    glRotatef(wy, 0, 1, 0);
    glRotatef(wz, 0, 0, 1);

    How can I convert it?


  2. #2
    Member Regular Contributor
    Join Date
    Aug 2008
    Searching the web for "axis-angle to euler" returns this result:

Posting Permissions

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