Sign in to follow this  

OpenGL Active or Passive Transformation

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

OpenGL does not "move" anything, because it would mean that the camera model or the object model would be altered. There is just a temporary copy of a subset of the vertices on the GPU that are altered. Moreover, GLM is related to but not part of OpenGL.

 

Mathematically changing the view means to put another transformation V' between the view matrix V so far and the world placement of the object's vertex position p like in

    V * V' * p

 

Now, since matrix multiplication has the associative property, we can write the above formula as

   ( V * V' ) * p

what can be interpreted as "moving the camera", or else as

   V * ( V' * p )

what can be interpreted as "moving the world".

 
However, due to the mathematical equivalence and the fact that OpenGL by itself does not override your data, I think the discussion is totally irrelevant.
Edited by haegarr

Share this post


Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this