Mesh Displacement

Hello, I want to apply mesh displacement—but not on a photograph—I want to do it on an existing mesh. How can I do this? Is it possible or not , thanks

So your input is a mesh with displacement and the target final result is a grayscale image that represent the elevation?

Or:

I’m not sure if this is what you want, if so, you may give it a try with ShapeMap


Help with Grasshopper: Natural Tree Bark Surface for 3D Printing - Grasshopper - McNeel Forum

thanks for messages , There is an RGB mesh with different colours - I want the points to move along the z-axis in proportion to these values - so I was wondering if I could use the existing mesh?

It is surely possible, extract the color per vertex with deconstruct mesh then do the treatement you need on the color, then move the points of the mesh then construct mesh.

Thank you. I tried to do what you said, but I ended up using a mesh face to move the points—because I couldn’t select the centre points using the mesh area—and now the points are moving. That’s great. However, how can I create the curve I’ve drawn in red? How can I create an interpolated curve between the points that are moving according to the mesh values?

Colored mesh with values.gh (75.5 KB)

Your script is quite useless. Ladybug components are not useful. Internalize the mesh.

Colored mesh with values.gh (98.1 KB)

Sorry , I ınternalise here..

here is a file that, I used Mesh Explode (from plugin MeshEdit) but added a c# that does the same

But it is a pity that you didn’t internalize all the useful data. Because here data is coded as color so it must be decoded (loss of precision, error …). Then it is not clear if data is on point or faces. here it is indeed on faces.

Also output of LadyBug says on vertices but it is not clear what it is as there is no data.

Colored mesh with values (1)LD.gh (15.5 KB)

Thank you very much. I actually tried to use the numerical data from Ladybug first, but I could not figure out how to access and use it correctly. That is why I started looking at the colors and wondered if I could use the color information instead.

…because it can cause a loss of precision and errors.

It was a very helpful thanks so much

The points with higher values and lower values are producing different extensions in the Y direction, which is what I was aiming for.- It seems to be working now, thankss