This will require completely redoing how biome noise is fetched, to allow custom samplers to be queried efficiently on a per-biome basis. This would be a good time to switch to a 1D array for storing chunk noise values.
Noise values would be kept in a raw double array within the ChunkInterpolator (probably rename that).
Each biome would get an array to cache interpolators in, if applicable. When noise is requested from a specific coordinate, the interpolator array is queried, then if the interpolator is present it is accessed, if it is missing it is created. This allows for quick access to arbitrarily sized interpolators without needing to calculate an entire chunk of noise for every biome present in the generating chunk.
Redo
noise-equation
to support:Example config:
This will require completely redoing how biome noise is fetched, to allow custom samplers to be queried efficiently on a per-biome basis. This would be a good time to switch to a 1D array for storing chunk noise values.
Noise values would be kept in a raw double array within the ChunkInterpolator (probably rename that).
Each biome would get an array to cache interpolators in, if applicable. When noise is requested from a specific coordinate, the interpolator array is queried, then if the interpolator is present it is accessed, if it is missing it is created. This allows for quick access to arbitrarily sized interpolators without needing to calculate an entire chunk of noise for every biome present in the generating chunk.
This supersedes #117 and #124