Releases: akb825/Cuttlefish
Releases · akb825/Cuttlefish
Version 2.4.1
- Switched BC7 encoding to bc7enc. This supports more color modes and should give better results for textures with alpha.
- Enabled perceptual weights for "normal" quality sRGB BC7 textures. This is a bit slower than linear weights, but is still 2x faster than "high" quality.
Version 2.4.0
Added support for tiled normalmaps by giving options to wrap along the X and/or Y axes when sampling the bumpmap image. This ensures continuous normals if the texture is tiled along the wrapped axis.
- When using the API, use the NormalOptions enum bitmask to control whether to keep the sign and wrap along the X and Y axes.
- When using the CLI, can optionally provide
wrap
,wrapx
, orwrapy
after the-n/--normalmap
option to wrap along both axes, the X axis, or the Y axis, respectively.
Version 2.3.0
- Added Image::save() function.
- This only provides a basic interface for common use cases like debugging or creating a viewable image after a transformation.
- Use
const void*
instead ofconst std::uint8_t*
for data parameters to avoid the need for casts.
Version 2.2.0
- Added more command-line options for resizing textures.
width
,height
,min
, andmax
may be used for the image width, image height, max between width and height, and min between width and height.- Can append each of the above options with
-nextpo2
and-nearestpo2
for the next and nearest power of two. - example:
--resize max-nearestpo2 max-nearestpo2
to create a square texture with the nearest power of two of the maximum between the image width and height. (i.e. nearestpo2(max(width, height)))
- Fixed incorrect channels when using the
--swizzle
command-line arguments. This didn't affect swizzling when using the C++ API.
Version 2.1.0
- Updated submodules to the latest versions.
- Integrated bc7enc16 BC7 compressor. This is significantly faster than the NVidia Texture Tools compressor, but doesn't have support for all block types.
- For normal and lower quality, bc7enc is always used.
- For high quality, bc7enc is used for simple or no alpha, NVTT for complex alpha.
- For highest quality, NVTT is always used.
- Added
--create-dir
command-line argument to create the parent directory for the output file path if it doesn't exist.
Version 2.0.6
Updated submodules to the latest versions. Forks were made for the following:
- etc2comp to fix a memory leak.
- nvidia-texture-tools to fix the build on Linux with the latest revision.
Version 2.0.5
- Updated submodules to the latest versions. They now all point to their respective upstreams.
- Added submodule for PVRTexTool library. This allows building with PVRTC support without explicitly installing PVRTexTools.
Version 2.0.4
Build fix for GCC 4.9.
Version 2.0.3
Build fixes for latest GCC and glibc.
Version 2.0.2
Updated to the latest version of astc-encoder and nvidia-texture-tools.