Skip to content

Preparing for Biome Generator

Choose a tag to compare

@stephen-hqxu stephen-hqxu released this 09 Feb 21:01

Release 0.2.3

Highlights

  • Reduce the dynamic memory usage.
  • More semantics improvement from the last updates.
  • More test cases implemented.

Updates to biome generator

  • Implement multi-threaded biome map generator with reusable caching.

I finally found a way to implmenet biome generator more efficiently in multi-threaded environement by spliting generations into different threads and assigning each worker its own layer cache.

  • Implement more biome layers for demo.
  • Engine-breaking bug fixes.

Memory pool (#9)

  • Memory pool has fully customisable allocator and deallocator, and user-defined arguments.
  • Implement memory pool for GPU compute cache on heightfield generator to improve performance.
  • Implement memory pool for biome map generator to reuse biome cache for its multithreaded environment.

Fixes

  • Fixing some potential race conditions for the memory pool.