Giter Site home page Giter Site logo

Comments (6)

kopaka1822 avatar kopaka1822 commented on August 22, 2024

I will try to take a look at this on the weekend

from imageviewer.

powof2 avatar powof2 commented on August 22, 2024

Here is what they look in imageviewer:
lena

ps. I mean ImageViewer and not TextureViewer in the picture.

from imageviewer.

kopaka1822 avatar kopaka1822 commented on August 22, 2024

Hello,

the etc2 version in ImageViewer, it will looks much greener

I fixed this. The red and blue channels were swapped, that's why this issue occurred. The problem is that I cannot really test non directx formats with my unit tests. So it looks like my compression tool (compressonator) swapped the channels when saving the image and then swapped them again when loading (that's why this issue didn't occur to me yet).

the astc version in ImageViewer, it will looks much lighter

I could not reproduce that. Can you tell me which exact format did not work? I used ASTC 4x4 srgb (vulkan) to test this but I had no issue (Are you sure that you did not use linear instead of srgb?).

I added the updated files as attachment, so that you can test if the issues were solved. (for version 3.5)
imageloader.zip

from imageviewer.

powof2 avatar powof2 commented on August 22, 2024

Hi,
I thinks the etc2 looks better because they both looks lighter:
iv-test
what they look in PVRTexTool:

ptt-test

more info:
the astc encode format : ASTC_5x5, sRGB, unsigned normalized byte
the etc2 endode format : etc2_RGB, sRGB, unsgiend normalied byte

here is the images used for testing:
lena-test.zip

from imageviewer.

kopaka1822 avatar kopaka1822 commented on August 22, 2024

Hello,
when i open your lena-astc5x5.ktx or etc file in my PVRTexTool (which I downloaded yesterday) I get exactly the same issue:
image

I think there might have been an issue in the older versions of the tool which they fixed by now.
If I use my PVRTexTool to create to create an ASTC file, it works in the TexTool and in the ImageViewer.

PS: I would also recommend you to use one of the supercompressed formats (BASISU ETC1S/UASTC), because they will compress the file on CPU and GPU, so you also save some disk space (this requires .ktx2 file formats)

from imageviewer.

powof2 avatar powof2 commented on August 22, 2024

yes, I use older version of PVRTexTool, because the new one has errors when running in command line (accept astc_4x4 and astc_8x8 only, older version has no this problem).

I guess it may be a problem of the software decoder, i'll check it out.
and as for ktx2, i'll check it out as well.

thank you for the great tool.

from imageviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.