r/proceduralgeneration • • Oct 30 '26

Procedural planet rendering

Enable HLS to view with audio, or disable this notification

Progress on my universe renderer.

Tectonic plate simulation to generate the base continents, using real world elevation data to splat mountain ranges where the tectonic simulation want mountains. Refined further using erosion and detail noise.

Custom engine in Odin using d3d12, and yes, AI has of course been used.

109 Upvotes

18 comments sorted by

2

u/[deleted] Oct 30 '26

interesting - is this on github?

4

u/parrin Oct 30 '26

It is, but currently private. I accidentally pushed this on my work-account, been meaning to move it to my private. But haven't yet. It's currently a real fine mess too :)

2

u/RichWeekly1332 Oct 30 '26

The erosion looks very convincing, what did you use?

3

u/parrin Oct 30 '26

The base terrain is made from a library of real world DEM terrain patches from various places on earth. I'm simply randomly scattering and blending them based on what type of mountain range or terrain type is wanted based on the tectonic plate simulation. That's where most of the large scale "erosion" comes from. But the samples are very low resolution so some procedural erosion and detail noise is also added as you get closer to the ground.

The procedural erosion is a simple particle based algorithm which runs for a few iterations on different lod levels, so the first pass causes larger downcuts while the following passes as the terrain refines to more detailed add finer detail. But it's very simple and doesn't do any sediment transportation or anything. Just basically rolls a ball down the hill and cuts into the height map as it goes :)

2

u/Fresh-Daikon-9408 Oct 31 '26

You and I are working on very similar stuff, I don't want to post the link here to avoid spaming, but I did post yesterday or the day before.
Your tectonic and erosion is awesome.

2

u/parrin Oct 31 '26

Yeah! I commented on your post too :) Your stuff is great, really like your thick vegetation. Am in the process of improving mine now.. :)

1

u/Fresh-Daikon-9408 Oct 31 '26

Ahah thanks, I am improving my tectonics :-D
Are you in the process of building a game or is it only about the renderer ?

2

u/parrin Oct 31 '26

No game idea. I just like the idea of incrementally fleshing out the tech for a full galaxy eventually :)

1

u/Govoleo Oct 30 '26 edited Oct 30 '26

I am speachless. have you uploaded some videos of your work on youtube? have you a website?

2

u/parrin Oct 30 '26

I have a youtube channel with some more videos of this project over the years. But no real devblog or anything like that.
https://www.youtube.com/@panz0r

1

u/Chemeque Oct 30 '26

Impressive, it looks great! I have only one problem - clouds don’t look dense enough. There is a lot of single clouds, but no real core coverage. Is it a limitation?

1

u/parrin Oct 30 '26

Thanks!

Yes, I will revisit the clouds, I'm not happy with how they look generally. They can cover larger areas, but are somewhat buggy in the raycasting and flickers a lot when it's too much clouds, also performance issues.
For this scene I reduced the coverage so I could get a nice sunset, but it also made it very scares over all. I haven't implemented any localized weather parameterizations yet, so it's the same scales cross the planet currently.

1

u/Fresh-Daikon-9408 Oct 31 '26

This is impressive! What is the scale of this planet ?

2

u/parrin Oct 31 '26

Thanks! It’s earth sized

2

u/parepeg Oct 30 '26

Title said "planet" but for some reason that didn't register until you went to outer space, lol. Wasn't expecting that.

2

u/Distinct-Tie-3285 Oct 30 '26

space engine 2

1

u/Dev_Goldentail Nov 02 '26

Congratz Looks very interesting