Getting position values from a matrix.

Started by
1 comment, last by aker_jus 20 years ago
Because I am not very good at matrix math, suppose I have a D3DXMatrixTranslation (&matrix, 10,10,100); Now.. this matrix is built, but afterwards, what are the matrix elements that correspond to each x,y,z, so I can find them later?
GraphicsWare|RenderTechhttp://www.graphicsware.com3D Graphics & Solutions
Advertisement
This generally only works with translation matrices.

Look in (4,1),(4,2),(4,3) for the translation values. (I might have that transposed. I don''t think so, but they might be in (1,4),(2,4),(3,4) instead. )


I like pie.
[sub]My spoon is too big.[/sub]
Great, thanks about the translation. Is there any way I can get the rotation and scale values from the other matrices though?
GraphicsWare|RenderTechhttp://www.graphicsware.com3D Graphics & Solutions

This topic is closed to new replies.

Advertisement