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

Apparent texture corruption with non-power-of-two textures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt3D 1.0
    • Qt3D TP2
    • Qt3D
    • None

    Description

      Strange graphics texture corruption on a 2011 MacBook air with an intel Sandy Bridge (i7) chip and onboard GPU.

      Reproduce by building and running quick3d/master against qt4.7.4/4.8rc2/4.8, and running the solarsystem_qml demo. The sun and planet both exhibit texture corruption, whereas the moon is uncorrupted.

      To fix the planet texture corruption, you can resize the planet.jpg texture from 480x320 to 1024x512 (the same size as the moon texture), and then it renders uncorrupted.

      Running the qglinfo utility the GPU claims to support GL_ARB_texture_non_power_of_two, but there is clearly some implementation issue.

      Attachments

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

        Activity

          People

            patburke Patrick Burke (closed Nokia identity) (Inactive)
            patburke Patrick Burke (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes