Pixel Perfect Posted August 5, 2011 Share Posted August 5, 2011 Does anyone know how this matrix is constructed (as per SetEntityMatrix and GetEntityMatrix). What is the order of the four TVec4 vectors? The wiki seems to mention 3 ... position, rotation, and scale ... so whats the forth and are they in that order? I'm reading in the vegetation binary data and trying to interpret it. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Pixel Perfect Posted August 5, 2011 Author Share Posted August 5, 2011 ok, I guess I will have to work it out empirically Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Josh Posted August 5, 2011 Share Posted August 5, 2011 A 4x4 matrix does not contain euler rotations. The easiest way to get these is to call SetEntityMatrix with this matrix, then retrieve the entity's rotation. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Pixel Perfect Posted August 5, 2011 Author Share Posted August 5, 2011 ok, thanks Josh Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.