[vtkusers] Antialiasing questions on 8.1.0.rc2

Ken Martin ken.martin at kitware.com
Fri Dec 8 08:54:42 EST 2017


See this post

https://blog.kitware.com/new-fxaa-anti-aliasing-option-in-paraviewvtk/

which talks about using FXAA in Paraview, but the support is built into VTK
via

https://www.vtk.org/doc/nightly/html/classvtkRenderer.html#a3f46ed85e17e5e297e6c3b02be07ebba

Other options include SSAA an example of which is shown here

https://github.com/Kitware/VTK/blob/master/Rendering/OpenGL2/Testing/Cxx/TestSSAAPass.cxx

Both should be faster than the old AAFrames approach. FXAA will be very
fast, almost free, SSAA will be slower than FXAA and depends on its
settings, as it is a more brute force approach,. But even SSAA should be
faster than the old AA frames approach.

Thanks!
Ken


On Thu, Dec 7, 2017 at 4:51 PM, Langer, Stephen A. (Fed) <
stephen.langer at nist.gov> wrote:

> Hi --
>
> I'm trying out 8.1.0.rc2 and it says that antialiasing with
> vtkRenderWindow::SetAAFrames is deprecated, so I tried using
> SetMultiSamples instead.   If I set a non-trivial number of samples before
> the first call to Render, it works, but if I change the the number of
> samples and call Render again, it has no effect.  Is this expected?  Do I
> have to do something else to get the sampling to change?  This is using
> vtkCocoaRenderWindow.
>
> Is there a different substitute for SetAAFrames?  SetMultiSamples also has
> no effect on a Linux VM where I'm using vtkXOpenGLRenderWindow.  I'm
> guessing that's because the VM has no hardware graphics acceleration.  Is
> there a non-deprecated replacement for SetAAFrames that doesn't rely on
> hardware?
>
> Thanks.
>
>  -- Steve
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171208/cffd6b9e/attachment.html>


More information about the vtkusers mailing list