raytraced image (origin unknown)

General Information

General information regarding OpenGL, which may be relevant to the projects, will be presented here.

  • C++ for C/Java programmers: If you know C or Java and would like a "quick" summary of the major features of C++, please check out C++ Annotations by Frank B. Brokken.
  • Project Submission: Programming assignments are submitted through the Submit Server. After clicking this link, you will be asked to login using your University directory ID. Note that we will not do any testing through the submit server—you will simply upload a bundle containing all your submission files. As a favor to the TA, please remove large binary files that are not needed to execute your program (compiled object files, executable files, other junk generated by the compiler.) Also, remember to include in your submission a ReadMe.txt file, which explains to the TA how to compile and execute your program. If you have any questions, please send an email either to Dave Mount or the TA.
  • OpenGL Error Checking: OpenGL does not report errors, but it is possible to query OpenGL to determine whether an error has occurred. This is done with the procedure glGetError. A simple procedure for checking errors (both in C++ and C) can be found here.
  • Animation Speed Control: Because different systems and different rendering contexts require a different amount of time to process, it is useful to have a procedure that returns the wall-clock time. This is provided by the system function ftime. A code snippet that extracts millisecond counts can be found here.

Project 2

  • Resources: I have put together an zip file containing Project-3 Resources (Vers. 3, updated Dec 9). (I will add more to this later.)
    • Sample executable of my implementation (for Windows)
    • C++ code for Vector3d, a class that encapsulates 3-dimensional points and vectors
    • C++ code for RGBpixmap, a class that contains utilities for storing pixel arrays, which provides the capability to input a .bmp file in a format for OpenGL
    • A file parameters.txt (Vers. 2, updated Dec 9), which contains many numeric parameter settings used by our program
    • Sample texture files for the skybox and woodgrains for the board
    If you do not have a Windows machine but would like to see our executable, I've uploaded a short screen capture using Fraps. It can be found on Youtube.

Project 1

  • Resources: We have put together a zip file containing Project-1 Resources. It includes a sample executable (for Windows only), source code for a class Vector2d, which encapsulates some geometric utilities for 2-dimensional affine geometry, and a file that contains many of the numeric parameters used in our program. If you do not have a Windows machine but would like to see our executable, I've uploaded a short (rather low-quality) screen capture using Fraps. It can be found on Youtube.

-   CMSC 427 Home   -