Bug 1325

Summary: JoglPipeline.resetRenderingAttributes does not call gl.glDisable(GL.GL_STENCIL_TEST);
Product: Java3D Reporter: Phil Jordan <p.j.nz>
Component: coreAssignee: Phil Jordan <p.j.nz>
Status: RESOLVED FIXED    
Severity: minor CC: gouessej
Priority: P4    
Version: 2.4.0   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: TRUE

Description Phil Jordan 2016-10-17 05:29:41 CEST
JoglPipeline.resetRenderingAttributes does not call 
gl.glDisable(GL.GL_STENCIL_TEST);

If the previous updateRenderingAttributes() call has enabled this function, then an appearance that has a null RenderingAttributes will not clear the stencil function and hence incorrectly apply the same stencil values to the next draw call.
Comment 1 Phil Jordan 2016-10-17 05:31:17 CEST
A work around to this bug is to simply set a RenderingAttributes to all Appearance objects
Comment 2 Phil Jordan 2016-10-26 02:01:31 CEST
Fixed in branch 1.7.0