Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116798

Event local coordinates are wrong with perspective camera

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx

      Description

      With a perspective camera, events delivered to any node that's not lying flat on the XY plane contain wrong local coordinates - they don't reflect the projection transformations.

      Needed API changes:
      Affected classes: MouseEvent, MouseDragEvent, DragEvent, GestureEvent, ContextMenuEvent, TouchPoint
      Add methods getZ(), getPickResult()
      Add PickResult to all their constructors

      See https://wikis.oracle.com/display/OpenJDK/Picking3dAPI

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psafrata Pavel Šafrata
                Reporter:
                psafrata Pavel Šafrata
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: