jpcy / xatlas

Mesh parameterization / UV unwrapping library
MIT License
2.08k stars 220 forks source link

Two questions #105

Open breakerrorchen opened 2 years ago

breakerrorchen commented 2 years ago
  1. Do it only support triangular meshes? I think the sample code needs to provide the number of points of face, does it mean that meshes with more than three points are supported

  2. There are a lot of asserts. there are a lot of times we need exceptions. So the program can continue to run.

Assert for the following cases.

When I load a.obj Assertion failed: (l > 0.0f), function normalize, file xatlas.cpp, line 825. a.obj.zip

When I load b.obj Assertion failed: (!m_boundaryVertices.isEmpty()), function compute, file xatlas.cpp, line 2244. b.obj.zip