<div dir="ltr">Basically it is OpenGL, in that OpenGL doesn't automatically tessellate concave polygons. Making VTK always examine every polygon to determine if it is  concave would be a performance hit for everyone, so we leave it up to developers to use a triangle filter if they need it. <div><br></div><div>Thanks</div><div>Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 9:11 AM, Stefan Melber <span dir="ltr"><<a href="mailto:Stefan.Melber@dlr.de" target="_blank">Stefan.Melber@dlr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="m_-7630672803956935750moz-cite-prefix">Hi Martin,<br>
      <br>
      i tried the triangle filter in all cases - and yes - i works in
      all three cases. <br>
      <br>
      So is this "problem" of concave polygons inside VTK or in OpenGL?
      <br>
      <br>
      Best regards,<br>
      <br>
            Stefan<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I'm not sure if this is your issue, but you might
        try using a triangle filter on your data. For OpenGL we do not
        guarantee correct rendering of concave polygons. The triangle
        filter will convert a concave polygon into convex triangles
        which should render correctly.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Oct 18, 2016 at 2:20 AM, Stefan
          Melber <span dir="ltr"><<a href="mailto:Stefan.Melber@dlr.de" target="_blank">Stefan.Melber@dlr.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote">
            <div> Hi,<br>
              <br>
              i found a rendering problem with cuts through polyhedral
              cells depending on which rendering backend is used. For
              example in PV 5.1.2 compiled with<br>
              <br>
              VTK_RENDERING_BACKEND = OpenGL<br>
              <br>
              a cut looks like error.opengl.v5_1_2.png - there is a
              wrong shading and some facets coming from the wrong
              starting point.<br>
              <br>
              Switching to OpenGL2 everything is fine
              (error.opengl2.v5_1_2.png). This problem is the same with
              ParaView 5.2.0RC1 and OpenGL or OpenGL2 - however there
              seems to be an additional (smaller) problem using OpenGL2:
              there are some lines drawn outside of the shell - see
              error.opengl2.v5_2_0rc1.png (cutted on a different
              position).<br>
              <br>
              The example cell is for testing is attached as "error.vtk"
              - cut e.g. in x-direction on different positions to get
              the described effects.<br>
              <br>
              Best regards,<br>
              <br>
                     Stefan<br>
              <br>
              <br>
              System:<br>
              o OpenSuse Tumbleweed <br>
              o Kernel: 4.7.6-1<br>
              o Linux 64 bit<br>
              o NVidia Quadro 4000 / NV Driver v367.44<br>
              <br>
              <br>
              <br>
              <tt>==============================<wbr>==============================<wbr>====</tt><tt><br>
              </tt><tt>                              <wbr>                            
                      </tt><tt><br>
              </tt><tt>                     _/             <b>Dr.
                  Stefan Melber-Wilkending</b></tt><tt><br>
              </tt><tt>                   _/_/                          
                               </tt><tt><br>
              </tt><tt>                 _/  _/             Deutsches
                Zentrum für Luft-  </tt><tt><br>
              </tt><tt>         _/_/_/_/_/_/_/_/_/_/         und
                Raumfahrt e.V. (DLR)   </tt><tt><br>
              </tt><tt>       _/    _/    _/   
                _/                            <wbr>          </tt><tt><br>
              </tt><tt>     _/    _/    _/    _/             German
                Aerospace Center    </tt><tt><br>
              </tt><tt>   _/_/_/_/_/_/_/_/_/_/          <wbr>   
                Institute of Aerodynamics   </tt><tt><br>
              </tt><tt>         _/  _/  _      _               and Flow
                Technology      </tt><tt><br>
              </tt><tt>         _/_/   | \ |  |_|           Transport
                Aircraft Branch   </tt><tt><br>
              </tt><tt>         _/     |_/ |_ |
                \                             <wbr>          </tt><tt><br>
              </tt><tt>                              <wbr>          
                Lilienthalplatz 7       </tt><tt><br>
              </tt><tt> Fields of activities:                  38108
                Braunschweig</tt><tt>       <br>
              </tt><tt>                              <wbr>              
                Germany</tt><tt>             <br>
              </tt><tt> o Numerical Windtunnel
                Simulation                    <wbr>           </tt><tt><br>
              </tt><tt> o Aero-Acoustic Windtunnel Design    Phone : +49
                <a href="tel:531%2F295-2836" value="+15312952836" target="_blank">531/295-2836</a>  
              </tt><tt><br>
              </tt><tt> o Numerical Optimization             Fax. .: +49
                <a href="tel:531%2F295-2914" value="+15312952914" target="_blank">531/295-2914</a>  
              </tt><tt><br>
              </tt><tt> o Visualization Techniques                    <wbr>              
                   </tt><tt><br>
              </tt><tt> o High-Lift Aerodynamics           Email : <a class="m_-7630672803956935750m_7948770675621957978moz-txt-link-abbreviated" href="mailto:Stefan.Melber@DLR.de" target="_blank">Stefan.Melber@DLR.de</a></tt><tt><br>
              </tt><tt> o Glider-Aerodynamics           <wbr>   Web ..:
                <a class="m_-7630672803956935750m_7948770675621957978moz-txt-link-freetext" href="http://www.dlr.de/AS" target="_blank">http://www.dlr.de/AS</a></tt><tt><br>
              </tt>                              <wbr>                              <wbr>                              <wbr>                     
              <br>
              <tt>==============================<wbr>==============================<wbr>====</tt><tt><br>
              </tt><br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the ParaView Wiki
            at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
            <br>
            Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br><span class="HOEnZb"><font color="#888888">
        <div><br>
        </div>
        -- <br>
        <div class="m_-7630672803956935750gmail_signature" data-smartmail="gmail_signature">Ken
          Martin PhD
          <div>Chairman & CFO<br>
            Kitware Inc.<br>
            28 Corporate Drive<br>
            Clifton Park NY 12065<br>
            <a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a>
            <div><br>
            </div>
            <div><span>This communication,
                including all attachments, contains confidential and
                legally privileged
                information, and it is intended only for the use of the
                addressee.  Access to this email by anyone else is
                unauthorized. If you are not the intended recipient, any
                disclosure, copying,
                distribution or any action taken in reliance on it is
                prohibited and may be
                unlawful. If you received this communication in error
                please notify us
                immediately and destroy the original message. 
                Thank you.</span></div>
          </div>
        </div>
      </font></span></div>
    </blockquote>
    <p><br>
    </p>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>