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.
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)
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.
- relates to
-
JDK-8115234 3DViewer fails to load some maya models
-
- Resolved
-