The Volleyball Animation project was an experiment in modeling and animation. It was written using C++ and Microsoft Visual Studio 2013 for Professor Wood's CSC 471: Intro to Computer Graphics class at Cal Poly, San Luis Obispo. Collaboration with an ART 384 student was conducted to build the models. Further information about the project is organized as follows:
The camera is capable of zooming, strafing and rotating. Camera movement is achieved as follows:
Both volleyball players are fully hierarchical, and are laid out as follows:
All animations were done using a timer function. A parabolic equation was used for the path of the ball. When the ball reaches the top, the player to who the ball is flying to will start moving to the apropriate volleyball stance. Once the player hits the ball and it starts flying away, the player moves to the origional standing position while the other player gets ready for the ball. There are a total of 6 set trajectories that the ball follows and the appropriate player moves in the direction of the ball.
One directional light was used for the Volleyball Animation project. The directional light was stationary and can be seen when either the ball or the players move.
Five custom materials were created to finish the project: a shiny blue, a shiney off-white, a shiney green, plastic gray, and a plastic white. The combination of reflective attributes of these materials, mixed with the light created for the scene, allow for a reflection appropriate for each object. While the player's skin was off-white, the shiney blue was used for their jerseys, and the gray for their shorts. The green was used for the court and the white for the ball.
All functionality used in the program comes from in-class lectures.
The player model was created by Allison O'Neill from ART 384.
The volleyball model was downloaded from turbosquid.com