In this tutorial we extend the object loader a little bit, so it will be able to load materials and UV textures. The object loader become a little bit longer than I first expected, I hope, you don't mind.
And the source code, if you don't want to copy from the screen, or you find this tutorial boring (as I do :D)
http://pastebin.com/qPMQcUbG
http://pastebin.com/Tj8vaDuN
http://pastebin.com/cpwGP4WJ
Don't forget to make the test.obj file with some modelling program (I recommend the free but professional Blender)
Link to this comment:
All Comments (0)