Unify normal estimation using PCL

203 Views Asked by At

I used PCL (Point-cloud library) to triangulate a 3D point cloud. But the triangulation I got is not consistent. I get a similar situation as at question: How to unify normal orientation.

But this code does not work well, I can't compile it. I get an exception within a function call:

vcg::tri::UpdateNormal<MyMesh>::PerFace(m)

Beside,VCG has been updated to a newer edition, and the original author edited the source code, so it won't work now.

0

There are 0 best solutions below