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

Incorrect return value of mapTo3DScene when scale is set to OrthographicCamera

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.8, 6.8.3
    • Quick: 3D
    • None
    • Windows

    Description

      We are migrating a Qt Quick 3D application from Qt 5.15 to Qt 6.8, but we are encountering issues due to changes in the OrthographicCamera specification.

      The main issue is that when a value is set for the scale of the OrthographicCamera, the position of the 3D model rendered using coordinates obtained from mapTo3DScene does not align correctly.

      When the scale is not changed, the position of the 3D model rendered using coordinates obtained from mapTo3DScene aligns correctly, but in that case, the result of mapPositionFromScene does not match the expected outcome.

      Qt5.15 Qt6.8.3
      • scale.x=0.5
      • scale.y=0.25
      • horizontalMagnification=2
      • verticaMagnification=4
       
      • scale.x=0.5
      • scale.y=0.25
      • horizontalMagnification=2
      • verticaMagnification=4
       

       

       

      Attachments

        1. 2025-05-02-15-40-58.png
          79 kB
          Susumu Endo
        2. 2025-05-02-15-54-14.png
          90 kB
          Susumu Endo
        3. 2025-05-02-15-55-48.png
          86 kB
          Susumu Endo
        4. 2025-05-02-15-57-58.png
          86 kB
          Susumu Endo
        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
            susumuendo Susumu Endo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes