Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8098881 Support 3D perspective transforms for existing 2D JavaFX objects
  3. JDK-8099880

Resolve grouping semantic for opacity or effects with 3D transforms

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0
    • fx1.3
    • javafx

      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

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

              Created:
              Updated:
              Resolved:
              Imported:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified