Some semi-random thoughts on terrain generation
#36
(04-12-2012, 04:55 AM)xoft Wrote: I've fixed the trees getting chopped at chunk borders, now they are generated nicely and all it needs is a few tree images / algorithms.
I committed the current status into the /branches/composable_generator svn branch, so if you want to play with it... Beware, though - the chunk generation is kinda slow, I'd say about half the speed of the previous one. Also you need to configure your world.ini properly, here's a quick cheatsheet from my notes:
Code:
[Generator] section:
BiomeGen={Constant|Checkerboard|DistortedVoronoi}; default=DistortedVoronoi
HeightGen={Flat|Classic}; default=Classic
CompositionGen={SameBlock|DebugBiomes|Classic}; default=Classic
Structures=<comma-separated list of structure generators>; default=Trees,MarbleCaves,SprinkleFoliage

BiomeGen=Constant: *
ConstantBiome=<biomenumber>; default=1 (plains)

BiomeGen=Checkerboard: *
CheckerboardBiomeSize=<size of the checkerboard cell, in blocks>; default=64

BiomeGen=DistortedVoronoi:
-- TODO

HeightGen=Flat: *
FlatHeight=<height>; default=5

HeightGen=Classic: *
ClassicHeightFreq1=<frequency float>; default=0.1
ClassicHeightFreq2=<frequency float>; default=1.0
ClassicHeightFreq3=<frequency float>; default=2.0
ClassicHeightAmp1=<amp float>; default=1.0
ClassicHeightAmp2=<amp float>; default=0.5
ClassicHeightAmp3=<amp float>; default=0.5

CompositionGen=SameBlock: *
SameBlockType=<block-id number or string>; default=stone
SameBlockBedrocked={0|1}

CompositionGen=DebugBiomes: *
-- no parameters

CompositionGen=Classic: *
ClassicSeaLevel=<sea-level in blocks>; default=60
ClassicBeachHeight=<beach height above sealevel>; default=2
ClassicBeachDepth=<beach depth under sealevel>; default=4

Structures:Trees *
-- no parameters

Structures:SprinkleFoliage
-- no parameters
Some of this may be wrong, since some of the features are not yet implemented. Experiment Smile

i see allot biome in this poste Smile is it already inplented??
Reply
Thanks given by:


Messages In This Thread
RE: Some semi-random thoughts on terrain generation - by NiLSPACE - 04-12-2012, 11:45 PM



Users browsing this thread: 35 Guest(s)