BSD Ports

graphics/s2tc 1.0+20151228_5 DragonFly

Subset of a well-known texture compression scheme

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
graphics
Package size
66.2 KiB, 505.8 KiB installed

Description

S2TC's format specification is very easy to implement, so it is not hard to make a working compressor or decompressor for it. It is based on Color Cell Compression[1] from 1986, and decoding is done entirely using the methods from there. Encoding is done using a search and refinement method that is derived from the methods described in that paper.

This also makes this format a great platform for learning about texture compression and how to tune a compressor for best quality.

S2TC is especially well suited for runtime (on-load) compression of textures, as it is - in low quality settings - way faster than any other texture compressors out there.

In the other systems

SystemPortVersion
DragonFlygraphics/s2tc1.0+20151228_5
FreeBSDgraphics/s2tc1.0+20151228_5
MidnightBSDgraphics/s2tc1.0+20151228_1
HardenedBSDgraphics/s2tc1.0+20151228_5
GhostBSDgraphics/s2tc1.0+20151228_5

Install

Binary package:

pkg install s2tc

From DPorts:

cd /usr/dports/graphics/s2tc && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The s2tc port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing