Jump to content
  • Advertisement
Sign in to follow this  
CDProp

OpenGL OpenGL and Matrices

This topic is 3212 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

Hey, so, I read on this page: http://www.opengl.org/resources/faq/technical/transformations.htm (question 9.005) ...that the OpenGL matrices are stored as a single run of 16 floats, and so it doesn't matter whether they're considered row-major or column-major or not. But it must matter where multiplication is concerned, right? I mean, do I pre-multiply or post-multiply? In most of the shader code I see, the order of multiplication is opposite from what I see in HLSL code. I guess this is a math question more than an OpenGL question. This FAQ just confused me a bit, is all.

Share this post


Link to post
Share on other sites
Advertisement
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!