View Full Version : Texture mapping complex objects.
02-24-2001, 08:55 PM
I just don't get it, texture mapping complex opjects that is. Can anyone recommend a good tutorial on doing this with say ... a faceted model? I want to write or locate a WaveFront .OBJ file reader for use in a lot of projects. I need to be able to staple those textures onto the models and I just don't understand how.
02-24-2001, 11:47 PM
Once you read in the data, for each face, you change textures with the glBindTexture command, then you draw the face.
There are a few good .OBJ readers, I like the one at glvelocity, it is in the code archives section. Romka also put up a demo that had a .OBJ reader. Nate Robins and Nate Miller, both have .OBJ readers.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.