Looking for a fun practice with geometry nodes, I recreated the proximity mines from the classic PC game Descent:
The basic shape is a cube, with spheres on the midpoints of the faces, and cones on the midpoints of the edges
I was looking for ways to be efficient in locating those points without too many nodes:
3 Likes
Good exercise.
My take:
Dual can be used as a short-cut for finding the face-mid. Edge-mids is a pain to get at and you pretty much have the best solution for that, so I opted to just construct it from a mesh-plane.
Edge Mids would be easy to find if GN got a Bevel Node as the “edge-mid” shape is just a “Rectified” cube (i.e. a full Vertex Bevel):
…which looks like that (Think its called a Cuboctahedron).
1 Like