Skip to content

view changes to model-view-projection matrix calculations in real time

License

Notifications You must be signed in to change notification settings

jpe90/model-view-projection

Repository files navigation

Model View Projection

An OpenGL ES application written in C99 that lets you inspect 3D transform matrices used to draw an object in a scene.

To look around, hold down right mouse and move the mouse. You can fly forward, backward, or strafe with WASD.

When you move the camera or manipulate the controls, you can see how they affect the values of the model, view, and projection transform matrices in real-time.

See accompanying blog post

preview

The "Cube" section on the left modifies the model matrix calculation.

The "Scene camera" section affects the grey camera depicted in the scene. Checking the "Fix Eye to camera" box switches to this camera's perspective.

Dependencies

  • SDL2
  • OpenGL3

Building

make

About

view changes to model-view-projection matrix calculations in real time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages