[vtk-developers] Anti-aliasing / multi sampling turned off in VTK 6.2?

Kilgus, Thomas t.kilgus at Dkfz-Heidelberg.de
Wed Apr 22 10:43:56 EDT 2015


No, just the regular VTK example. Is this feature working for you?

Thomas

Von: David Lonie [mailto:david.lonie at kitware.com]
Gesendet: Mittwoch, 22. April 2015 16:34
An: Kilgus, Thomas
Cc: vtk-developers at vtk.org
Betreff: Re: [vtk-developers] Anti-aliasing / multi sampling turned off in VTK 6.2?

Are you using offscreen rendering, by any chance? There is a known issue that the MultiSampling options are not currently respected for some offscreen window implementations.

Dave

On Wed, Apr 22, 2015 at 9:57 AM, Kilgus, Thomas <t.kilgus at dkfz-heidelberg.de<mailto:t.kilgus at dkfz-heidelberg.de>> wrote:
Hi everyone,

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:
  actor->GetProperty()->SetRepresentationToWireframe();

I figured out that anti-aliasing can be enabled again with:
  renderWindow->SetLineSmoothing(1);

The following call, which I would assume to be necessary, has no effect:
  renderWindow->SetMultiSamples(8);

I could not find anything in the documentation about this. Is this change desired? Is this a bug?

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.

Regards,
Thomas


[1] http://vtk.1045678.n5.nabble.com/Anti-aliasing-multi-sampling-in-QVTKWidget2-td5730077.html
[2] http://review.source.kitware.com/#/c/18864/
[3] http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL


Thomas Kilgus
German Cancer Research Center (DKFZ)
Div. Medical and Biological Informatics
Junior group: Computer-assisted Interventions (E131)
Im Neuenheimer Feld 280
69120 Heidelberg, Germany
Phone: +49(0) 6221-42-3545<tel:%2B49%280%29%206221-42-3545>


_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150422/7c301dc8/attachment.html>


More information about the vtk-developers mailing list