Norsky Posted April 29, 2015 Share Posted April 29, 2015 Hi, This is my first post. I want know how to use the matrix 3d() property of a 4X4 matrix ( i know for 3x3 matrix)... what does m13, m23, m31, m32 do? I know for all others? Please help... Link to comment Share on other sites More sharing options...
Ingolme Posted April 29, 2015 Share Posted April 29, 2015 m13 and m23 would indicate the Z coordinate of the X and Y axes. m31, m32 and m33 would be the X,Y,Z coordinates of the Z axis. The 3D matrix is complicated, there's a lot of algebra behind it. Multiplying the matrix by a 3D coordinate would cause that coordinate to change. This matrix is similar to the Model-View matrix used by OpenGL http://www.songho.ca/opengl/gl_transform.html#modelview Link to comment Share on other sites More sharing options...
Norsky Posted April 29, 2015 Author Share Posted April 29, 2015 Hmm, is there not any way i can learn the complicated matrix , my Maths is good. but i studied matrices recently.... anyway thankx for your help..... Link to comment Share on other sites More sharing options...
Ingolme Posted April 29, 2015 Share Posted April 29, 2015 I would just stick with the tranlate3d(), rotate3d() and scale3d() values instead of messing with the matrix. They're easy to use. http://www.w3schools.com/cssref/css3_pr_transform.asp Link to comment Share on other sites More sharing options...
Norsky Posted April 30, 2015 Author Share Posted April 30, 2015 These properties are good , but for complex animations i need to learn matrix3d property....... Link to comment Share on other sites More sharing options...
Ingolme Posted April 30, 2015 Share Posted April 30, 2015 Why? Any transformation that the matrix can do can be broken down into a combination of translations, rotations and scalings. If you insist on learning how to use a 3D matrix, it's up to you to do the research for it. Link to comment Share on other sites More sharing options...
Norsky Posted May 1, 2015 Author Share Posted May 1, 2015 Ok thankx..... but i will learn this 3dMatrix() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now