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

Image + 3D object issue. In my case Box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • 8
    • 8
    • javafx
    • NetbeansLamba8 Windows 7 64-bit

    Description

      I was trying to see how an image would work Box, and at first it wasn't working with any of the paths specified by the Image class. Finally I tried the image path found in the tutorials of Oracle that links to the JavaFX image on the site.

      When I set all of the image maps(bump, diffuse,specular) it would throw the image into all 6 sides, but horribly choppy. When I would try to rerun it it would break and the image would not show. If I changed the image path(I would just switch from fx- to f-x, so it didn't lik to another image) ran it, changed it back to fx- and ran it again it would work once more, another run it would break again.

          Image image = new Image("http://docs.oracle.com/javafx/javafx/images/javafx-documentation.png");

      final PhongMaterial red = new PhongMaterial();
              

              
            red.setDiffuseMap(image);
            red.setSpecularMap(image);
            red.setBumpMap(image);

      Attachments

        Issue Links

          Activity

            People

              yaow Yao Wang (Inactive)
              jorsawjfx Jay Orsaw (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: