i spent nearly two weeks to make a obj loader with VBO, finally with the help of gouessej ,V. Scott Gordon and dozens of samples from github, i was able to load the model. for now, my problem is, i have no idea how to load the MTL (i.e. how to make it work, it's easy to parse mtl).
the code is a combination from two samples, it may look odd. I went through these codes several times, i know why it does't work, but don't know how. guide me, please.