So I am just playing around with geometry nodes and looking for a clever way to generate meshes under the curve to form a terrain. I want to be able to play around with the curve itself to make different procedural tracks.
What I have now is a working track (can probably be improved but I am fine with it for now)
My thoughts on how I would be able to generate a terrain:
- Get the Z position of the curve (don't know how to get that Z position) for different points of that curve and make terrain under it by instancing an object/terrain. But I feel like this is the wrong way to go about it because you can't control the meshes you generate for the terrain by just instancing an object.
- Or take a plane and subdivide it --> take the middle part of the plane and get it to the same height at the track, flatten the top so it doesn't interact with the track. And make the ends reach the 0 value of the height
Anyone has any clever ideas?
Edit: What I want it to look like is like a small hill with the tracks on the highest point and a slope going downwards on both sides. Where the track is flat the surface matches, where the track goes up, the ground moves up like a hill.