CSL 859 Assignment 2
The goal of this assignment is to learn to use Cg and write a realistic
graphics application with animation.
In short: simulate billiards. Make it as realistic as you can. The
following is required:
- Model the table and the stick
- Model a single ball. Instance it thrice and update its position using
a vertex program
- Generate shadows as the balls move
- Devise a mouse interface to hit the ball
- Write a pixel shader to shade the balls at per-pixel level.
Implement both Phong's lighting model as well as Blinn-Cook-Torrance-Sparrow
- Physics of initial velocity, table friction and collision responses
can be approximate -- you devise it.
- Enable motion blur as the ball moves
You may use glvu and glui for the user interface.