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

Reg->6.6X: Qt3D: Light color and intensity doesn't work at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.4
    • Qt3D
    • None
    • Windows

    Description

      Bug moved over from PySide. Steps to reproduce:

      • Apply attached qtbug121531_repro.diff to Qt3D Repo (patching simple-cpp example)
      • Compare 6.2.4 to later versions

      Recently, me and my teammate rewrote a PySide2 Qt3D project to PySide6 version which took a lot of effort.

      I know the latest version is 6.6.1, but in 6.6.1 version our custom Qt3DCore.QBuffer and Qt3DCore.QAttribute architecture gets broken without any clues or warnings.

      We tested all combinations from Python compatibility matrix, limiting ourselves to Pythons: 3.8.2, 3.10.11, 3.11.6, 3.12.1.

      Only 3.10.11 and 3.8.2 displays the render properly.

      We choose Python 3.10.11 and we checked all PySide6 versions: 6.0.x - 6.6.1

      All 6.0.0 - 6.2.4 display the render properly, but light does not work.

      All 6.3.2 - 6.6.1 creates issues with our custom architecture mentioned earlier. Too much time spent on it, so we need to postpone it.

      We want to move forward with 6.2.4 (or earlier PySide6) and Python 3.10.11.

      By "light does not work" I mean like in the title of this issue: light color, and intensity parameters do not work at all, possibly other parameters as well.

      Please see minimal reproducible example: simple3d.py

      Running my example in Python 3.12 + PySide 6.6.1 gives effect:

      Running my example in Python 3.10.11 + PySide 6.2.4 gives effect:

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            ktalik Konrad Talik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes