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

FX 8.0 3D: MeshView.setMesh() on update isn't working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • javafx

    Description

      I have a simple test program, MeshViewer.java, in toys/FX8-3DAPI to illustrate this bug. The reproduce the bug simply uncomment the following commented out lines and comment out "computeMesh(...) in MeshViewer.java:

                              // File: This is a bug.
      // triMesh = buildTriangleMesh(10, 10, 0.5f, 1);
      // meshView.setMesh(triMesh);
                              computeMesh(120, 120, 0.5f);

      Then compile and run the program. You should see a rectangular mesh rendered in line mode. If you press "1" you should expect to see a less tessellated mesh but you see nothing.

      Attachments

        Activity

          People

            kprazdnikwse Kirill.Prazdnikov (Inactive)
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: