Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76735 Qt Quick 3D: C++ API
  3. QTBUG-85145

Qt Quick 3D C++ API: Custom Geometry API

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P1: Critical
    • 6.0.0
    • Quick: 3D
    • None
    • Qt Quick 3D - July

    Description

      Currently there is a C++ API for creating custom geometry, but it is kind of a one-off solution.

      We need a more comprehensive API for supporting user generated runtime geometry.  Such an API should be useable by us internally as well for generating runtime geometry from our own mesh file format (currently the asset import mesh utilities has its own helpers for this).

      The justification is that from a usability perspective users should be able to do anything that we can do with internal API's, so why not unify them.

      Custom Geometry API's should be sufficiently low level to support any kind of geometry the engine supports, which means that we should take some inspiration from Qt3D for this API.

      There should not be a QML API for creating geometry.  Allowing the creation of geometry in QML/Javascript while possible, will create an awkward API as well as poor performing code.  Instead this is an advanced use case that should requires a lower level API via C++.

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            janichol Andy Nichols
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes