
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An assignment for a computer graphics course using opengl and glut. Students are required to load a 3d triangle mesh, add user interface for rotation, and implement standard phong illumination. The assignment includes instructions for each part, such as loading a model, adding a virtual trackball, and enabling phong lighting.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Due: Wednesday October 17th at 11:59pm Note: I’m giving you extra time to help deal with midterms, but beware our midterm is Thursday, October 18th, so you probably do not want to spend all night Wednesday programming!
Goal: Load a complex triangle mesh into your OpenGL program, add a user interface for rotating the object, and illuminate the object using standard Phong illumination.
Problem 1 (30 points): Write a OpenGL/GLUT program which renders 3D geometry into a 640 × 480 window. Use the whole window as the viewport (i.e., a 640 × 480 viewing area). Post sample images from each part of the problem on your webpage.
NOTE: A “README” file is required in order to get full credit! It is worth the 2 or 3 minutes it takes to write such a file, as it guarantees we know how to compile and run your program, and you can make note of any odd behavior or strange bugs (which may mask required functionality).
NOTE: A sample executable is available on the web page for you to see my expectations for this homework. The trackball code I used in the example is different (i.e., broken) than the version on the class page, so your motion should be more intuitive.