Skip to content

peterklipfel/ferrisWheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================================================================================
Ferris Wheel
================================================================================

This project is a moving ferris wheel.  I used box-like structures to form the spokes, support, and passenger boxes.  I used half-spheres to form the lights, and used a simple line to create the frame.  I experimented with using a full polygon, but the effect was best when using thin line.  Creating thin polygons that stayed on the edge of the radius proved quite difficult (hopefully that will be version 2).

The controls are as follows
esc        - exit
Arrow Keys - Move around space
page up		 - increase the view size (zoom out)
page down	 - decrease the view size (zoom in)
g(or G)    - toggle axes
r(or R)		 - reset display 
t(or T) 	 - toggle earthquake (tremble) mode
b(or B)		 - toggle lighting effects
a 				 - decrease amient light
A 				 - increase ambient light
c 				 - decrease specularity
C 				 - increase specularity
d 	 			 - decrase diffusion
D 				 - increase diffusion
e 			 	 - decrease emission
E 				 - increase emission
l 				 - decrease the number of lights
L 				 - increase number of lights
n 	  	 	 - decrease shinyness
N 				 - increase shinyness
s 				 - decrease the number of spokes
S 				 - increase the number of spokes
v 				 - slow down ferris wheel
V 				 - speed up ferris wheel



This assignment took me around 6 hours.  I spent way too much time searching for textures, and forgeting that I needed to use glTexCoord2f

About

A ferris wheel implemented with openGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages