troubleshooting Question

Projection and Modelview matrices

Avatar of InteractiveMind
InteractiveMindFlag for United Kingdom of Great Britain and Northern Ireland asked on
Game Programming
3 Comments1 Solution1951 ViewsLast Modified:
The projection matrix represents the 'camera's movements, correct? And the modelview matrix is that of the actual objects within the scene... Yeah?

What I'd like to know, is how they're both used by OpenGL to create the scene..

For example, are the modelview and projection matrices both multiplied together at any point? ...

When you call gluPerspective(), it produces a matrix which is multiplied with the current projection matrix. But can anyone explain (or give me a reference to) how gluPerspective() actually produces a matrix?

Also, is rotating +a° around the X-axis using the projection matrix equal to rotating -a° around the X-axis using the modelview matrix?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros