1
$\begingroup$

I have a square plane mesh with applied texture (satellite image of an area) and displacement (height map) that gives an overview of a land area with some features like water which I want to remove.

Water is on the Z axis value = 0, it is also of particular color (blueish). I also have a detailed shape polygon that I could cut from the plane so only area of interest is shown.

My question is how would I proceed with removing vertices from the geometry according to their feature (Z-axis value) or texture color (color blueish)?

Alternative approach, how would I cut the plane along given polygon (taken from geojson, not aligned to plane vertex positions)?

picture for reference enter image description here

$\endgroup$
9
  • 2
    $\begingroup$ you could just use boolean modifier...with a big enough box starting at z = 0 and going -z direction. $\endgroup$
    – Chris
    Commented Aug 18, 2021 at 7:55
  • $\begingroup$ @Chris thanks for the hint,, the one issue have is that this discards also valid vertices (part of faces that are in fact terrain) $\endgroup$
    – mtx
    Commented Aug 18, 2021 at 8:00
  • $\begingroup$ can u show us a screenshot of your scenario? $\endgroup$
    – Chris
    Commented Aug 18, 2021 at 8:02
  • 1
    $\begingroup$ You could use the water colour (selecting for blue) or the water's height and create a mask from this selection. From there your could produce an opacity map from the mask, therefore hiding the vertices in the render. This won't remove the vertices per se, but it is a non destructive approach $\endgroup$
    – James
    Commented Aug 18, 2021 at 9:24
  • 1
    $\begingroup$ You need faces cut, where they are part terrain, part water? $\endgroup$
    – Robin Betts
    Commented Aug 18, 2021 at 10:35

1 Answer 1

2
$\begingroup$

Select one face in Edit mode, then Go to Select -> Select Similar -> Coplanar (or Normal). Tweak settings a bit and you should get the selection you want (at least mostly).

The only other way I could think of would be to iterate through every vertices with a Python script and have it select them for you if their Z value is < 0.001

$\endgroup$
2
  • $\begingroup$ thanks! Coplanar with less than 0.00001 worked! $\endgroup$
    – mtx
    Commented Aug 19, 2021 at 10:44
  • $\begingroup$ nice to hear it! $\endgroup$
    – globglob
    Commented Aug 23, 2021 at 12:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .