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

Images cannot be animated smoothly

    XMLWordPrintable

Details

    Description

      If you animate an image slowly you will notice that this movement doesn't appear to be smooth. With the default settings the image jumps from pixel to pixel instead of beeing interpolated for sub-pixel positions which would be necessary for a smooth movement. This is true for the interior of the image as well as its border.

      The behaviour is different if you activate the new PRISM rendering pipeline. With PRISM activated the image interior is now animated smoothly but the border is still jumping from pixel to pixel. So there still seems to be something wrong with the border processing (clipping ?).

      In the attached example this bug is demonstrated. If you run the example with PRISM you will see the border jumping. If you click on the image with the mouse the current image is exchanged for another one which has a border of transparent pixels. For this second image the movement is smooth which demonstrates that there is somehting wrong with the border handling.

      Attachments

        1. Main.fx
          2 kB
        2. image2.png
          image2.png
          270 kB
        3. image1.jpg
          image1.jpg
          95 kB

        Issue Links

          Activity

            People

              flar Jim Graham
              dpausjfx Dr. Michael Paus (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: