Results 1 to 4 of 4

Thread: Difference between Modelview matrix and projection matrix

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    2

    Difference between Modelview matrix and projection matrix

    Hi,

    I am a beginner on OpenGL. I have a bit confused on modelview matrix and projection matrix. As my understanding, modelview matrix represents the direction the camera looking at while projection matrix represents the range of clipped space. Is that right?

    Thanks in advance

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Difference between Modelview matrix and projection matrix

    Yeah, more or less that way.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Apr 2011
    Posts
    288

    Re: Difference between Modelview matrix and projection matrix

    ModelView matrix is the concatenation of Model matrix and View Matrix. View Matrix defines the position(location and orientation) of the camera, while model matrix defines the frame's position of the primitives you are going to draw.
    Projection matrix defines the characteristics of your camera, such as clip planes, field of view, projection method etc.

  4. #4

    Re: Difference between Modelview matrix and projection matrix

    The reason for two separate matrices, instead of one, is that lighting is applied after the modelview view matrix (i.e. on eye coordinates) and before the projection matrix. Otherwise, the matrices could be combined.

Similar Threads

  1. Clarification (Projection Matrix & ModelView Matrix)?
    By CroCodile in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-01-2013, 11:43 AM
  2. getting the inverse modelview projection matrix
    By cherryyosh in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-04-2009, 08:09 AM
  3. Replies: 2
    Last Post: 05-21-2005, 03:57 AM
  4. Getting the inverse Modelview*Projection Matrix
    By Jan in forum OpenGL: General
    Replies: 2
    Last Post: 05-17-2004, 01:46 AM
  5. PROJECTION / MODELVIEW matrix analogy?
    By Andrea Rossini in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-22-2002, 11:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean