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

MeshView displays bad TriangleMesh when the TriangleMesh's points and faces are modified.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • 8
    • javafx
    • Product: javafx-8.0.0ea
      Platform: windows-amd64
      Build-Number: 1256
      Build-ID: 2013-05-31_16-22-05

      Run the attached java program.

      Press "3" to modify the triMesh's points and faces with the points and faces of a smaller mesh. You should see that MeshView displays a bad mesh. This problem doesn't happen when the triMesh's points and faces are modified with the points and faces of a bigger mesh (press "4").

      There is a workaround for this, although non ideal if the triangle mesh is modified frequently. The workaround to this problem is to create a new TriangleMesh and fill it with the desired points and faces (press "1" or "2").

        1. diff.diff
          1 kB
          Alexander Kuznetcov
        2. SimpleTriangleMeshSizeChangeViewerApp.java
          11 kB
          Alex Lee

            yaow Yao Wang (Inactive)
            aleejfx Alex Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: