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

Polygon mesh shaded rendering fails in 3DViewer from graphics build 1795 onward

XMLWordPrintable

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

      Polygon mesh (not triangle mesh, although it uses triangle meshes) rendering in 3DViewer fails in graphics builds 1795 to 1813, except in wireframe mode.
      It works in both wireframe and shaded mode in graphics builds 1771 to 1794.

      It works in non "Load as Polygons" in all builds although the rendering is faceted
      (the faceted rendering may be a 3DViewer non-polygon-mesh shading issue? i'm not sure).

      Here's the commit at which polygon mesh shaded rendering started failing in 3DViewer:
      Build #1795 (Oct 8, 2013 9:44:00 AM)
      RT-26587: 3D Data validation AND RT-30451: FX 8 3D: Need to validate Mesh's data size
      Summary: Validate input data during FX->NG sync stage. AND Need to validate the size and range of these arrays.

      Here's the warning message I get at runtime:
      "Oct 11, 2013 9:22:03 AM javafx.scene.shape.TriangleMesh validateFaceSmoothingGroups
      WARNING: faceSmoothingGroups.length has to equal to number of faces."

      It seems that its related to the mesh validation issue that we came across before JavaOne.

      I've attached the file it fails on.

      Note that in 3DViewer, you need to open the menu in the upper left and turn on "Load as Polygons" to see this issue.

            jyoon John Yoon (Inactive)
            jyoon John Yoon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: