Comments (9)
pics or it didn't happen
from ispctexturecompressor.
Few examples as requested:
example.zip
from ispctexturecompressor.
I can't seem to reproduce similar files at all, and I tried all profiles. What exactly did you use?
from ispctexturecompressor.
I used basic profile:
mode_selection: {true, true, true, true}
refineIterations: {2, 2, 2, 2, 2, 2, 2, -858993460}
skip_mode2: true
fastSkipTreshold_mode1: 12
fastSkipTreshold_mode3: 8
fastSkipTreshold_mode7: 0
mode45_channel0: 0
refineIterations_channel: 2
channels: 3
I'm using multiple threads for compression of one texture slicing it to 8 equal parts if possible. Using one thread per texture didn't help.
from ispctexturecompressor.
I've prepared examples done on single thread with no other thread working simultaneously: example_singlethread.zip
from ispctexturecompressor.
I am definitively not getting the same results with the basic profile. Are you sure you are using the last version on the repository?
Also, can you avoid mipmaps in your examples? The main textures in your examples 01, 03 & 04 are exactly the same...
from ispctexturecompressor.
Yes, I'm using the latest version. I've done some changes with initializing local arrays, but it shouldn't make a difference for worse?
As for mipmaps, they just give more examples, I suppose. I've tested that each time mipmaps are generated the same. The difference appears after compression. I'll double check if I didn't miss anything [EDITED: I forgot my own files naming]
Is there any chance that heavy use of multithreading could break something? I looked through the code, and couldn't find anything.
I'll try to prepare some isolated code that will exhibit this nondeterministic behaviour.
from ispctexturecompressor.
I saw one block difference in picture 02, that's it. But what concerns me more is that I can't reproduce your results at all from the .tga file,
Basic profile produces completely different results, with significantly higher quality. For instance:
01_a.dds: RGB psnr = 46.305 dB (01_b is exactly the same data)
basic profile: RGB psnr = 46.778 dB
(using 01.tga as a reference for all)
from ispctexturecompressor.
My bad, I've rebuild the library, but forgot to swap the DLL file. So I was using the old version all along. Everything is fine now.
from ispctexturecompressor.
Related Issues (20)
- Looks like BC7 doesn't encode alpha properly.
- Mac Static Library
- replace #include "memory.h" with #include <memory.h>
- BC7 encoder could convert completely transparent block (alpha=0) to non-transparent
- Possible bug with the bc6h encoder HOT 1
- Feature Request: BC6H Signed Float Support (DXGI_FORMAT_BC6H_SF16) HOT 3
- ISPC HDR Texture Compressor still has Apache 2 license headers. HOT 1
- Wrong bytes/block values in ispc_texcomp.h comment HOT 1
- DXT1 compression on images with smooth gradients results in banding HOT 2
- ETC2 support? HOT 1
- How to specify a fixed mode for BC7 encoding?
- Command line parameters? HOT 3
- Nondeterministic results in ASTC w/ varying partitions
- ISPC 1.14 issues and suggested fixes/workarounds HOT 3
- bad code generation causing incorrect encoding in when compiling with clang optimization. HOT 2
- Compile error on Ubuntu 16.04: ‘numeric_limits’ is not a member of ‘std’ HOT 4
- Support non-sRGB LDR compression
- if programCount==1 then ASTC compression fails (PURPLE color)
- ispc file support
- "Error: Unsupported value for --arch" when building on Fedora
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 ispctexturecompressor.