hjwdzh / Manifold

Convert any Triangle Mesh to Watertight Manifold
Other
576 stars 77 forks source link

simplify: Assertion failed: "V should have 3 columns" #9

Open 111116 opened 4 years ago

111116 commented 4 years ago

The simplify program crashes on this obj.

My input:

Manifold/build/simplify -i teapot.obj -o tea.obj -m -f 1000

output:

Output is a manifold!
Assertion failed: (V.cols() == 3 && "V should have 3 columns"), function writeOBJ, file /Users/bilibili/code/sphere-set/Manifold/3rd/igl/writeOBJ.cpp, line 108.
Abort trap: 6

I used sh demo.sh to build it on macOS 10.14.6 (clang-1001.0.46.4).

Not really a big issue for me, since I can simplify other objs as well as outputs from manifold. But I guess there's something that can be fixed.

111116 commented 4 years ago

Oh sorry I didn't see there's a newer version of this repo..