|
This page documents what we do in class. It contains C programs that we will discuss in class, reading assignments from our textbook, simple homework exercises that you can work on for practice and exam preparation (not for credit), links to other sources of information, etc.
The reading assignments and practice problems are listed by the date on which they were assigned. The sample program files are listed by the date on which they were used. When you are viewing a source code page, you can use your browser's "File -> Save As..." menu item to save a copy of the code on your computer. It is a good idea for you to "play" with these example programs; compile them, run them, make simple changes to them and compile and run them again.
|
- Wednesday, April 29.
- The second midterm exam will be Monday, May 4 from 1:00pm - 3:00pm.
- Here is a list of the sections from the textbook that the exam will cover.
- Chapter 5, Sections 5.6 - 5.7.
- Chapter 6, Sections 6.1 - 6.9,
- Chapter 7, Sections 7.1 - 7.4, 7.8-7.9, 7.11,
- Chapter 8, Sections 8.1 - 8.2, 8.6-8.8,
- Read Chapter 9: Texture Mapping from the "OpenGL Programming Guide".
- The following two zip files contain examples of using textures. The first zip file shows how to read textures from files. Two kinds of file formats are shown, "raw" image files and JPEG image files. The second zip file is an example of a single object that uses three textures.
- A simple demonstration of how not to draw a pixel image, followed by an example of a better way.
- Monday, April 27.
- A simple demonstration of color buffers.
- Wednesday, April 22.
- See the homework page for your third assignment.
- Read Chapter 8, Sections 8.6-8.8 (pages 401-421) from the textbook.
- Here are a few simple OBJ meshes that you can use, in combination with the four programs listed below, to experiment with polygon orientation, front and back faces, hidden surface removal, normal vectors, material properties, lighting, and textures.
- Here are links to four nice programs that you can use to view and experiment with the above OBJ models.
- Here are a few links to sites where you can download more elaborate 3D models (meshes) as OBJ and SMF files.
- Monday, April 20.
- Read Chapter 7, Sections 7.11-7.12 (pages 358-370) from the textbook.
- Also review Section 4.5.2 page 189 and Section 5.6 pages 262-264.
- Read Chapter 8, Sections 8.1-8.5 (pages 383-401) from the textbook.
- Wednesday, April 15.
- Read Chapter 7, Sections 7.8-7.10 (pages 349-358) from the textbook.
- Monday, April 6.
- Read Chapter 7, Sections 7.1-7.7 (pages 329-349) from the textbook.
- Here is a cleaned up and slightly improved version of the sphere.c program from Sections 6.6 and 6.9 in the textbook. Try to improve the lighting in this program.
- Wednesday, April 1.
- Read Chapter 6, Sections 6.4-6.10 (pages 304-325) from the textbook.
- The following program lets you experiment with lighting and some material properties
- Monday, March 23.
- Read Chapter 4: Color and Chapter 5: Lighting from the "OpenGL Programming Guide".
- The first midterm exam will be Monday, March 30.
- Here is a list of the sections from the textbook that the exam will cover.
- Chapter 1, Sections 1.1 - 1.9,
- Chapter 2, Sections 2.1 - 2.10,
- Chapter 3, Sections 3.1 - 3.6,
- Chapter 4, Sections 4.1 - 4.10,
- Chapter 5, Sections 5.1 - 5.6.
- Wednesday, March 11.
- Read Chapter 6, Sections 6.1-6.3 (pages 289-304) from the textbook.
- Re-read Sections 1.3.2, 1.3.3 (pages 12-16) and Section 2.5 (pages 60-65) from the textbook.
- The following program lets you experiment with orthogonal and perspective projection.
- Monday, March 2.
- The first midterm exam will be after spring vacation.
- The following program demonstrates one of the two ways to think about transformations, the "Moving a Local Coordinate System" way, as described in this section from Chapter 3 of the Red Book.
- Wednesday, February 25.
- Read Chapter 5, Sections 5.4-5.6 (pages 254-264) from the textbook.
- Here are some demonstrations and information about models, tranformations, and viewing.
- Monday, February 23.
- See the homework page for your second assignment.
- Read Chapter 5, Sections 5.1-5.3 (pages 235-254) from the textbook.
- The following three programs demonstrate the idea of having a single model and then using transformations to create multiple instances of the model in a scene. The fourth program creates a scene with a complex model made of sub-models.
- Wednesday, February 18.
- Read Chapter 4, Sections 4.9-4.11 (pages 207-226) from the textbook.
- Wednesday, February 11.
- Read Chapter 4, Sections 4.4-4.8 (pages 183-207) from the textbook.
- Monday, February 9.
- Read Chapter 4, Sections 4.1-4.3 (pages 159-182) from the textbook.
- Wednesday, February 4.
- Read Chapter 3, Sections 3.9-3.13 (pages 133-154) from the textbook.
- Here are some examples and information about OpenGL (actually, GLUT) event handling.
- Monday, February 2.
- Read Chapter 3, Sections 3.6-3.8 (pages 117-132) from the textbook.
- Here are links to download an X server for Windows, PuTTY, and information about the X Windows system.
- Wednesday, January 28.
- Read Chapter 3, Sections 3.4-3.5 (pages 109-117) from the textbook.
- Here is a program that uses our "fake animation" technique to give you a feeling for the viewing volume in an orthographic projection.
- Here is a program that give a simple example of hidden line removal.
- Monday, January 26.
- Read Chapter 2, Sections 2.8-2.10 (pages 76-84) from the textbook.
- Read Chapter 3, Sections 3.1-3.3 (pages 99-109) from the textbook.
- Here is an example program that we will use in class.
- Wednesday, January 21.
- Read Chapter 2, Sections 2.4-2.7 (pages 50-75) from the textbook.
- Here is a very simple OpenGL program. Its main use is to see if you can get an OpenGL program to compile, link, and run.
- Here is a slightly more interesting OpenGL program that demonstrates some OpenGL primitives.
- Here is where you can download the GLUT files that are needed for compiling, linking, and running an OpenGL program with Windows.
- Here is a zip file containing some illustrations and source code for Chapter 2.
- Wednesday, January 14.
- Read Chapter 1, Sections 1.6-1.9 (pages 21-36) from the textbook.
- Read Chapter 2, Sections 2.1-2.3 (pages 39-50) from the textbook.
- Here are interesting demonstrations of many computer graphics concepts.
- Here is a zip file containing some illustrations for Chapter 1.
- Monday, January 12.
- Be sure to look at the homework assignment page. Your first assignment is already listed there.
- Read Chapter 1, Sections 1.1-1.5 (pages 1-21) from the textbook.
- Here are two useful links.
- Here are links to two Java applets that draw lines. Use the Zoom+ utility to look at the individual pixels drawn by these applets.
|
|
|
|