Thread: Derivation of Matrix to Quaternions conversion

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    64

    Derivation of Matrix to Quaternions conversion

    How did the first matrix derived? Also the second one?

    The picture came from here. Part Five: Quaternions

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I believe it comes from this:

    (Q1 * Q2).w = (w1w2 - x1x2 - y1y2 - z1z2)
    (Q1 * Q2).x = (w1x2 + x1w2 + y1z2 - z1y2)
    (Q1 * Q2).y = (w1y2 - x1z2 + y1w2 + z1x2)
    (Q1 * Q2).z = (w1z2 + x1y2 - y1x2 + z1w2)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C - access violation
    By uber in forum C Programming
    Replies: 2
    Last Post: 07-08-2009, 01:30 PM
  2. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-14-2004, 12:19 AM