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

Using XrItem instead of using a qml item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8, 6.9
    • Quick: 3D
    • None
    • Meta Quest 3
    • Android

    Description

                  Node {
                     id: outrunIVI
                     property real width: 80
                     property real height: 50

                     eulerRotation.x: -21
                     y: 88.7
                     z: -53.2
                     XrItem {
                         id: screen
                         width: outrunIVI.width
                         height: outrunIVI.height
                         contentItem: OutrunIVI {}
                     }
                 }

      leads to 2 FPS

      where as 

                  Model {
                      id: screenmodel
                      scale.x: 1.92 * .135
                      scale.y: 1.08 * .135
                      scale.z: 0.5 * .13
                      eulerRotation.x: -21
                      y: 88.7
                      z: -53.2
                      source: "#Rectangle"
                      pickable: true

                      DefaultMaterial {
                          id: iviMaterial
                          diffuseMap: Texture {
                              sourceItem: OutrunIVI

      {                             width: 1920                             height: 1080                             visible: true                         }

                          }
                      }
                      materials: [iviMaterial]
                  }

      works

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            nick_bennett Nicholas Bennett
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes