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 - NiLSPACE - 05-15-2014

Why not make it configureable? I always wanted big cities in MinecraftTongue


RE: Some semi-random thoughts on terrain generation - xoft - 05-15-2014

It is configurable, but the granularity is rather large.
The image above was with depth = 7
The image below is with depth = 4:
[Image: village2_depth4.png]

Depth=3:
[Image: village2_depth3.png]

Depth = 2:
[Image: village2_depth2.png]

Depth = 1:
[Image: village2_depth1.png]

And there's nothing in between these. I'll need to find a way to make the villages less dense with houses while keeping the roads structure interesting.

It might also change a bit when I get all the house prefabs working, right now there are only about 5 prefabs that are generated, the rest have wrong connector definitions.


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 05-15-2014

Is it normal that MCServer generates with 0.37 ch/s when I have villages enabled?
EDIT:
And now it crashes.


RE: Some semi-random thoughts on terrain generation - xoft - 05-15-2014

That's NOT normal, I get like 60 chunks per second in debug mode (with flat terrain, though).

I somehow expect the crash to be out-of-32bit-memory?


RE: Some semi-random thoughts on terrain generation - LO1ZB - 05-15-2014

Is the VillageGen activated automatically, when i compile https://github.com/mc-server/MCServer/tree/VillageGen ?


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 05-15-2014

No you have to put "Villages" in world.ini/Generator/Finishers.

I found the spot where it crashes. It crashes after returning cStructurePtr()

The reason why it doesn't crash for you might be because you have a single biome (Plains).


RE: Some semi-random thoughts on terrain generation - xoft - 05-16-2014

I hope I've fixed the crash now.


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 05-16-2014

I haven't found a village yet, but it doesn't crash anymore Smile

EDIT:

Oh I see why. Their height is still fixed.


RE: Some semi-random thoughts on terrain generation - xoft - 05-16-2014

Yea, so far I'm only playing with the structure, the height adjustment will come later on. Right now they all generate at height (10 + well height).


RE: Some semi-random thoughts on terrain generation - xoft - 05-18-2014

The village houses are now adjusted onto the ground. Their doorsteps are considered the pivot that is moved on the ground level (so that each house is accessible once we get villagers working).
[Image: village3.jpg]
(Note that roads have not been implemented yet, so they're floating high above Smile )