Friday, December 26, 2008

Almost There...



As you can see from the screenshot above, I've got the texture mapping almost working in the Wavefront OBJ file loader. It took me a while to get the vertices and texture coordinate algorithm working thanks to a bug I had made earlier and mistakenly thought was introduced by the algorithm.

The cube that is working correctly in the screenshot above has a single image mapped separately to each of the six sides. The one that's not showing up has a single UV-mapped image that wraps around the entire image.

I'm hoping to have the completed version posted in a few days.

No comments:

Post a Comment