Cuberite Forum
Some semi-random thoughts on terrain generation - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Some semi-random thoughts on terrain generation (/thread-409.html)



RE: Some semi-random thoughts on terrain generation - xoft - 07-23-2012

I quite like the caves that this guy has cooked up:
http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/
[Image: ground_final.jpg]
The only problem is that the calculations needed for that kind of generator are immensely complicated, the generator would be slow as hell. I'm trying to figure out how to work around that.
Implemented as DualRidgeCaves in Rev 694 Smile
It's not as good as his version, but it doesn't slow the generator too much.


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 07-23-2012

wow that looks cool. i want i was home so i could test it xD. still 12 days on holidayBig Grin


RE: Some semi-random thoughts on terrain generation - xoft - 07-23-2012

It's not as cool in MCServer, I had to sacrifice a few things for the speed.
Enjoy your holiday.


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 07-23-2012

thank you Smile


RE: Some semi-random thoughts on terrain generation - FakeTruth - 07-23-2012

That's how the original marble caves were (kinda), but he does two passes, and I did a single pass which resulted in this:
[Image: cave_ridged.jpg]

I simply added layers of solid between, so the cuts aren't all connected straight to the bottom of the map


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 07-23-2012

In the new cave generator are there also lava and water lakes??
And i saw in the source cStructGenNetherCaves?? :O


RE: Some semi-random thoughts on terrain generation - xoft - 07-23-2012

The DualRidgeCaves generates lava at the bottom of the world (Y <= 10), just like MarbleCaves did. Nothing else.

Nether caves will be probably something between marblecaves and dualridgecaves, but there's not a line of code written yet.



RE: Some semi-random thoughts on terrain generation - NiLSPACE - 07-23-2012

[Image: ground_higher_turbulence.jpg]
That is a nice extreme hills biome mountain Smile


RE: Some semi-random thoughts on terrain generation - xoft - 07-28-2012

I think I'll remodel the generators a bit. I'm concerned with lava-filling the caves. Not everyone likes lava and it's a bit awkward to implement that fill in each and every cave generator we have. So I'll remove it from there, the caves will only hollow out the ground. And I'll add a lava-fill finisher with a settable lava height level. Makes more sense Smile


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 07-28-2012

so no underground lava and water lakes yet?