A 3D graphics simulation developed in C++ using OpenGL. This project focuses on the graphics pipeline, procedural geometry generation, and camera movement along complex paths.
- Custom Shaders (GLSL): Implemented Vertex and Fragment shaders to handle 3D transformations and color processing.
- Procedural 3D Modeling: Dynamically generated 3D primitives (locomotives, wagons, and environment) using vertex manipulation.
- Rail System Logic: Created a modular track system including Normal, Bridge, and Tunnel segments with collision/boundary logic.
- Path Following Algorithms: Advanced mathematical modeling for smooth movement and rotation of the train car system along 3D coordinates.
- Language: C++
- Graphics API: OpenGL
- Shading Language: GLSL
This repository contains the source logic (header and implementation files) for the project.
To run this locally:
- You need a C++ development environment with OpenGL, GLFW, and GLAD installed.
- These files are designed to be integrated into a standard OpenGL Framework (similar to the UPB Graphics Framework).
- Integration: Copy the .cpp and .h files into your project's source directory and ensure the shaders (.glsl) are correctly linked in the resource path.