# Any way to show distance between two surfaces (meshes)?

I'm trying to reconstruct a mesh as an SDS, and, frankly, it's a pain.

Is there any way to visualize the distance between two meshes? What I'd really like is something that would compute the shortest path from every vertex of one mesh to the closest point on the other mesh and display that as a "heat map" so I can tell how closely I'm approximating the original.

I know there's probably a way to sort-of do this with displacement baking, but that's way too slow to be useful. I need something more like a real-time version of this, but one that can have much lower resolution.

Is it possible to calculate the distance between the vertices of two objects in Geometry Nodes? seems relevant, but it's not solving quite the same problem. That question asks about the distance between corresponding points. I just want the closest distance between two surfaces (which have very different meshes).

Note: I also asked about automatic ways to Fit subdivision surface to existing mesh?, but it seems there aren't any.

• Does this answer your question? Is it possible to calculate the distance between the vertices of two objects in Geometry Nodes? Commented Sep 4, 2022 at 3:43
• @Chris, no, or at least it isn't working. For one, there is no "Distance" geometry node. Commented Sep 4, 2022 at 14:34
• the distance node is a vector math node...then choose distance Commented Sep 4, 2022 at 15:43
• @Chris, ah. On closer inspection, however, while the information there is relevant, I don't think it's trying to solve the same problem. That question wants the distance between corresponding points, not the closest distance (which would give a very different result!). Commented Sep 4, 2022 at 15:51
• ok, i didn't try that out, but if you choose "nearest" in the transfer node, wouldn't that be the result you want? Commented Sep 4, 2022 at 15:56