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

Provide normalized coordinates in Qt3D QMouseEvents

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Qt3D
    • None

    Description

      Because mouse inputs in Qt3D will be used to interact with objects in the 3D scene, it makes sense to provide coordinates mouse events in a normalized [-1, 1] range, so that they can easily be turned into a ray with a camera matrix. Right now, one has to separately obtain the viewport dimensions in pixels to calculate the normalized coordinates.

      Attachments

        Issue Links

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

          Activity

            People

              mkrus Mike Krus
              fb39ca4 fb39ca4
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes