Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: A Simple Example of Projection Matrix

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2017

    A Simple Example of Projection Matrix

    I'm am aware of how a Orthographic projection matrix is calculated using the arguments passed to the glOrtho() method.
    I just wanted to see a working example and a diagram to explain the effect of multiplying a vector with this matrix.

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    OpenGL Projection Matrix -- Orthographic (Ahn)

    It's just a scale and bias in X, Y, and Z. Pretty easy to visualize: just squish or stretch space; then change the origin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts