Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3557

OpenGL Runtime supports only full element paths in setAttribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • Qt 3D Studio 2.4 BETA1
    • OpenGL Runtime

    Description

      OpenGL Runtime supports only full element paths in setAttribute and DataInput. Runtime 2 documentation talks about an id that could be used there. This is reduction in API and should be fixed if feasible within 2.4 timeframe.

      An element path refers to an object in the scene either by name or id. The latter is rarely used in application code since the unique IDs are not exposed in the Qt 3D Studio application. To refer to an object by id, prepend \c

      {#}

      to the name. Applications will typically refer to objects by name.

      Names are not necessarily unique, however. To access an object with a non-unique name, the path can be specified, for example, \c

      {Scene.Layer.Camera}

      . Here the right camera object gets chosen even if the scene contains other layers with the default camera names (for instance \c

      {Scene.Layer2.Camera}

      ).

      If the object is renamed to a unique name in the Qt 3D Studio application's Timeline view, the path can be omitted. For example, if the camera in question was renamed to \c MyCamera, applications can then simply pass \c MyCamera as the element path.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes