<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1325</bug_id>
          
          <creation_ts>2016-10-17 05:29:41 +0200</creation_ts>
          <short_desc>JoglPipeline.resetRenderingAttributes does not call  gl.glDisable(GL.GL_STENCIL_TEST);</short_desc>
          <delta_ts>2019-03-29 14:19:17 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>General</classification>
          <product>Java3D</product>
          <component>core</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Phil Jordan">p.j.nz</reporter>
          <assigned_to name="Phil Jordan">p.j.nz</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>TRUE</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5953</commentid>
    <comment_count>0</comment_count>
    <who name="Phil Jordan">p.j.nz</who>
    <bug_when>2016-10-17 05:29:41 +0200</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5954</commentid>
    <comment_count>1</comment_count>
    <who name="Phil Jordan">p.j.nz</who>
    <bug_when>2016-10-17 05:31:17 +0200</bug_when>
    <thetext>A work around to this bug is to simply set a RenderingAttributes to all Appearance objects</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5969</commentid>
    <comment_count>2</comment_count>
    <who name="Phil Jordan">p.j.nz</who>
    <bug_when>2016-10-26 02:01:31 +0200</bug_when>
    <thetext>Fixed in branch 1.7.0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>