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

Change to PointLight? Objects are lit differently/some objects get no light.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 8
    • javafx

      I just upgraded to Build 94 from 89 and one issue I get is with the PointLight I have added to my Root Group.

      http://i1139.photobucket.com/albums/n551/ThekonradZuse/Coding/Lightissue_zps82e2d766.png

      The objects on the right, the display, and the shelf do get some light; however the 3D object I use does not. I will go back to build 89 to get additional screen shots if needed, but everything used to be so bright.

       private PointLight addLight(Group root)
          {
            PointLight light = new PointLight();

             root.getChildren().add(light);
              light.setTranslateX(1000);
              light.setTranslateY(1000);
              light.setTranslateZ(-100000);
              
              return light;
          }

      I have it far away because I didn't want the radial light to show, I just wanted light. Now I don't notice I change between -1000 and -10000, but if I go to -100 or lower it's just BLACK.

            ckyang Chien Yang (Inactive)
            jorsawjfx Jay Orsaw (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: