JDK-8102150 : Need to define parallel camera position for picking
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-02-20
  • Updated: 2015-06-16
  • Resolved: 2013-10-24
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
Blocks :  
Blocks :  
Description
Right now, parallel camera has no specific position along Z axis, all nodes are rendered regardless of how far they are translated into negative values along Z axis. For picking this means:
* We support "bidirectional pick ray", which picks also nodes "behind" the pick ray origin
* PickResult for parallel camera contains always distance=infinity
We need to define if this is the way we want it. If so, this issue can be closed. In case we want to change the parallel camera to have a specific position and render only nodes in front of it, we can remove the bidirectional pick ray feature and we can also report the concrete distance.

This should be resolved as soon as possible because it affects public API.
Comments
Will add this specification into the javadoc for ParallelCamera
24-10-2013

We (Kevin, Pavel and I) decided to specify the local z value of a ParallelCamera is computed as the same as the default PerspectiveCamera with a 30 degrees vertical field of view. Hence the PickResult.intersectedDistance, for a ParallelCamera, is the shortest distance between the intersected point and the Z plane where the camera position is in.
24-10-2013

Assigning to Chien until the decision is made. Chien, please assign back to me when the behavior is specified.
21-02-2013