Problem with displaying the line segments
Posted by
world on
Apr 24, 2017; 12:39pm
URL: https://forum.jogamp.org/Problem-with-displaying-the-line-segments-tp4037890.html
Test scene consists of 2 cubes: one inside another.
Each cube is displayed with 6 rectangular boundary faces and 12 edges.
Scene 1:
Green external cube, blue internal cube, white edges, white background.
Scene is displayed correctly.
Scene 2:
Transparent green external cube (alpha=128), transparent blue internal cube (alpha=128), white edges, white background.
Bug: all edges are not displayed.
Scene 3:
Transparent green external cube (alpha=128), transparent blue internal cube (alpha=128), white edges, black background.
Bug: some edges are displayed irregularly with changing the brightness.

See BasicBox.java attached below.
Note 1:
Test platform is Windows-8, 64 bit, java-8u112, java3d-1.6.0-final, jogl-2.3.2.
Note 2:
On previous configuration with java3d-1.5.2 all scenes are displayed correctly in all cases:
frame of edges is displayed with clear white lines both for external and (in transparent case) internal objects.