JDK-8124030 : Image + 3D object issue. In my case Box
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2013-03-17
  • Updated: 2015-06-17
  • Resolved: 2013-07-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Blocks :  
Blocks :  
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);
Comments
I will try and replicate the problem, but honestly not too sure if I will need that route since I'll be using 3d objects and the importer for jdk8 just came out.
06-04-2013

Could you please attach a screenshot of what you've observed? You could also try an ImageView with the same image to separate 3D problem with image loading problem. Thank you!
05-04-2013