Re: SSAA and FXAA
Allie Vacanti via vtkusers <[email protected]> Thu, 7 Mar 2019 03:57:42 -0500
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CA+=e1ou9h8_NR29g3Ba5sG823pSTJ3b=-DtNOG5VXU1wxuPzNg@mail.gmail.com> |
On Wed, Mar 6, 2019 at 2:24 PM chung <[email protected]> wrote: > Thanks for the response Allie. I tried the default options prior to > tweaking > the numbers Ok, just wanted to make sure :) > The documentation indicated that a max peel of 0 means no maximum number of > peeling layers. Again I only changed it to zero because the default setting > did not work for me. Ah, yes, you are correct -- I forgot about that. > I also verified the code execution of FXAAFilter inside > vtkOpenGLRender::UpdateGeometry() by stepping through code. This is very strange. While stepping through the rendering code, was anything rendered during the opaque/translucent passes on the renderer that called FXAA? You can step through vtkOpenGLRenderer::UpdateGeometry() to check this. If your data is volumetric or rendered in the overlay pass, FXAA is applied before those passes and won't affect them. It doesn't look like your scene is set up that way in your attached image, but it's something to check. If you're building your own VTK, you can also try running the FXAA test interactively and see if it's being applied there. Enable testing in CMake and run bin/vtkRenderingOpenGL2CxxTests TestFXAAFilter -I from the build directory. This renders the same scene twice, side-by-side. One side has FXAA applied, the other does not. Is there a noticeable difference? _______________________________________________ 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: https://vtk.org/mailman/listinfo/vtkusers