Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-8448

Adding texture to material inside a 3D component does not work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 3.9
    • QDS 3.9
    • Material Browser
    • None
    • 1
    • 6dfe32508 (qds/3.9), fb24f791b (qds/dev)
    • QDS Oulu - 2022 Week 49/50

    Description

      Steps to reproduce:

      • Create a 3D project
      • Import some 3D asset, e.g. the one attached
      • Go inside the 3D component by double clicking it in Components
      • Open Content Library
      • Right click one of the textures in Texture tab and choose "Add texture"
      • Open Material Browser
      • Choose the existing material or create new default material
      • Right click added texture and choose "Apply to selected material" -> diffusemap
      • Preview image of the material does not change, code editor shows:
              DefaultMaterial {
                  id: defaultMaterial_material
                  diffuseMap: texture1
                  objectName: "defaultMaterial_material"
                  diffuseColor: "#ffcccccc"
              }
              
              Texture {
                  id: texture1
                  source: "images/hexagonal_concrete_paving_diff_4k.png"
              }

       

      • Source path incorrect for texture?
      • Applying texture to material by dragging and dropping an image from Assets to Material Editor -> Diffuse map applies texture correctly

      Attachments

        1. Box.FBX
          15 kB
          Tanja Remes

        Activity

          People

            e0348803 Miikka Heikkinen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: