<div dir="ltr">Wide lines on some systems require a geometry shader. Maybe that is causing the issue. VTK uses some shader name replacements to handle that there may, or may not be a geometry shader in the mix which is how it handles wide lines. Maybe take a look at the default shaders (vert,frag,geom) for both the normal and wide line case in a running VTK and work from there.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 21, 2018 at 11:08 AM, Neher, Peter <span dir="ltr"><<a href="mailto:p.neher@dkfz-heidelberg.de" target="_blank">p.neher@dkfz-heidelberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:10pt;color:#000000;background-color:#ffffff;font-family:Arial,Helvetica,sans-serif">
<p>Hi everyone,</p>
<p><br>
</p>
<p>I am trying to render a polydata in a QVTKOpenGLWidget with thick lines (actor property line width) in conjunction with my own shader code. Since we switched from QVTKWidget to QVTKOpenGLWidget this results in black lines (no color and/or lighting). Everything
works fine if the line with is 1.0. For line width > 1.0, the shader seems to do nothing.</p>
<p><br>
</p>
<p>Shader code is attached, as well as two images of depicting the issue.</p>
<p><br>
</p>
<p>Any help is much appreciated!</p><span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<p>Peter <br>
</p>
<div id="m_6233908953522590575Signature">
<div name="divtagdefaultwrapper">
<div name="divtagdefaultwrapper" style="margin:0px">
<div name="divtagdefaultwrapper" style="margin:0px">
<div name="divtagdefaultwrapper" style="margin:0px">
<div class="m_6233908953522590575BodyFragment">
<div class="m_6233908953522590575PlainText"></div>
</div>
</div>
</div>
</div>
<font face="Arial,Helvetica,sans-serif"></font></div>
</div>
</font></span></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/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><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></div></div></div>
</div>