vcglib icon indicating copy to clipboard operation
vcglib copied to clipboard

Assertion `0' failed when run the trimesh_clustering sample.

Open LF-DevJourney opened this issue 7 years ago • 1 comments

I run command./trimesh_clustering ./Zeus.obj.ply out.ply, but I get this,

Input mesh vn:152059 fn:304114 Clustering to 95472 cells Grid of 51 x 26 x 72 cells with cells size of 0.48 x 0.49 x 0.48 units trimesh_clustering: vcglib/vcg/simplex/vertex/component.h:75: vcg::vertex::EmptyCore<TT>::ColorType& vcg::vertex::EmptyCore<TT>::C() [with TT = MyUsedTypes; vcg::vertex::EmptyCore<TT>::ColorType = vcg::Color4]: Assertion `0' failed. Aborted

Zeus.obj.ply file is like this,

ply
format ascii 1.0
comment VCGLIB generated
element vertex 152059
property float x
property float y
property float z
property int flags
property uchar red
property uchar green
property uchar blue
property uchar alpha
element face 304114
property list uchar int vertex_indices
end_header
-6.17266 0.227923 17.2279 0 192 192 192 255
-6.21338 0.633413 26.6069 0 192 192 192 255
2.48586 -2.95844 27.9508 0 192 192 192 255
1.00704 -3.94445 24.3854 0 192 192 192 255

LF-DevJourney avatar Oct 13 '17 02:10 LF-DevJourney

I make a detailed description of the issue on the stackoverflow question Failed to run vcglib trimesh_clustering, Assertion `0' failed for help.

LF-DevJourney avatar Oct 13 '17 09:10 LF-DevJourney