Today I replaced my model loader with the new one. I've not taken advantage yet of the new features, I just used it to achieve the same results as before.
To achieve that I substantially modified the new loader myself. It now uses directly the Vertex3D class (to avoid unnecessary copying at the end of the loading), and also supports normals generation and tangent generation.
Tomorrow I'll try to integrate the material loading as well. The main problem is that now I'll need a model loader, instead of a mesh loader, and I need to rethink a few things, like: who owns resources? where to check if they are already loaded? Where to destroy them?
Shouldn't be that hard, but it requires attention.
Nessun commento:
Posta un commento