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

3D to 2D coordinates conversion API is needed

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: fx2.0
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      To support successful position of 3D objects within 2D scene and to support successful mix of 2D and 3D components within a single scene, coordinates conversion API is needed.

      It seems that the minimal necessary amount of methods are these two:
      - PerspectiveCamera.localToScene(Node node, Point2D point) converting 2D point (z = 0) in given node local coordinates into into 2D point on projection plane (z = 0)
      - PerspectiveCamera.SceneToLocal(Node node, Point2D point) converting 2D point on projection plane into 2D point on the z = 0 plane of the given node local coordinates.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nlisker Nir Lisker
              Reporter:
              mrkam Alexander Kuznetcov (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: