0

I have a terrain-looking plane made with Geometry Nodes (gray in the image below) and I would like to cut out a "meadow" on it (yellow in the image below) to assign different materials to the two parts.

Two meshes in Blender

I've created the "meadow" mesh outside of Geometry Nodes by cutting a plane in the shape I like. From there, I've brought this mesh into the geometry nodes and extruded it to intersect with the "landscape". With the Mesh Boolean node I am able to select the "outside" part of the landscape, but can't find a way to select the part inside the "meadow" extrusion.

Extruded meadow intersecting landscape

Any help is greatly appreciated!

dustymax
  • 103
  • 2

2 Answers2

1

you can just use mesh boolean with intersect and difference:

enter image description here

Chris
  • 59,454
  • 6
  • 30
  • 84
1

If you want to get both the inner mesh and the outer mesh, and have the inner mesh follow the contour of the terrain, you would (unfortunately) have to use two Mesh Boolean nodes:

enter image description here

One node intersects with Difference the inner part from the outer, and the other node intersects the inner mesh with the terrain, so that a mesh is created that corresponds to the surface of the terrain.

But to also remove the side parts created by the extrusion, you would have to capture a boolean value in the geometry of the meadow mesh before this action, and use this selection afterwards to remove the excess faces.


(Blender 3.2+)

quellenform
  • 35,177
  • 10
  • 50
  • 133