You are browsing as a guest. Sign up (or log in) to start making projects!

5h 29m 18s logged

Procedural Terrain Generation is working now!

Maths

I kinda learnt a lot of maths for Perlin and simplex noise generations! Watched a lot of tutorials to get an idea of how it is generally implemented to generate terrain. It is very easy when you don’t have to code the noise functions yourselves…

Resources: 1, 2

Opensource helping

while at it I also added imgui as a dependency. When imgui was building I saw a two big libraries (the actual imgui and sdl3 repos) clone. They were more than 100mb each. I made some simple code changes build.py of the original repo which brought it down to 1-2mb each.

I made an issue in the original bindings repo. Let’s hope it goes well.

Rendering

I changed the rendering technique of the tiles of the generated terrain twice. It was real hard work. This probably took most of the time. There were many errors in maths and logic during the making of terrain renderer.

0
43

Comments 0

No comments yet. Be the first!