Radio Noise development diary #2


Greetings all travellers to my continuing devlog about my "Radio Noise" project

Radio Noise

Today, I want to share the good news that I finally managed to make a normal procedural world generation, and I will describe the principles of its work as well.

First, I generate a random cid for X and Y, in ranges of -10000 and +10000, then I implement a biome map that uses a combination of Perlin noise for altitude, temperature, humidity to determine biome types. In my case, I have 5 types of biomes (Plain (pink), desert (yellow), forest (dark green), swamp (green) and mountains (orange)), each biome has its own altitude, which for smooth transitions interpolated (done at the stage of generating planes), temperature and humidity because of which, for example, the desert can not sleep next to the swamp as well as mountains next to the swamp.

Then, I start the generation, where the first layers are made of stone, then a layer of caves (which still work a bit crooked, but that's why I don't want to show the prototype now), and then overlay them with a layer of biome specifications. After that, I calculate the base height via Perlin noise, the separation of the 4 nearest biomes and interpolate the biome heights. Next, I have a meshing build, which determines the 8 corner density values, calculates the chunk indices via bitmask, checks the intersections in the Marching Cubes table and then adds the triangles to a buffer where materials are added and automatically recalculates the meshes normals.

To put it too succinctly and as simply as possible, this is the chain:

Perlin Noise -> Biome Map - > Density -> Marching Cubes - > Material Overlay

Radio Noise

As we can see in the screenshot, there are gaps between biomes here, but that's because for now the meshes can't have two materials for a smoother visual transition, something I'll be polishing every day.. I have a lot of work to do on this, but if you look at how it looked a week ago and now - I'm happy with the result, but more effort needs to be put into it.

So please give likes, add the project to your playlist, comment, suggest and give feedback, it gives me motivation and drives me to do the project.



Get Radio Noise

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.