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

Mark Canvas3D module as deprecated

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.12.0 RC
    • 5.12
    • Canvas3D
    • None
    • b09ae872a4dedb83094c3863d044ecb7c6283993

    Description

      Mark qtcanvas3d module as deprecated in the 5.12 LTS version. Commenting round on Qt Development mailing list produced 3x+1's and no objections.

      We’ve maintained the Canvas3D (a WebGL like API for Qt Quick JavaScript) module with very minimal effort, but when we look at our future it is clear we need to start supporting multiple low level APIs in Qt’s graphics stack and make our graphics stack less OpenGL centric. This was discussed in the Qt Contributor’s Summit 2018 and has been “in the air” for some time now among developers of Qt 3D, Qt 3D Studio and Qt Quick. Qt will of course still support OpenGL, but it’s not going to be the only API we need to support.

      To this end Canvas3D with it’s WebGL API that maps nearly 1:1 to OpenGL is no longer a simple API to maintain going in to the future. It would require a major rewrite and a lot more involved design work to map it to new APIs (e.g. Vulcan, DX 12 or Metal). Also there hasn’t been a big uptake in the customers or in the community to use this QML API or the ported three.js javascript 3D engine versions. All in all Qt’s graphics stack development effort is better spent in improving Qt 3D, Qt 3D Studio and Qt Quick, adding enablers in these modules to support new graphics APIs etc.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-70510
          # Subject Branch Project Status CR V

          Activity

            People

              pakerane Pasi Keränen
              pakerane Pasi Keränen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes