Results 1 to 3 of 3

Thread: retrieve absolute coordinate after transformation?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2008
    Posts
    1

    retrieve absolute coordinate after transformation?

    Let say O is the origin of the topmost coordinate. After a bunch of matrix transformations, O will be somewhere else. How can I retrieve O's coordinate relative to the original coordinate without having to track every transformations that have been done? Anyone has an idea of which function to look at? Thanks.

  2. #2
    Senior Member Frequent Contributor _NK47's Avatar
    Join Date
    Mar 2008
    Posts
    574

    Re: retrieve absolute coordinate after transformation?

    if you have a matrix, read out those values with an X:
    [0][4][8][12]
    [1][5][9][13]
    [2][6][10][14]
    [X][X][X][15]

  3. #3
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,367

    Re: retrieve absolute coordinate after transformation?

    Save the original O coordinates or compute the matrix inverse.

Similar Threads

  1. Model transformation from transformation between two frames.
    By VitaliyO in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-21-2017, 02:07 AM
  2. Transformation in Fixed coordinate system
    By debinair in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 04-17-2015, 04:03 PM
  3. Replies: 0
    Last Post: 03-03-2014, 06:44 PM
  4. Coordinate transformation
    By Infamous in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 11-29-2001, 04:08 AM
  5. Mouse Coordinate Transformation
    By Nat in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-23-2001, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean