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

QEntities are displayed depending on the order of their instantiation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 5.7.1
    • 5.7.0
    • Qt3D
    • None
    • 5.7.0 installed via qt-unified-linux-x64-online.run on Ubuntu 16.04
      5.7.0 installed via brew install qt5 on MacOS Sierra (Version 10.12.1)
      qt-opensource-windows-x86-mingw530-5.7.0 on Win 10

    Description

      The bug occurs during runtime:
      3D objects (e.g. Spheres, Cylinders) are not displayed correctly according to their spatial positioning/depth in a 3D scene. The order of instantiation determines how objects cover each other.
      In other words: the firstly created QEntity is in the absolute background and the lastly created QEntity is always in the foreground. This happens regardless of where the QEntities are positioned and how the camera is rotated.

      The bug was found by two users (Finn, Ian Bray) in different system environments (MacOS Sierra, Ubuntu 16.04, Windows 10) with Qt 5.7.0. and is discussed in detail in the following forum entry:
      https://forum.qt.io/topic/74419/a-weird-bug-why-is-there-no-spatial-depth-in-my-3d-scene/16

      The user kshegunov (using version Qt 5.7.2 ) could not reproduce the bug.

      A project folder of a minimum working example (compiled with brew install Qt5 in CLion on MacOS Sierra) and screenshots of the correct and incorrect result are provided in the Archive.zip file.

      Attachments

        1. Archive.zip
          445 kB
          Michael Heuer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lemire_p Paul Lemire
            finnm Michael Heuer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes