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

DisplacementMap with wrap mode doesn't wrap the full image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • fx1.3
    • javafx
    • None

      Recently DisplacementMap was fixed to deal properly with the padding used in textures in the Decora system (see RT-5843), but there was a small discrepancy left when the wrap mode is set to true. Basically the samples near the borders should blend from one border to the wrapped border on the far side, but there is no convenient support for this in the Decora framework so as a workaround they jump suddenly from the center of a pixel on one border to the center of the pixel on the far border.

      This has 2 small problems:

      - There is no smooth transition between the edges, they simply jump.
      - The border pixels are under-represented in the output (only contributing by half as much to the samplings as the other pixels)

      Some changes are needed in the Decora framework to fix this problem and it is not often noticed so the priority of this bug is being set to minor.

            Unassigned Unassigned
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: