PDA

View Full Version : retrieve absolute coordinate after transformation?



xinoonix
10-08-2008, 04:16 PM
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.

_NK47
10-09-2008, 02:11 AM
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]

dletozeun
10-09-2008, 04:55 AM
Save the original O coordinates or compute the matrix inverse.