[vtkusers] SSAA and FXAA
Allie Vacanti
allison.vacanti at kitware.com
Thu Mar 7 03:57:42 EST 2019
On Wed, Mar 6, 2019 at 2:24 PM chung <chung at navatekltd.com> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190307/b869b425/attachment.html>
More information about the vtkusers
mailing list