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

Adding a Button to 3D scene breaks lights calculations in D3D pipeline

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      8.0-graphics-scrum-b1274-x64, WIndows 7 x64

      Description

      I've added the following code to MeshViewer.java file:

                          case " ":
                              root.getChildren().add(new Button("Button"));
                              break;

      so that when you press spacebar a button is added to the scene root and immediately lightning changes in D3D pipeline. See attached images.

        Attachments

        1. 2broken.jpg
          2broken.jpg
          61 kB
        2. 2normal.jpg
          2normal.jpg
          61 kB
        3. 3broken.jpg
          3broken.jpg
          61 kB
        4. 3normal.jpg
          3normal.jpg
          91 kB
        5. broken.jpg
          broken.jpg
          32 kB
        6. MeshViewer.java
          15 kB
        7. normal.jpg
          normal.jpg
          31 kB

          Issue Links

            Activity

              People

              • Assignee:
                ckyang Chien Yang (Inactive)
                Reporter:
                mrkam Alexander Kuznetcov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: