The room has to have walls, a floor and a ceiling. Backface culling should be enabled such that you can look in the room when outside, and not look out when inside.
A minimum amount of furniture is also required: a table, four chairs, and a desk/counter/cabinet, with a desk lamp on it.
The tabletop is transparent.
The user should be able to choose between Flat or Gouraud shading of the scene.
Finally, implement a simple walkthrough interface using the arrow keys (e.g. <- is turn left, -> is turn right, up and down keys move forward and backward).
Most books are also available online: run /usr/sbin/insight to see all the books, or /usr/sbin/insight -v OpenGL_PG for just the OpenGL Programming Guide.
Also, in /u/cs426/OpenGL you will find three very small example programs. Two were written using the so-called auxiliary library. The successor to this library is called the Graphics Library Utility Toolkit (GLUT). The third example uses the GLUT, which we recommend. Click here for a PostScript version of the documentation.
Finally, you may want to read chapters 4 and 8 of the course book.
Fortunately, there are lots of opportunities for extra credit. Below is a table describing the options, with an indication of the number of points each is worth.
Obviously there are many more extensions possible. Come to us if you have thought of this cool object that you want to model and want to know if it's worth modelling...
|The winning letter "O" for the art contest||1 point|
|More than one transparent object||1 point|
|Curved surfaces other than sphere/cone/cylinder||1 points|
|Bookcase with randomly generated books. Get more points if they are tilted and not intersecting||2 points|
|Shelves with randomly generated items such as pots and pans||2 points|
|Animated things (e.g. rotating fan on the ceiling)||2 points|
|Great looking textures||2 points|
|Ability to move parts of the desklight||2 points|
|Same, with the other parts moving correctly based on a physical model||3 points|
|A mirror||3 points|
|Steam rising out of a coffee cup||3 points|
|Generate a fractal landscape visible through a window||4 points|