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

depth offset for QScreenRayCaster starting position

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.4.0, 6.4.1, 6.5.0 Beta1
    • Qt3D
    • None
    • Windows

    Description

      when triggering a QScreenRayCaster it does not hit a mesh (Triangle Picking method set) below the mouse pointer when the camera has a distance of around > 50000 from that mesh.

      additionally it appears to not hit exactly when close to the mesh (around 0.5f distance from camera).

      For this reason I like to have a depth offset of QScreenRayCaster when I know i want something below the mouse pointer but that is located far away only anyway.

      Additionally the offset should be able to be negative to cater for the case when close to the mesh. That issue might also be due to the mesh triangles having a small size (< 1.0f).

       

      References:

      https://forum.qt.io/topic/140902/qscreenraycaster-depth-of-ray-adjustable-appears-limited-to-50-000

      https://forum.qt.io/topic/140870/qscreenraycaster-does-not-hit-triangles-around-size-1-0f-and-smaller/3

       

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            uani Lars Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes