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

Add Z depth sorting (Z-buffering) to JavaFX

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx1.2
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      1) We need to add Z-buffering to JavaFX for sorting objects by depth when using 3D transforms.

      May consider adding the ability to enable Z-buffer on Node. This will allow the support of underlay, overlay and depth sorted rendering.

      2) Resolve semantics of mixing Z depth sorting with rendering order.

      The current "depth" order for 2D objects is a strict painters algorithm where the last thing rendered ends up on top. There are scene graph operations to send a node to the front or back of the Z stack by moving it to the end or beginning of the rendering order. We need to rationalize this with 3D depth sorting (e.g., with a Z-buffer), taking into account transparency.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 weeks
                  2w
                  Remaining:
                  Time Spent - 1 week, 2 days Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - 1 week, 2 days Remaining Estimate - 4 hours Time Not Required
                  1w 2d