Advertisement Jump to content
Sign in to follow this  
CDProp

OpenGL OpenGL and Matrices

This topic is 3366 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!