JDK-8123973 : Picking doesn't work with parallel camera where Z != 0
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-02-18
  • Updated: 2015-06-17
  • Resolved: 2013-02-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
If any node has Z != 0 (either a 3D shape or 2D node transformed out of the XY plane), with parallel camera the node is either not picked at all, or is picked in a wrong area and with wrong local coordinates.

This issue is closely related to RT-24646 (3D-picking) and RT-28129 (local 3D coordinates with perspective camera).

Comments
Unit tests: javafx/scene/Mouse3DTest/shouldPickBoxByParallelCameraFromFront javafx/scene/Mouse3DTest/shouldPickBoxByParallelCameraFromBack javafx/scene/Mouse3DTest/shouldNotPickBoxByParallelCameraFromFrontNextToIt javafx/scene/Mouse3DTest/shouldPickBoxByParallelCameraFromInside javafx/scene/Mouse3DTest/shouldPickBoxByParallelCameraFromBehind javafx/scene/Mouse3DTest/shouldPickSphereByParallelCameraFromInside javafx/scene/Mouse3DTest/shouldPickSphereByParallelCameraFromBehind javafx/scene/Mouse3DTest/shouldPickCylinderByParallelCameraFromInside javafx/scene/Mouse3DTest/shouldPickCylinderByParallelCameraFromBehind javafx/scene/Mouse3DTest/shouldPickMeshXYByParallelCamerFromBehind javafx/scene/Mouse3DTest/shouldPickMeshGeneralByParallelCameraFromBehind javafx/scene/Mouse3DTest/shouldPickRectTranslatedAlongZByParallelCamera javafx/scene/Mouse3DTest/shouldPickRectRotatedIn3DByParallelCamera
18-02-2013

Fixed by changesets b1e1caf6c52d (rt) and 449dc17bc8de (rt-closed).
18-02-2013

The push 897ef4f2b18e (see RT-5475) should eliminate any significant slowdown caused by switching to the 3D picking.
18-02-2013

The most natural solution is to merge the two existing picking approaches and use the 3D pick-ray-based picking for parallel camera.
18-02-2013