Math 217A - Spring 2002 - Assignment #1
due Wednesday, April 10
Goals: Learn simple features of drawing triangles and
quadrilaterals in OpenGL. Observe how animation can be used. Write a small
program to draw a 2D geometric figure.
Prerequisites: You should already have a course account and know the
basics of compiling and running OpenGL programs.
- Download SimpleDraw
(if you do not already have it). Go to the same web
page again, and follow the directions suggested there under "things to
try out". Make notes on what you observe.
- Now go to the web page for SimpleAnim.
Download and run that program. Then follow the directions on that page under
"things to try out".
- Create a OpenGL program (for instance, by modifying SimpleDraw) that creates an image
similar to the following.
Homework turn-in procedure: You have two options for turning in
your homework. (1) Talk in person to me or Frank Chang, demonstrate your code and
discuss the assignment. Or (2), email me and Frank (firstname.lastname@example.org,
email@example.com) with a report of what you
did. For the email option, a long report is not needed, but you should at
- Say what parts of the assignments you did,
- Say how well anti-aliasing worked for you, and on what computer,
- Describe any problems or difficulties you encountered,
- Do you understand how double buffering works? Describe any other questions
you have about how the programs work,
- Describe the algorithm used for you program in step #3, include the relevant code
fragment as appropriate.