GLART -- OpenGL as an Art Medium (Spring 2006)
Description:
The computer provides artists with a bewildering variety of options for creating images: image editors, 3D modelling tools, animation tools, and dozens of progrmaming languages. Yet at the lower level of all computer rendering lies a relatively simple and very powerful graphics processor. OpenGL provides access to this lower level of rendering, and gives artists the opportunity to create their own "brush and canvas", to produce high performance animated graphics in both 3D and 2D. The purpose of this course is to introduce OpenGL and provide a working knowledge of this powerful API. We will use Java, Eclipse and an OpenGL library to explore basic concepts of OpenGL such as coordinate systems, navigating in a 3D space, cameras, rendering models, mouse and keyboard input, lighting, texturing and blending. The course consists of weekly programming assignments and a final project. This class is intended for students who are comfortable with programming.
Syllabus
Week 1 (1/18) — OpenGL in a Nutshell
Class Intro / Overview
Brief history of OpenGL
Anatomy of an OpenGL program
Eclipse review
Week 2 (1/25) — Geometry
The coordinate system
Vertices and Triangles: connect the dots
Translate, Scale and Rotate
The "Model view"
Week 3 (2/1) — Space
Perspective vs. Ortho
Defining the space: Frustum
The Depth buffer and Z
The viewpoint: gluLookat
The viewport
Week 4 (2/8) — Light and Materials
Light components: ambient, diffuse, specular
Color and light
Directional vs. Positional light
Material reflectivity
Interaction of light and material
Week 5 (2/15) — Texture
Loading images — pixel formats
Texture coordinate space
Color and texture
Alpha blending textures
Week 6 (2/22) — Models
Model file formats
Intro to (very) basic modelling
Loading and rendering a model
Week 7 (3/1) — Navigation
Mouse and keyboard input
Converting Screen to world coordinates — Project and Unproject
Moving through the space
Interaction
Week 8 (3/8) — Text and Display Lists
Display Lists
Texture mapped text
Drawing text in and over a scene
Week 9 (3/22) — Timing
The "Game Loop": controlling rendering speed
Week 10 (3/29) — Extensions
Intro to ARB extensions
Pbuffers, render to texture
Misc, saving the screen, stencil buffer
Week 11 (4/5) — Shadows (and propose final projects)
Week 12 (4/12) — Final Projects in Progress
Week 13 (4/19) — Final Projects in Progress
Week 14 (4/26) — Final Project Presentations
Reading Materials
OpenGL Programming Guide (the Red Book), Woo, Neider, Davis (Required) (free online)
Resources
NeHe tutorials, excellent source of OpenGL coding tutuorials
Nate Robins tutorials, programs demonstrate key features of OpenGL
OpenGL.org, official OpenGL site
OpenGL reference, documentation of OpenGL API
LWJGL.org, home of the Lightweight Java Game Library
JOGL, Java OpenGL project
Potatoland (Mark Napier), code samples and links for Java/OpenGL and LWJGL
Homework Wiki, link to your class assignments here
Email
napier __at__ potatoland __dot__ org