qq456cvb / ObjSimplifier

Open-source C++ Obj Simplifier implementing "Surface Simplification Using Quadric Error Metrics" 1997
MIT License
4 stars 0 forks source link

cann't support obj files with normals and texture coordinates. #3

Closed daiyunbo closed 1 week ago

daiyunbo commented 6 years ago

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. image

image

Debug.zip

qq456cvb commented 6 years 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.

qq456cvb commented 5 years ago

You can check the code, it now supports textures and normals.