Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82431

Improve texture file support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2
    • 6.0.0
    • Qt RHI, Quick: 3D
    • None
    • 4

    Description

      1) Fix support for non-compressed textures in texture files (e.g. ktx). Needs fix in qtbase

      2) Avoid duplication of the GLformatId->RHIformatId mapping function. qtdeclarative has a proper one internally; in quick3d this is achieved with a duplicated and less complete glformat->ssgformat->rhiformat conversion
      One idea is to make general (static) api for this in QTextureFileData, perhaps both the mapping function to Rhi and the meta info query: is format compressed or not, is it srgb or not, is it opaque or not.
      Ref. https://codereview.qt-project.org/c/qt/qtdeclarative/+/303517

      3) Add support for .dds files? (-> qtbase task)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            vgt Eirik Aavitsland
            Pasi Keränen Pasi Keränen
            Andy Nichols Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes