menpo / menpo3d

Tools for manipulating 3D meshes within the Menpo project.
http://www.menpo.org
Other
165 stars 55 forks source link

unable to view TriMesh #43

Closed mengjiaow closed 3 years ago

mengjiaow commented 7 years ago

Currently this fails to show the mesh in the VTK window:

from menpo.shape import TriMesh
tm = TriMesh.init_from_depth_image(x_im)
tm.view(new_figure=True)
patricksnape commented 7 years ago

Can you view anything else in VTK?

mengjiaow commented 7 years ago

Mayavi seems to work fine

jabooth commented 7 years ago

So to check, other meshes view OK on your system? How about:

import menpo3d.io as m3io
mesh = m3io.import_builtin_asset.james_obj()
mesh.view()
mengjiaow commented 7 years ago

I can't view this one either. Seems like only Mayavi is working...

patricksnape commented 7 years ago

Can you try making a new env and reinstalling menpo?