Hi !
I’m quite new to Grasshopper, and I’m trying to deform, in height, a mesh with a surface, quite like what a displacement map would do.
So basically, adding the z component of the entire surface to the mesh. I’ve been trying to adapt displacement-like scripts, where i would replace an image with my surface, but without much success, hence my question here…
Does anyone have an idea on how I could do this ? Thank you very much for your time.
I think you could deconstruct mesh, project each mesh vertex on the surface, read the Z value, add that to the mesh point, then rebuild your mesh?
ProjectMeshZ.gh (40.7 KB)
any vertex in the mesh that has Z=0 will be touching the surface
2 Likes
It does work, thank you very much !