JDK-8090485 : Need to define 3D clip behavior for picking
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2013-02-20
  • Updated: 2018-09-05
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Description
It is unclear how clip should work in 3D. Currently, picking works this way: pick the node normally on its pickRay intersection if there is any intersection with the clip node, regardless of the mutual position of the node and its clip.

Is this the right way? How should clip behave for 3D primitives?

Right now there is also inconsistency with 2D rendering - when a 2D node has a 2D clip which is translated along Z axis, the node is not rendered, but it is picked. After the behavior of the clip is specified, make sure that this inconsistency is removed (one way or other).

Comments
Picking should work consistently with rendering, so I pushed a temporary code that ignores 3D clips during picking and bounds computing (RT-33297). There are two FIXMEs in the Node code (the RT-28510 number is contained in the comments) that should be removed (and perhaps the code around tweaked) based on the result of this issue.
25-11-2013

3D clip isn't a supported feature for JavaFX 8.
01-10-2013

Is this going to happen for Lombard? Otherwise I should start reimplementing picking according to the current rendering behavior..
06-09-2013

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