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 3 of 3

Thread: questions about Matrix using glm

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2014
    Posts
    6

    questions about Matrix using glm

    hi guys! about matrix i have two question
    1- What is determent exactly

    2- i know thi equation s if i have parent and child nodes

    child's new transform = parent's transform * child's transform


    but what if i have Parent's Transform and Child's New transform
    how to calculat child's transform (old transform)

    thank you

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Posts
    754
    Please don't post to multiple sub-forums, since your question is not specific to glm this is a better place for it than OpenGL Toolkits (e.g. GLUT, GLFW, GLM), thanks.

    1. Please see Wolfram Mathworld or Wikipedia - or whichever sites your favorite search engine suggests

    2. It is an equation so you can move terms to the other side by multiplying both sides with the multiplicative inverse of the term you want to move - keeping in mind that matrix multiplication is not commutative, so you need to multiply both sides of the equation from the same side:

    Code :
           C1 =        P * C0  // multiply both sides from the left with P^-1 (the inverse of P)
    P^-1 * C1 = P^-1 * P * C0  // P^-1 * P cancel by definition
    P^-1 * C1 =            C0

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2014
    Posts
    6
    aha thank you so much
    thank you for telling me this
    "move terms to the other side by multiplying both sides with the multiplicative inverse of the term you want to move"
    much appreciate it

Posting Permissions

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