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

Provide normalized coordinates in Qt3D QMouseEvents

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes