JDK-8110741 : Effect, with Z-order enabled, breaks on Group with 3D transformed children.
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-02-28
  • Updated: 2015-06-16
  • Resolved: 2011-10-12
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.0.2Fixed
Related Reports
Blocks :  
Blocks :  
Duplicate :  
Description
Effect is broken on Group with 3D transformed children when z-order is enabled. Attached is a simple test program to illustrate the visual bug.

The rendering looks correct, if the following 2 code statements, in the test program, is enabled:
 
        // To reproduce the bug comment out the 2 lines below:
	// group.setRotationAxis(Rotate.Y_AXIS);
        // group.setRotate(-20);


Comments
SQE: verified on 2.0.2 b08
11-11-2011

Fixed with changeset: changeset: 14640:a856dac8867e date: Wed Oct 12 12:25:42 2011 -0700 summary: Fix RT-11509: Effects incompatible with Depth Testing
12-10-2011

Approved at deferral review meeting on 8/12/11
12-08-2011

SQE: ok to defer
04-08-2011

The problem is related to optimizations to directly render a node on top of its drop shadow rather than making an image (texture) out of it and then combining them manually before rendering to the screen. The problem with that optimization is that the drop shadow would be rendered with a simple Z=0 for every pixel and the group's contents would then be rendered on top of it with Z ordering, which would most likely mean most of the content would fall behind the drop shadow itself. The fix is to selectively disable that optimization when depth buffers are being used...
30-07-2011

I've attached images I get with the latest presidio-graphics-scrum: Product: javafx-2.0beta Platform: windows-i586 Build-Number: 2445 Build-ID: 2011-07-18_11-22-38 So this issue is about the screenshot-2.jpg that produces completely black shape, is that right? BTW. I don't see if it somehow connected to the original issue RT-5421.
19-07-2011