# Advice for high-quality anti-aliased lines + volume rendering

**URL:** https://discourse.vtk.org/t/advice-for-high-quality-anti-aliased-lines-volume-rendering/2141
**Category:** Support
**Created:** [November 25, 2019, 1:35pm UTC](https://discourse.vtk.org/t/advice-for-high-quality-anti-aliased-lines-volume-rendering/2141 "2019-11-25T13:35:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![allison.vacanti](https://discourse.vtk.org/user_avatar/discourse.vtk.org/allison.vacanti/32/679_2.png) [@allison.vacanti](https://discourse.vtk.org/u/allison.vacanti)
#### Post date: [November 25, 2019, 9:07pm UTC](https://discourse.vtk.org/t/advice-for-high-quality-anti-aliased-lines-volume-rendering/2141/2 "2019-11-25T21:07:41Z")

</div>

FXAA is bad at handling thin lines, but this looks especially wrong. Are you configuring the render window without an alpha channel? The “steps” of the anti-aliased line edge should be dropping off in opacity to give a smooth appearance, but they seem to be maintaining uniform opacity. What is the output of `renWin->Print(std::cout);` (or `print(renWin)` on python)?

If MSAA and FXAA aren’t working, there’s also `vtkSSAAPass` that does super-sampled anti-aliasing. It’s an expensive option, but might work better for you.

---

_[View the full topic](https://discourse.vtk.org/t/advice-for-high-quality-anti-aliased-lines-volume-rendering/2141)._
