# How to make mesh follow the shape of the ground plane

How can I place this stone wall so that it would take the shape of the ground plane but would still look like a wall that goes around the house? Using shrinkwrap modifier makes the mesh flat for some reason.

• How did you make this mesh? Did you use a curve? Is the wall's bottom surface flat, before your desired deformation? Commented Mar 3, 2022 at 14:48

You can bake Displacement from terrane and apply Displace Modifier on your wall.

1. Bake Displacement by set up shader to present highest and lowest point, black as lowest and white as highest. You can Greater/Lesser Than in Math node to find highest-lowest point then use that value in Map Range node in Min/Max. Then bake as Emit. Find highest point with Math node (left). Ready to bake (right). Image after bake (top-right)

2. Create new UVMap for use with Displace Modifier. Unwarp your model from top (numpad7) select Project from View. Then create new Shader with this UVmap and image from baking, align UVmap to match with terrane on back. Align UVmap to match black/white on terrane (left). Unwarp from top view (right).

• Coordinates: UV
• UV Map: UVMap(from 2.)
• Direction : Z

Then move your model to sit tight with terrane, adjust Strength in Displace Modifier to match surface. Use Solidify or Smooth modifier if it look messy. A torus from bottom (top-left). Place a torus on terrane(left).

PS. If you need more detail about baking Displacement check out this video from Default Cube.

• Thank you for your detailed reply! Commented Mar 3, 2022 at 18:30

two ways to do that

1.if it's lowpoly.
then copy the cycle line of the bottom(as Cyc),duplicate and seperate it,change a little shape of Cyc as you wish to make it looks real.
Cyc use shrinkwrap to the ground.
linebridge Cyc and the buttom cycle of the wall.

2.if it has many many vertice,I mean it contains many different rocks.
make a bottom cycle box of the wall,add particleSystem.
creat some rocks by Rock Generator,and add the rocks to the particleSystem.