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

Can't load DDS texture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.8.0 Alpha
    • Qt3D
    • None
    • Windows 7 x64 SP1, Nvidia GeForce GT 630

    Description

      Tried to load obj PickUp model with dds textures (get it from http://tf3dm.com/download-page.php?url=pickup-69582).

      Got black model without texture with following repeating output:

      Unexpected data size (got  87400 , expecting 65536 )
      Unexpected data size (got  87400 , expecting 65536 )
      Unexpected data size (got  174776 , expecting 131072 )
      Unexpected data size (got  699064 , expecting 524288 )
      Unexpected data size (got  87400 , expecting 65536 )
      Unexpected data size (got  87400 , expecting 65536 )
      Unexpected data size (got  174776 , expecting 131072 )
      Unexpected data size (got  699064 , expecting 524288 )
      [Qt3DRender::GLTexture] No QTextureImageData generated from functor
      

      (example attached)

      Blender opens this model without problems.

      If replace texture files with png everything works fine in qt 3d.

      (I don't usually use dds textures and encountered a problem doing test for another bug, so I haven't try other models with dds textures)

      Attachments

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

        Activity

          People

            mauro.persano Mauro Persano
            lukegluke Oleg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes