Comments (6)
Compressonator is filled with Win32 native function calls. Somebody should port it to cross-platform C++.
from compressonator.
hi, thanks for your interest in compressonator. As for now, the plan to support Mac/Unix for the application tools (both commandline and gui) won't happen quickly, keep a watch on this site if there is any update on this. A possible solution for now is you can build the SDK libs and include the header file "Compressonator.h" then call the function CMP_ConvertTexture(&srcTexture, &destTexture, &options, &CompressionCallback, NULL, NULL) from your app. You can refer to https://github.com/GPUOpen-Tools/Compressonator/blob/master/Compressonator/Examples/Compressonator_Test.cpp on example of a simple commadline app with the SDK. Hope this helps. thanks.
from compressonator.
Is this implemented?
from compressonator.
#ifdef _WIN32 compiler directive will be added to the code to identify Win32 native functions, to assist in port to cross-platform C++
from compressonator.
This feature is not implemented.
There is no near term plan to port to other operating systems. Identifying win32 components under a compile directive will make the code unusable until alternate code is available.
from compressonator.
Actually I'm on macOS 10.12 and Compressonator works fine with wine
I just need winetricks vcrun2015
and override api-ms-win-crt-time-l1-1-0
to native (winecfg)
See Is there a command line ATI texture compression tool? - Game Development Stack Exchange
But it's would be better to have at least a native CLI for UNIX platforms to use it in our workflow
from compressonator.
Related Issues (20)
- dds header flag DDSD_MIPMAPCOUNT always set HOT 3
- Some memory leaks detected HOT 2
- Compressonator SDK for linux on releases HOT 1
- -nomipmap not working for bc6h HOT 5
- Wrong buffer size calculation
- #define __local prevents compilation with macOS SDK 14 HOT 2
- With OPTION_ENABLE_ALL_APPS OFF there is still a hard dependency on OpenCV HOT 2
- BC7 UNORM SRGB support (KTX2) HOT 4
- MacOS Apple silicon support (Universal build) HOT 3
- Add Unicode version for CMP_LoadTexture/CMP_SaveTexture HOT 2
- BC6H CPU (Core) encoder produces artifacts HOT 1
- Release is not runnable on Linux due to missing library HOT 4
- Black pixels along right edge when BC7 compressing mips with a non-divisible-by-4 width HOT 3
- Missing cstdint in utilfuncs HOT 1
- Wrong location of libicudata in Linux HOT 1
- OpenCV is not properly included in SDK only build
- Broken mipmaps on some textures HOT 1
- Failing save file in linux
- output file does not properly detect file extension HOT 1
- Last version with Win7/Win8 support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compressonator.