Date posted:
October 28, 2009
Date due: November 16, 2009
Submit to the dropbox on the myCourses website
Below is a list of links to code that will help you in completing this assignment. Note that although all of the files are written in C, they have been named as C++ files and tested using g++ as a compiler.
| File | Description |
| myFunctions.cpp | Defines the functions that you will need to implement with default implementations that do make use of OpenGL. Your task is to replace these default implementations with your own code. |
| myFunctions.h | Header file with external declarations of the functions in myFunctions.c |
| setPixel.cpp | Implementation
of setPixel().
Recall that you must use this function in your implementation. No
OpenGL calls allowed! Note that this version of setPixel()differs
from that in Assignment 2 in that you can specify a color in which a
pixel will be drawn. For those using systems that don't support the glWindowPos() function (default Window system and OpenGL on the Suns), please use the implementation found in setPixelForWindows.cpp. |
| main.cpp | Main function for a simple test program that you can use to test your implementation. Note that by compiling and running this program using the unmodified myFunctions.c, you can view correct output to which you can compare the results of your implementation. |
READ THIS SECTION CAREFULLY
Please submit ALL files necessary to build and run the test program. If you are using C or C++, you must also include the auxiliary files provided above. If you are using another language, you must provide the rewritten versions of these files.
When using IDEs like Visual Studio or XCode, please zip and submit the entire project folder (including the executable). This greatly simplifies the grading process.
Finally, your submission must include a README that indicates the platform on which you tested your implementation and provides detailed instructions for building and running your submission.
All submission should be made using myCourses. Look for the folder named "3D Pipeline Implementation Option" in the dropbox area.
Your grade will be based on your reimplementation of the required routines and their usability with the supplied test programs.