This is a 3D roller coaster simulation using Catmull-Rom splines and shader-based OpenGL rendering. The track is defined by a sequence of control points loaded from external spline files, and a camera smoothly animates along it in a first-person view. The roller coaster rail is rendered as a geometric mesh using triangle strips and shaded with a Phong lighting shader. Simultaneously, the scene includes a textured ground plane rendered with a second shader, demonstrating multi-shader rendering in a single OpenGL scene.
A Catmull-Rom spline defined the track's geometry, while the ride camera moved along it with correct orientation using tangent, normal, and binormal vectors. The rail geometry was rendered using triangle strips and a ground plane was rendered undeneath the rollercoaster.