Giter Site home page Giter Site logo

Comments (7)

kopaka1822 avatar kopaka1822 commented on August 22, 2024 1

Hello,
thank you for reporting the issue. I can confirm that the format is the problem. My current library does not have this format and crashed for this reason. I will try to take the official ktx loader to fix this (I already implemented this for the ktx2 format).

from imageviewer.

mcclure avatar mcclure commented on August 22, 2024

Tried it on another viewer and it failed due to an unusual color format (GL_R11F_G11F_B10F). Could have been the same problem here.

from imageviewer.

Honya2000 avatar Honya2000 commented on August 22, 2024

Unfortunately the viewer still crashes on those .ktx files.

from imageviewer.

Honya2000 avatar Honya2000 commented on August 22, 2024

Tried another format for .ktx file: RGBA16F. Still crashes.
So i guess the problem not in format but in cube-map. It cannot open cube-maps.

from imageviewer.

kopaka1822 avatar kopaka1822 commented on August 22, 2024

Hi,
so I tried updating the ktx loader on a different branch and there are still a few formats that do not work correctly.
However, the ibl.ktx with the GL_R11F_G11F_B10F format works at least.
@Honya2000 Can you send me a link to those ktx files so that I can test them?
Once I get them working as well I would like to make a new release with the updated ktx loader

from imageviewer.

Honya2000 avatar Honya2000 commented on August 22, 2024

For example this one:
https://github.com/google/filament/blob/main/docs/webgl/default_env/default_env_skybox.ktx

from imageviewer.

kopaka1822 avatar kopaka1822 commented on August 22, 2024

Thanks for the additional files. They also seem to work now.
I have added a new Release (3.7) which should include the fixes.
If you encounter any other issues with the ktx files feel free to open the issue and send me a link to the files that do not work

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.