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

Image + 3D object issue. In my case Box

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: