VloxyEngine icon indicating copy to clipboard operation
VloxyEngine copied to clipboard

Noise API Overhaul

Open BLaZeKiLL opened this issue 2 years ago • 0 comments

The current noise API is limited, it just has very few dials.

Ideally, the Noise API or more accurately generation API should have the following capabilities:-

  • Layer based with different types of layers (biome, height maps, structres)
  • Phases like the biome layers would go first then the height maps basically a DAG of noise functions
  • Generation of structures from caves and rivers to trees should be handled by this
  • It would be nice if we can load serialized voxel data as structures, maybe json or magica-voxel ?
  • It needs to respect un-generated chunks and should be deterministic on seed

Not all of this can be targeted for 1.2.X.

the current implementation uses burst code which could make it difficult to provide a simple API, maybe a separate plain old C# thread that handles all the generation stuff could be simpler but then that would impact performance.

References

BLaZeKiLL avatar Mar 04 '23 05:03 BLaZeKiLL