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

QML ShaderProgram doesn't work on an Item3D if the Mesh source is a property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt3D TP1
    • 4.7.2
    • Qt3D
    • None
    • Windows XP SP3 msvc2008
    • 09ddebb1eb09ab10768ec7399dbb105efc1db3a8

    Description

      Hi,

      QML ShaderProgram(s) doesn't work on Item3D(s) which define a Mesh with a source passed as a property.

      property string myObjFilename: "Sphere.obj"
      mesh: Mesh

      { source: myObjFilename}

      // Shader will not work
      mesh: Mesh

      { source: "Sphere.obj"}

      // Shader will work
      effect: AnEffect{}

      Look at the attachment for a "working" example

      Regards,

      Attachments

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

        Activity

          People

            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            sylv Sylv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes