mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Export: added texture format option (jpg, png)
This commit is contained in:
@@ -597,7 +597,7 @@ pcl::texture_mapping::CameraVector createTextureCameras(
|
||||
cam.focal_length=modelIter->second.fx();
|
||||
cam.height=modelIter->second.imageHeight();
|
||||
cam.width=modelIter->second.imageWidth();
|
||||
cam.texture_file = uFormat("%d.png", poseIter->first);
|
||||
cam.texture_file = uFormat("%d", poseIter->first);
|
||||
cameras[oi++] = cam;
|
||||
}
|
||||
return cameras;
|
||||
@@ -654,7 +654,7 @@ pcl::TextureMesh::Ptr createTextureMesh(
|
||||
}
|
||||
else
|
||||
{
|
||||
mesh_material.tex_file = "occluded.png";
|
||||
mesh_material.tex_file = "occluded";
|
||||
}
|
||||
|
||||
textureMesh->tex_materials[i] = mesh_material;
|
||||
|
||||
Reference in New Issue
Block a user