Roller Coaster Adventures
By: Timothy Phan and Peter Chau
CPE471-01
Spring 2012
Overview
This game simulates a roller coaster from first person view using a fully automated camera following a track. The balloons and track were
both created using Blender and then exported as an obj file to our program using a loader. The track utilizes a bezier curve to model a
smooth curve for our roller coaster to follow. The world environment consists of a plane that was textured with grass and splits a textured
sphere in half to create a sky-like dome. The simulator was created using C++ with OpenGL and GLUT for the graphics APIs.
Controls
1/2 – Increases/Decreases the speed of the roller coaster.
Z/X – Increases/Decreases the amount of red in the light color.
C/V – Increases/Decreases the amount of green in the light color.
B/N – Increases/Decreases the amount of blue in the light color.
T/G – Increases/Decreases the X-position of the light.
Y/H – Increases/Decreases the Y-position of the light.
U/J – Increases/Decreases the Z-position of the light.
Q – Quits the program.
R – Resets the light position/light color/speed to the defaults.
Resources
Creating the track - http://ssimpossible.blogspot.com/2010/09/creating-roller-coaster-in-blender-25.html
Creating the balloons - http://www.matica.com/tutorials/blender/blender-simulating-a-balloon-tutorial
Various code given by Zoe Wood.