I have a .glb file to which I have changed the origin in blender, when I stay within blender everything works as it should but when I try to open the same mesh within opencv it seems to re-centre the object to the old origin or otherwise not load the change that has taken place.
mesh = o3d.io.read_triangle_mesh("./prove/mesh.glb")
# allineamento a pointcloud
mesh.transform(np.linalg.inv(poses2[0]))
o3d.visualization.draw_geometries([mesh])
here is the part of the code in question, the second instruction is to align the mesh to a poitncloud that I created but the error is not there as even just loading the mesh into another file always results in the wrong origin
wisepino is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.