Dr. Jörg Christian Reiher
Home/Projects
3D-Engine·OpenGL

3D-Engine with OpenGL

OpenGL Engine Screenshot

I wrote this 3D engine in OpenGL for a univesity project. A fellow student added a particle simulation for the demo. I used assimp for model loading, freetype for text rendering and glm for maths. The demo is a rolling demo but the user can take over camera control by pressing ENTER. During the new-years-eve-themed demo the user moves towards a rocket which then launches automtically and explodes in the air.

My engine features

  • Phong’s lightning model, implemented for an array of light sources
  • Directional light, implemented as parallel light rays coming from the infinity in the direction of the location of the moon.
  • Spotlight from the camera’s perspective (mimics torchlight, toggle with S key)
  • Point light from the moving rocket (toggle with P key)
  • Point light source with omni-directional shadows (rocket explosion, can be nicely seen on poles)