<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi everyone,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>we recently switched to VTK 6.2 and there is no more anti-aliasing in any renderwindow. If you compare the output to VTK 6.1 you will see significant differences. See attached screenshot. This can be reproduced with the STL read example [3] and setting the rendering property to wireframe like this: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>  actor->GetProperty()->SetRepresentationToWireframe();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I figured out that anti-aliasing can be enabled again with:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>  renderWindow->SetLineSmoothing(1);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The following call, which I would assume to be necessary, has no effect:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>  renderWindow->SetMultiSamples(8);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I could not find anything in the documentation about this. Is this change desired? Is this a bug?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>To avoid confusion: We had a similar issue when switching to the QVTKWidget2, which we are not using now different reasons. See [1] for older mails and [2] for a patch. This seems to be another issue though.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thomas<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[1] <a href="http://vtk.1045678.n5.nabble.com/Anti-aliasing-multi-sampling-in-QVTKWidget2-td5730077.html">http://vtk.1045678.n5.nabble.com/Anti-aliasing-multi-sampling-in-QVTKWidget2-td5730077.html</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[2] <a href="http://review.source.kitware.com/#/c/18864/">http://review.source.kitware.com/#/c/18864/</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[3] <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL</a>              <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:DE'>Thomas Kilgus<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:DE'>German Cancer Research Center (DKFZ)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:DE'>Div. Medical and Biological Informatics <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:DE'>Junior group: Computer-assisted Interventions (E131)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE'>Im Neuenheimer Feld 280<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE'>69120 Heidelberg, Germany<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE'>Phone: +49(0) 6221-42-3545<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>