-
Bug
-
Resolution: Not an Issue
-
P3
-
fx2.0
-
Product: javafx-2.0beta
Platform: windows-i586
Build-Number: 2421
Build-ID: 2011-07-14_16-18-57
To produce predictable results of placing 3D objects into 2D scene and 2D objects developer needs coordinates conversion API.
It looks like the existing localToScene and sceneToLocal methods doesn't take PerspectiveCamera into account and doesn't provide correct position of 3D point onto 2D scene coordinate space.
Run the attached sample that illustrates it - green rectangle suppose to follow red one as to obtains its coordinates using localToScene method. However, they meet only when z=0.
It looks like the existing localToScene and sceneToLocal methods doesn't take PerspectiveCamera into account and doesn't provide correct position of 3D point onto 2D scene coordinate space.
Run the attached sample that illustrates it - green rectangle suppose to follow red one as to obtains its coordinates using localToScene method. However, they meet only when z=0.
- relates to
-
JDK-8093761 localToScene and sceneToLocal don't work in dynamic 3D
- Closed