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: Extracting only z rotation matrix from a rotation matrix

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2014
    Posts
    11

    Extracting only z rotation matrix from a rotation matrix

    Hello,
    I have a 3X3 rotation matrix. I have small 3D model. I only need to consider z rotation for that model, I don't need to consider xy movement or rotation. How can I extract the matrix that only consider z rotation of the model from the given rotation matrix?
    Thanks every body in advance.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2009
    Location
    Poland
    Posts
    111
    I remember I had this problem quite some time ago, it's not trivial task, here is some info

    http://paulbourke.net/geometry/trans...ionprojection/

    (scroll down to Euler angles section, there is link to pdf 'Extraction of Euler angles from rotation matrix' there, it's messy, but explains necessary math)

Posting Permissions

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