![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikr0r9APGU-smalGtZW7dI0Fs_zSzLUaGMCkczonGBPqnymqhakYp_kVpEgfb3jDt2MKS7FKCo9nqV01zJ_4-gBPLXkh_DhQp1hQgwCK9mXVGbRjBLeNrbbZS7n2i4BxBRlxhHRPyZHPs/s400/iPhone+SimulatorScreenSnapz001.jpg)
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