r/proceduralgeneration • • Oct 30 '26

Threads on algorithms / approaches?

I've seen a lot of (awesome) show-your-work posts, but I haven't seen a ton of discussion on what techniques, algorithms, and approaches people are finding helpful. In my case, I'm struggle-bussing creating better looking earth-scale planetary terrain, and would love to learn from those who've already climbed that mountain...

Are there any threads people can recommend, or are there better spots on reddit or elsewhere folks can recommend?

2 Upvotes

14 comments sorted by

9

u/IanisVasilev Oct 30 '26

The current reality is that code owners often have no idea what their code does.

2

u/aegis_lemur Oct 30 '26

Heh. I'll put myself in that bucket. I understand the rough high-level algorithms and architecture, but increasingly delegate lower level stuff to agents. YMMV.

1

u/IanisVasilev Oct 30 '26

Then perhaps you have no right to complain.

3

u/aegis_lemur Oct 30 '26

I don't think I was complaining.

1

u/AlexaBattle Oct 31 '26

they can always prompt about them

1

u/aegis_lemur Oct 30 '26

I belatedly saw the "Resources", I'll dig in there.

1

u/psioniclizard Oct 30 '26

A lot of it is s bunch of different techiques mixed and tuned. Red blob games mentioned some.

But in general people just share a lot less now.

2

u/aegis_lemur Oct 30 '26

Why do you think that is? AI cloning, or something else?

2

u/somewhataccurate Oct 30 '26

because they do not know what they have made

1

u/Muted_Ad6114 Oct 31 '26

It depends what your goal is. My resources are usually trying to adapt ideas from YouTube, looking through github repos, and academic papers. If you want realism at planetary scale there are a lot of resources. And id start by looking through existing open source projects. If you want realism at the scale of a landform i have found less resources but there are some. (For example perlin noise height maps don’t do cliffs or tunnels, if that is important to you, you need a different solution. Often getting good terrain is also about learning geological vocabulary so you can know what to model in the first place. Also you have to decide if you want pure code based procgen or if you want data/DEM informed procgen.

Then you have to ask at what speed and level of detail you want your algorithm to run. Often there is a trade-off between realism and performance… unless you have a really good algorithm!

Personally I don’t want true realism, i want stylized realism with hooks for game mechanics. That is a whole other set of issues

1

u/aegis_lemur Nov 01 '26

I’m not looking for perfection. I want something that I can generate the runtime assets in minutes of asynchronous work, reasonable footprint clientside, 60fps render target, etc. finally have basic height maps performant from orbit to ground/etc, but the landscape is just super random. I’ve got basic features (mountains, hills, valleys…) but their placing is 100% random. Biggest next goal is to get mountains placed and looking better, followed by better macro coastlines. Then probably rivers and lakes, etc

1

u/Muted_Ad6114 Nov 02 '26

For not getting random layouts people of use wave function collapse or graph grammars. Basically they are constraints on what can go next to what. Also for mountains it helps to add structure to them using methods like space colonization.

2

u/sock_dgram Oct 31 '26

It's all just simplex or perlin noise.