Tag Archives: heightmap
Yep, this week has been very original… I’m closer and closer, and the latest addition to the algorithms has really made a difference… After all the process is done, I now do a linear interpolation between the height of the river/lake and the surroundings, making it rise smoothly enough so that the water doesn’t escape! […]
I’ve studied a bit more on A* optimization, and I finally found what the major problem is… The fact that I’m really putting an extremely large penalty on any “rising” terrain means that the system has to search the whole map to find a valid path… Playing around with the factors, I massively reduced the […]
This is taking much longer than I wanted… Although I’m closer (and just found out I’m doing a lake every 4 cells), it’s still not good enough, the water doesn’t follow enough: The brightest points are the lake spawn points, but the water dies down too fast… I could do more iterations, but this takes […]
Added the custom voxel object to the game today, which solves the problem I explained yesterday. The custom voxel object takes care of heightmap and of inserting the voxel map into the game. I’m still missing the props and the action nodes, but that’s easy to add at this point. Also added some functionality to […]
Started work on merging the procedurally generated map with the custom stuff I make in the editor… and only when I started I saw the error of my ways! The way I’m building the procedural world is that I build a heightmap for the world, and then convert that heightmap into voxels, with special cases […]