Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123737

occlusion culling fails to work correctly on pure 2d shapes scene with 3d transform

XMLWordPrintable

      Attached is a test case to illustrate the occlusion culling bug. The bug appears when rect (with 3d translation) is placed after circ:

              Group group = new Group(circ, rect, circSlider);

      The green circle should be rendered in front of the black rectangle. The circle should be translated in X across the black rectangle as you move the slider. But it disappeared the moment the slider is moved.

      Switching the order between circ and rect in Group or turn dirtyopts to false workaround the problem.

            ckyang Chien Yang (Inactive)
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: