Date assigned:
September 12, 2007
Date due: September 26, 2007 (Extended to September 27,
2007 - Submission due by 11:59 p.m.)
Slides presented in class about this assignment available here.
| Effect | OpenGL Commands needed |
| OpenGL setup | glutInit, glutInitDisplayMode, glutInitWindowSize, glutInitWindowPosition, glutCreateWindow, glutMainLoop, glutDisplayFunc, glClearColor, glFlush or glSwapBuffers |
| Using different primitives (lines, line-strip, line-loop, triangles, triangle-strip, triangle-fan, rectangle, quads, quad-strip, polygon) | glBegin/glEnd, glVertex, glRect |
| Using different attributes (line style, line width, fill style, color) | glLineStiple, glLineWidth, glPolygonStiple, glColor, glEnable |
| Moving from one screen to the next | glutMouseFunc, glutPostRedisplay |
NOTES:
Platform specific OpenGL libraries should exist on each platform that supports OpenGL. (In most cases, these libraries are supplied by the manufacturer of the graphics card present on your system). If you are planning on using the Suns for your project, please make use of the following header.mak file to see the proper libraries that need to be linked and the locations of those libraries. (Note that if you use makemake or gmakemake, the contents of this file will be incorporated into the Makefile produced).
NOTE: OpenGL and GLUT are not installed correctly on the Sparc Based systems (in ICL4)....Please use ICL1-3 (or Grad Lab) if you plan on using the Suns!
Please submit all files necessary to build and run your program. This includes source files, header files, project files, and Makefiles. In addition, the submission should include a README that indicates the platform on which your assignment is built, as well as notes on how to build and run your project. Submissions should be archived (zip, tar) before submitting,
All submissions should be made using myCourses. Look for a folder named "Programming Assignment 1" in the dropbox area.