Landscape Simulator

Graphyc Programming

Description

This is a project made in collaboration with Daniel de Castro Isasi using the EDK3 Engine, which is a graphic engine given to us by the College to familiarize us with graphics programming using OpenGL and GLSL. We also use a mathemathical library and a tweening library made by us.
The duration of this project is 6 months from January 2024 to June 2024.

In this project we reimplemented the OpenGL render to make white-box testing and also developed these features:

  • Procedural terrain generator with noise (variable size)
  • ImGui implementation
  • Flycam
  • Lighting (directional light, point light and spot light)
  • Simple geometries with normals (cube, quad)
  • Basic procedural geometries with normals (sphere, surface revolution, terrain)
  • Cubemap
  • Transparencies
  • OBJ loading using TinyOBJLoader
  • Texture loading using STB
  • Post-processes: CRT and Glitch
  • Particle system
C++ Perlin Samplex Noise SoLoud ImGui STB

My Tasks

Initial Terrain Generation with Noise and Normals

The terrain is initially generated based on the following parameters: number of rows, number of columns, noise height, noise smoothness and size. When noise-related calculations are made, normals are also calculated.


Game Project 2

Cubemap

There is a cubemap that serves as a skybox to make the experience more enjoyable and immersive.


Lighting

In this project we have three types of lights that are applied to the stage: point light, spot light and directional light. Up to seven lights can be active at the same time and all related calculations are performed in GLSL.


Game Project 2

CRT Post-processes Effect

There is the possibility to apply a CRT post-processes effect to the simulation. This effect is done in GLSL.


STB Texture Loading

The EDK3 has its own texture load working, but we did not have full access to its functionality, so apart from that I used STB to have total control of the loading of my disk textures.

Game Project 2