I've few scan meshes that I've remeshed and now I'm trying to run OptCuts to generate uv coordinates.
igl::opengl::glfw::Viewer usage:
[drag] Rotate scene
A,a Toggle animation (tight draw loop)
F,f Toggle face based
I,i Toggle invert normals
L,l Toggle wireframe
O,o Toggle orthographic/perspective projection
T,t Toggle filled faces
Z Snap to canonical view
[,] Toggle between rotation control types (trackball, two-axis
valuator with fixed up, 2D mode with no rotation))
<,> Toggle between models
; Toggle vertex labels
: Toggle face labels
Offline optimization mode
input mesh contains non-manifold edges or vertices
please cleanup the mesh and retry
So I took the mesh opened it in meshlab and removed the non manifold-edges and vertices. Then I run it again and I'm getting the error:
igl::opengl::glfw::Viewer usage:
[drag] Rotate scene
A,a Toggle animation (tight draw loop)
F,f Toggle face based
I,i Toggle invert normals
L,l Toggle wireframe
O,o Toggle orthographic/perspective projection
T,t Toggle filled faces
Z Snap to canonical view
[,] Toggle between rotation control types (trackball, two-axis
valuator with fixed up, 2D mode with no rotation))
<,> Toggle between models
; Toggle vertex labels
: Toggle face labels
Offline optimization mode
use b_d = 4.1
bijectivity ON
random 2-edge initial cut for closed surface
Error: Numerical issue.
***Element inversion detected: -0.0697798 < 0
mesh triangle count: 61691
But I have no clue what that error means. Is there's a specifc requirement for the mesh, because I can't figure how to clean up those scans after remeshing to lower the polycount and retopologize in order to run your tool.