

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
A homework assignment for a cs 470 course focused on 2d interactive graphics using glut and opengl. Students are required to create an application with window management, opengl drawing, glut text, special keyboard and mouse callbacks, and keyboard input. The project includes rendering a player, target, and projectile, as well as implementing text and user input. Extra credit is given for adding additional objects and behaviors.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


The goal of this homework is to learn to write GLUT callback functions for ren- dering and user input, and to become familiar with OpenGL through basic 2D rendering. You may use the files from homework 1 as a starting point. Refer to http://www.opengl.org/documentation/specs/glut/spec3/spec3.html for a full description of glut functions.
Your will create an interactive 2D application with the following features:
5% Extra credit: Add some other objects to the scene. Do something interesting (change color, animate) if the projectile hits that object. Be sure to note this behavior in README. Either full or zero credit will be given for each of these specifications.
Submit all source code, a README file, and a working project file or Makefile which builds an executable named ’hw2’ or ’hw2.exe’. Turn in a single tarred and gzipped, or zipped file by the start of class on the due date (ecampus or on CD).