JDK-8114034 : Shape with clip set to true doesn't render correctly with perspective transform and depth test
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-07-20
  • Updated: 2015-06-16
  • Resolved: 2012-02-28
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.1Fixed
Related Reports
Blocks :  
Blocks :  
Description
Please see the test program, ClipWithDepth.java, in runtime/toys/ZBufferTest to understand the bug. Notice that the Red Text isn't render correctly, and commenting out the following line fixes the problem:

//        redText.setClip(new Rectangle(0,0,200,100));

Comments
Verified that this is fixed.
27-03-2012

Fixed with changeset: changeset: 15618:d08bc65034c3 date: Fri Feb 24 12:53:29 2012 -0800 summary: Fix RT-15181: Shape with clip does not render correctly with perspective transform.
28-02-2012

Too late for 2.0.2. Not a regression from 2.0. We will fix this in 2.1.
28-10-2011

SQE - ok to defer. Please target to lombard
01-09-2011

RELEASE NOTE TEXT: Clipping is not well implemented for 3D transformed node. This is a known perspective rendering bug for 3D transformed node with depth test set to true.
31-08-2011

Attached a screenshot of the clipping bug. Note that the RED is not rendered prespective corrected and it is not in between the BLUE and GREEN rects.
31-08-2011

Attached a simple test program to illustrate the clipping bug.
31-08-2011

This prevents the text strings in all controls from being properly rendered with a 3D transform.
21-07-2011