You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Z component of the mesh vertices is mesh.vertices[:, 2].
If the two meshes have the same topology and if they are already superimposed w.r.t. the X and Y coordinates, the difference can be made vertex-wise (mesh1.vertices[:, 2] - mesh2.vertices[:, 2]).
Else, the comparison is still possible by projecting the vertices of one mesh on the other, or by using the texture/uv space of the two meshes to make the comparison. I think it depends on the type of result that you are expecting.
Hello,
Given two meshes files (*.PLY), how could I compare, i.e. compute the difference along the Z-axis between those 2 meshes?
Both meshes are representing terrain, so all triangles have an upward facing z-component (i.e. there is no overhang).
Individual triangles of each meshes are not aligned (i.e. they do not share (x,y) coordinates).
I am currently using
trimesh
version4.4.9
with Python3.12.6
.Thank you!
Warm Regards.
The text was updated successfully, but these errors were encountered: