Setup Biomemap Generator
Pre-release
Pre-release
Release 0.4.0-Preview.1
This release mainly focuses on refining implementations for biomemap generator so it can be integrated into our heightfield generator later.
Biome implementation
- Enhance memory management for
STPLayer, remove explicit memory allocation and deletion, instead it's now automatically managed by a new classSTPLayerManager. - Enable loading biome settings from
Biome.ini. - Add biome map storage into
STPChunk. - Reimplement
STPBiomeFactoryfor safe parallel biome map generation. - Implement biome layer chain for demo purpose.
- Integrate layer implementation supplier into
STPBiomeFactory. - Add linker function in
STPHeightfieldGeneratorand allow linkingSTPBiomeFactorywith it for biome map generation. - Add biome map generation options to
STPHeightfieldGenerator, howeverSTPHeightfieldGeneratoris still not able to generate biome map, integration will yet be implemented until further notice.
Changes
- Remove
usingin headers to avoid naming conflict. - Remove
mapOffsetYfrom INI entry. - Change namespace
STPBiometoSTPDiversityto resolve naming conflict with classSTPBiome. - Rename some files to make our programming style more consistent, such as from
STPBiome_def.htoSTPBiomeDefine.h. - Remove meaningless
constqualifier for value return type. - Implement device pointer deleter, and all device memory are now managed by
std::unique_ptr.