Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4154

textures with absolute file path to qrc:/// not loading with delayed loading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: Qt 3D Studio 2.7
    • Fix Version/s: Qt 3D Studio 2.8
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Commits:
      05eb20d0b7e46101dd79d3f5788681f5a2a9446e

      Description

      All images are stored in resource files.
      <file alias="foo/bar.astc">resources/images/foo/bar.astc</file>
      texture/diffuse map set in UIP with:
      <Add ref="#someref" sourcepath="foo/bar.astc" subpresentation="" />
      Same texture is then replaced via code with

      presentation->setAttribute(someref, "sourcepath", qrc:///foo/bar.astc).

       

      When using non-delayed loading all the images load and work(?not loaded twice?).

      When using delayed loading the images which are being replaced with setAttribute with having differing name (the additional qrc:///) are not found by mapping functions and get drawn white.

       

      This is somewhat a client side problem with mixing conventions with absolute and relative paths. But since it works with non-delayed loading it is confusing for the user.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              e0150566 Janne Koskinen
              Reporter:
              e0150566 Janne Koskinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes