Author Topic: The possibility of having a logical terrain generator?  (Read 1033 times)

Could it be possible to have a serversided terrain generator that created logical x4 cube blocks of different types by the depth, location, etc?

:o

Yes? Why not?

I want to make a terrain generator eventually, although it won't work in blocks like that.

Truce made one awhile ago.

Here
« Last Edit: November 13, 2010, 05:30:29 PM by Butler »

Truce made one awhile ago.

Here

That was an external converter for static landscapes, but yes, there's a dynamic one as well.

The biggest thing to consider is the generation part itself. How would you create the landscape data before adding the bricks? You could go as far as Dwarf Fortress and Minecraft, and have some fany generator for the surface and then add caves and caverns as well, it could be as simple as choosing a random value for each cell in a grid tat extends one unit past the desired terrain in every direction, and then the individual heights are averages of the bordering 9 cells, it could be layered perlin noise (that one's great if you want to be able to infinitely expand at any time)...

Ask 10 people to create a terrain generator, and you will have 10 completely different results, most of them fairly decent.

Unless you were thinking of something where a person would design the terrain, and not procedural/random generation?

The biggest thing to consider is the generation part itself. How would you create the landscape data before adding the bricks? You could go as far as Dwarf Fortress and Minecraft, and have some fany generator for the surface and then add caves and caverns as well, it could be as simple as choosing a random value for each cell in a grid tat extends one unit past the desired terrain in every direction, and then the individual heights are averages of the bordering 9 cells, it could be layered perlin noise (that one's great if you want to be able to infinitely expand at any time)...

Ask 10 people to create a terrain generator, and you will have 10 completely different results, most of them fairly decent.

Unless you were thinking of something where a person would design the terrain, and not procedural/random generation?

It's randomly design a landscape, then make it completely out of bricks.
So yeah.

You could go as far as Dwarf Fortress and Minecraft
Actually, I'm asking for the sake of a Minecraft-like landscape.  :cookieMonster:

Actually, I'm asking for the sake of a Minecraft-like landscape.  :cookieMonster:
Truce did that too

Truce did that too
That doesn't help because he never released it.

If it is procedurally generated from an initial seed and the coordinates, in 16x16x16 chunks, and underground features are determined by the imaginary faces between chunks, you could generate chunks as needed and discard unaltered chunks that are not within LOS, and you only need to save the alterations to a chunk, and it could generate an infinitely large landscape...