Skip to content

Use Catmull-Rom splines along with OpenGL core profile shader-based texture mapping and Phong shading to create a roller coaster simulation.

Notifications You must be signed in to change notification settings

yz7788/RollerCoaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

RollerCoaster

Description

Visual Studio 2019 solution/project files is provided.

In this Project, we use Catmull-Rom splines along with OpenGL core profile shader-based texture mapping and Phong shading to create a roller coaster simulation.

Compile

$ ./hw2 track.txt

Features

  1. Rendered a Double T-shaped Rail.

  2. Render the camera at a physically realistic (free falling) speed in a continuous path

  3. Randomly generate track from several sequences of splines in track.txt

Keyboard/Mouse controls

  1. Accelarate/ Decelarate: Key "W" / "S"

  2. Pause / Continue: Key " " (spacebar)

  3. Rotate camera view: Left Mouse Button Drag

  4. Change scene: Key "1" / "2"

About

Use Catmull-Rom splines along with OpenGL core profile shader-based texture mapping and Phong shading to create a roller coaster simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published