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

Changing a texture parameter in a material does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.6.0 Beta
    • Fix Version/s: 5.7.0 Alpha
    • Component/s: Qt3D
    • Labels:
      None
    • Environment:
      OS X 10.11.3
    • Commits:
      d7e9c7a9844b658d93c3f1ac47e96f069162de3d

      Description

      With the code on the 5.6 branch, material parameters that are texture objects (e.g. Texture2D or Texture3D) do not properly get updated when the parameter value changes.

      I've created an small example to demonstrate this. When you change the texture, the property change is not propagated properly. I've also attached screenshots showing what happens.

      However, I did find a commit that fixes this issue on the dev branch: d7e9c7a. I cherry-picked this commit onto the 5.6 branch, rebuilt qt3d, and the example works properly.

        Attachments

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

          Activity

            People

            Assignee:
            seanharmer Sean Harmer
            Reporter:
            kersson Krishna Ersson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes