PolyhedralDev / Terra

Voxel world generation modding platform
MIT License
663 stars 88 forks source link

Image library #385

Closed astrsh closed 1 year ago

astrsh commented 1 year ago

Moved from #356, to target 6.3

Pull Request

Brief description.

Introduces an image library that includes general image related functionality. New robust alternatives to current image based features are introduced by this PR.

What Issues Does This Fix?

The image biome provider lacks some functionality, such as non tiling behaviour and manually defined color to biome mappings. These are now provided via the library and implemented in the new image provider.

Licensing

Goal of the PR

The main goal is to provide improvements to image related features, as well as provide the base for an image pipeline source that will be implemented on top of #355.

Affects of the PR

Current image based features are deprecated with the introduction of the library-image addon.

The BufferedImage loader from the common implementation is deprecated, the Image class provided by the image library should be used instead.

Types of changes

Compatiblity

Contribution Guidelines.

Documentation

Testing