PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

3 X 4 transformation matrix in Edgelib

Hi Edge:

Is it possible to gain the 3 X 4 transformation matrix?
Because I will use this matrix to calculate some relative position. Thanks a lot.


Gar
Hi Gar,

You can fetch the surface matrix by using E3DSurface::Lock and passing the E3DSURFACEINFO structure. The matrix is 4x4, you may need to alter your routines a bit.

Unfortunately, it isn't possible to access the display (world) matrix yet.