top of page
ChatGPT Image Oct 23, 2025, 11_43_49 PM_edited_edited_edited.jpg
ChatGPT Image Oct 23, 2025, 11_43_49 PM_edited_edited_edited.jpg
ChatGPT Image Oct 23, 2025, 11_43_49 PM_edited_edited_edited.jpg

Overview:

Created a non-interactive roller coaster simulation using C++ and OpenGL Core Profile. The project focused on generating smooth camera movement along a Catmull–Rom spline–defined track and applying shader-based lighting and texturing within a 3D environment.

Tools and Techniques Used:

  • Visual Studio Code

  • C++

  • OpenGL

Process:

  • Constructed a roller coaster path using Catmull–Rom splines, calculating position and tangent vectors to produce continuous, smooth motion along the track.

  • Implemented Phong shading and texture mapping through OpenGL shaders to add lighting and surface detail to the scene.

  • Integrated a skybox to provide a visually immersive background and enhance environmental depth.

  • Animated the camera to automatically travel along the spline in a looping sequence.

Result:

A fully rendered looping roller coaster animation featuring smooth spline-based motion, shader-driven lighting, and a skybox environment. This project strengthened my understanding of spline mathematics, shader programming, and real-time rendering.


Roller Coaster Simulation 

rollercoaster.gif
bottom of page