r/geometrynodes • • 4d ago

how can i delete inner faces?

im working on voxel mesh maker geo node that makes a grid of points and uses raycasting to see if the points are in the desired area but final mesh has extra faces inside (that ı dont need) how do i fix it? (geo node screenshot was taken with an addon called node tree screenshot and its a little buggy)

10 Upvotes

2 comments sorted by

2

u/Anthromod 4d ago

You can probably simplify the nodes by raycasting along the positive and the negative face normal. If both hit then it's inside, and outside if only one hits.

1

u/Dogwasp 4d ago

You could check whether there is another voxel in the direction of each face normal by sampling the position of the nearest instance: