Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VTK OBJ importer duplicates vertices for each triangle #28

Open
mmcauliffe opened this issue Aug 26, 2016 · 0 comments
Open

VTK OBJ importer duplicates vertices for each triangle #28

mmcauliffe opened this issue Aug 26, 2016 · 0 comments

Comments

@mmcauliffe
Copy link
Contributor

Importing the james.obj file from the built-in assets creates a mesh with 205,458 vertices (meshlab lists 34,913). The number of vertices is three times the number of faces (68,486). Exporting the mesh to a .stl file in meshlab and then importing it in Menpo results in the correct number of vertices. It looks like it's a bug in vtk.vtkOBJReader, since the number of verticies reported at https://github.com/menpo/menpo3d/blob/master/menpo3d/io/input/mesh/base.py#L200 is the erroneously high number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant