Penalty Kick Challenge

Adam Gray

CSC 471

Final Project

 

Description

This application is a soccer penalty kick simulation.  A full soccer field, along with stands and a crowd are modeled.  Texture maps are used for the grass, crowd, sky and nike symbol on the soccer ball.  Two players are modeled, a penalty kick shooter and a goalie.  Right clicking provides the options of using trackball rotation or zoom in order to change your view of the penalty shot.  Currently the goalie randomly chooses which direction he will dive and if he picks correctly he always stops the ball.  As the shooter you may choose between shooting to six different places within the goal: top left, bottom left, bottom middle, top middle, top left and top right.  The direction is chosen by holding down the corresponding arrow keys (i.e. up arrow and left arrow would lead to a top left shot) while pressing the shoot ('s') button.  If the direction you  shoot is different from the direction chosen by the goalie then you will always be successful in your shot.  I used hierarchical modeling to model both the shooter and the goalie.  Both possess just a head, two arms, two legs and a torso.  The 'i' button can be pushed to reinitialize all aspects of the system to their original state. 

Screenshots

 

 

 

 

 

 

References

Angel, Edward. "OpenGL: A Primer"; 2002.
Shirley, Peter. "Fundamentals of Computer Graphics"; 2002.
Shreiner, Dave. "OpenGL Programming Guide"; 2004.

 



Last modified: 6/11/04