| Due: Friday, October 8, 1:30 p.m. Late Penalty: 20 points per 24 hour period. |
Animation through Linear Morphing (2D) |
Points Possible: 100
The Assignment:
Produce an animation sequence using at least two input arrays of points (may be read in from files and/or generated) and the 2D morphing algorithm we developed in class, with the aid of the exercises for weeks 3 and 4.
Note: Project will not be accepted until after you have DropBoxed your homework exercises for both week3 and week4.
Details:
For 80 Points:
- Design and implement the following functions (see homework and book for details):
- (20) Tween( )
- (20) FillTween( )
- (20) DrawSequence( )
- (20) Produce the animation sequence
- Choose a suitable number of frames for demonstrating your animation and then demonstrate it. You must make use of the above functions and the beginning scene must be clearly distuinguishable (don't allow the animation to go too fast!)
- You must use double-buffering and the screen should be cleared between frames.to produce a smooth animation.
- You must be able to exit the program by pressing the escape key.
- Note: Points will be deducted for not properly documenting functions.
For 20 Points:
- The final 20 points will be subjectively awarded for creativity in designing the animation sequence. For example, you could use multiple files, change colors, change line width, use action figures, etc.
For 20 Extra Credit Points:Add command line functionality to your project.
- (5 pts) Use the command line to indicate the number of frames to draw. For example, if the name of your driver program is project3, the command
project3 2500
should result in 2500 frames being drawn in your animation sequence.
- (5 pts) Use the command line to indicate the StartArray and the DestinationArray, as well as the number of frames to draw. For example, if the name of your driver program is project3, the command
project3 A B 2500
should result in 2500 frames being drawn in your animation sequence, beginning with array A and ending with array B.
- (10 pts) Use the command line to indicate a series of arrays, as well as the number of frames to draw. For example, if the name of your driver program is project3, the command
project3 A B C B A 2500
should result in 2500 frames being drawn in your animation sequence, beginning with array A, morphing to array B, then to array C, back to array B, and ending with array A.
The command project3 A B A 2500 should result in 2500 frames being drawn in your animation sequence, beginning with array A, morphing to array B, then back to array A.
Submit:
Please name the program prog03.cpp and DropBox it to project 3 directory, along with your makefile for the project and all of the necessary datafiles, TUGL files, etc.