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

QOrbitCameraController wrong behaviour

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.15.1
    • Qt3D
    • None
    • All

    Description

      The QCamera class allows to define the vertical orientation with upVector. But the orbit camera controller ignores it and uses axis Y as vertical.

      The reason is in the method QOrbitCameraController::moveCamera() contains a line:

          const QVector3D upVector(0.0f, 1.0f, 0.0f);

      which (i guess) should be changed to:

          const QVector3D upVector = theCamera.upVector();

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            andreykuz Andrey Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes