JDK-8099880 : Resolve grouping semantic for opacity or effects with 3D transforms
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx1.3
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2009-07-31
  • Updated: 2015-06-16
  • Resolved: 2011-03-14
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
fx2.0Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Relates :  
Relates :  
Description
Applying an effect or opacity<1 to a Group or CustomNode will cause their children to be rendered into an image prior to applying the effect or blending operation. If any of the children has a 3D transform, the rendered image will lose all 3D information. There may be alternative semantics we can use for opacity, but effects are inherently 2D, image-based operations.

There are two main consequences of this issue:

1) The transformed shapes in the graph will be rendered as it if they were 2D, since they must be projected into a 2D plane in order to render them into an image.

2) We will lose any depth information needed for Z-buffering

Note that applying an effect or opacity<1 on a leaf node will not have this issue.

At a minimum we need to:

A) document the rendering semantic of effect on Group/CustomNode
B) document the rendering semantic of opacity on Group/CustomNode
Comments
We have good understanding and agreement on this topic. We just need to document this in the API document.
14-03-2011

Both issues, RT-11509 and RT-11510, on Effect need to be addressed as part of the resolving and understanding the grouping semantic.
28-02-2011

Since 3D will be in early access for Soma, we will defer the resolution of this issue until Presidio.
11-11-2009