Jump to content
  • Advertisement
Sign in to follow this  
sunrisefe

OpenGL reason to supply glLoadTransposeMatrix(*m) and glMultTransposeMatrix(*m)

This topic is 4022 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

it's due to that the matrix in opengl is colomn-major ordered, but in mathematic the matrix is row-major ordered, so if we want to do the matrix's multiply operation, we should get the transpose matrix of our matrix. Is my explanation reasonable? thank you

Share this post


Link to post
Share on other sites
Advertisement
More likely it happens because it doesn't match C/C++.
Math counts to a certain point. Graphics "approximation" of fresnel term function will probably make every mathematician to run away screaming.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!