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

3D to 2D coordinates conversion API is needed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • fx2.0
    • javafx

      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.

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

              Created:
              Updated:
              Imported: