by Bob Ye, University of Science and Technology of China.
Please refer to http://210.45.79.25/~dengjs/cg/


This projects is motivated by Roger Asling. But the differences are
Note: To compile and run the code, make sure you have official library 'libpng' installed and have a directory called 'pool' in running directory, the export images will be saved to this directory.
The code currently is really ugly, use at your own risk.

There generally exist two style of texture mapping. The classic method needs to specify the texture coordinate for vertices. Sometimes, it is not an easy work. For example, if we want to map our 2D face photo to an Avatar 3D model(in my understanding to avatarize), we need to determine the correlation between the photo and many polyhedrons(A simplified way is to consider the subdivision model). Another method is automatic texture-coordinate generation.

OpenGL denotes Open G raphics L ibrary, which is an interface consisting of over 250 different function calls.
Generally, almost every system platform has OpenGL module, if you are sure the graphics card is installed correctly, no more efforts are needed to run opengl programs. However, to write a program that builds under opengl architecture, The OpenGL Utility Toolkit (GLUT) is recommended.
There are no binary version of stardard glut library other than Win32. Moreover, GLUT is not open source, Mark Kilgard maintains the copyright. There are a number of newer and open source alternatives. Personally I use FreeGlut.
Date: 2010-07-03 07:44:55 CST
HTML generated by org-mode 6.21b in emacs 23