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
          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

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

              Created:
              Updated:
              Resolved:
              Imported: