Updated how texturing is done (occlusion+distance)

This commit is contained in:
matlabbe
2017-02-03 17:27:54 -05:00
parent 53ff5b56e6
commit 31453d187d
5 changed files with 294 additions and 16 deletions
+1 -1
View File
@@ -664,7 +664,7 @@ pcl::TextureMesh::Ptr createTextureMesh(
// Texture by projection
pcl::TextureMapping<pcl::PointXYZ> tm; // TextureMapping object that will perform the sort
tm.setMaxDistance(maxDistance);
tm.textureMeshwithMultipleCameras(*textureMesh, cameras);
tm.textureMeshwithMultipleCameras2(*textureMesh, cameras);
// compute normals for the mesh if not already here
bool hasNormals = false;