Closed daiyunbo closed 1 week ago
For now, normals are interpolated by least squares method and are supported; for textures, I will investigate the paper that you said recently. For sharp objects, as you said, maybe Quadric Error Metrics is not good enough to maintain their shapes.
You can check the code, it now supports textures and normals.
as usual, an obj files have normals and texture coordinates, not just positions. Would you think about improving your program recently? Michael Garland had done a lot in his later paper "Simplifying Surfaces with Color and Texture using Quadric Error Metrics". Futhermore, if the model is a building, not the same as usual model like bunny.obj, there may be many key problems to fix.
Debug.zip