TexMapPreview: simple texture mapping utility

Alec Jacobson

September 21, 2011

weblog/

texmappreview simple texture mapping utility working on woody I posted the source and binary of TexMapPreview. It's a little texture mapping utility I've been using to visualize texture maps on the meshes I deform. It takes as input a mesh (with texture coordinates) and an (texture) image. Then it can either write the visualization of the texture mapped mesh to an output file or display it in a GLUT window. Glut is the only dependency. TexMapPreview itself can only read and write .tga image files. But, I include a bash script wrapper which uses ImageMagick's convert tool to enable reading and writing of all sorts of file formats (.png, .jpg, .tiff, whatever convert can read/write).

We thank Scott Schaefer for providing the wooden gingerbread man image from "Image Deformation Using Moving Least Squares".