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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • 8.0-graphics-scrum-b1274-x64, WIndows 7 x64

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: