Main Page

Lecture 3/4
OpenGL: Texture Mapping

Download.

Please download gl1.cpp for today's lecture. I have written Canvas :: ReadPPM(), which is used to read in any ppm image file for use with our open GL applications. Go to Canvas.cpp, copy ReadPPM() to your Canvas class.

I have also re-generated sphere triangulation data, so now all the five obj files having texture data. Download sphere1.obj, sphere2.obj, sphere3.obj, sphere4.obj, sphere5.obj.

If you want to generate a realistic looking earth, you need to download this image.

Programming

Homework

Render a TriangleMesh model with any texture mapping, and lighting computation enabled. Submit your source code and image to zh2001 AT columbia DOT edu, and cc copy to xchen AT cs DOT utah DOT edu, before 7pm Monday.
Generated on Sun Jul 25 15:11:04 2004 by doxygen 1.3.6