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 - 11-10-2014

Swampland:
[Image: cc270fb38b.jpg]
Code:
Noise3DHeightAmplification=0.250000
Noise3DMidPoint=59.000000



RE: Some semi-random thoughts on terrain generation - NiLSPACE - 11-10-2014

SwamplandM:
[Image: 08a91bbbc9.jpg]
Code:
Noise3DHeightAmplification=0.110000
Noise3DMidPoint=59.000000



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

Alright, I've created the new generator, BiomalNoise3D, and added those three biomes to it, along with guessed plains and desert values. All the other biomes will generate wild terrain, so that they stand out as "needs completion". When I get new values, I'll add them (or you can, it's in the source Smile )


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

The generator crashes on me when I try it with the Grown biome generator. Maybe it generates a biome that makes it go above 255?


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

It should work with any biomes, all the biomes that it doesn't know receive bogus values, but other than that nothing should happen.
Got a stacktrace? Is it reproducible?


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

No I don't have a stacktrace. It happens everytime I try it with a biome that hasn't got any values (for example Taiga).
I'm using a Win64 build, so maybe that helps.

Yea I think it's trying to go over 255:
[Image: 21784102fa.png]


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

I've tried with a 32-bit build and I can't get it to crash at all. So run it in the debugger and get me a stacktrace.

Oh, btw, I have had a fault, but it wasn't cause by the generator itself, but the WE plugin instead - if you compass-click through a terrain that's up to Y=255, the WE plugin will try reading a block at Y=256, thus hitting an ASSERT.


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

If you have an x64 machine I can give you the executable, because when I try to debug I get this message:
[Image: 3759dab610.png]


RE: Some semi-random thoughts on terrain generation - sphinxc0re - 11-11-2014

Try to start vs as admin


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

Then I get the same error.