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

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

    XMLWordPrintable

    Details

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

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: