Skip to content

Roller Coaster written in C using OpenGL. This program is used to demonstrate C2 continuous motion of a camera along a roller coaster track. To perform this task uniform b-splines were used to created a track for the camera to ride along.

RyGuyM/Roller-Coaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Roller-Coaster

Roller Coaster written in C using OpenGL. This program is used to demonstrate C2 continuous motion of a camera along a roller coaster track. To perform this task uniform b-splines were used to created a track for the camera to ride along. To run this program we need to run the following in the command line:

$ gcc -std=c99 -o Asteroids Asteroids.c -framework OPENGL -framework GLUT 

$ ./Asteroids

To change the view from being in the world perspective where the track is rotating to riding the coaster, use the following commands in the program:

Press 'r' - Toggle the position of the camera.

Press 'q' - Quit the program.

About

Roller Coaster written in C using OpenGL. This program is used to demonstrate C2 continuous motion of a camera along a roller coaster track. To perform this task uniform b-splines were used to created a track for the camera to ride along.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published