Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] SSAA Implementation - Window.py -> Scene #853

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Sparsh-N
Copy link

Added implementation of SSAA (Screen-Space Anti-Aliasing) to Scene in window.py, and added the necessary OpenGL classes in lib.py.

SSAA can be more computationally expensive than other forms of anti-aliasing, but gives an improvement to visual quality. There is potential for future improvement. Since SSAA is implemented in Scene alongside FXAA, we propose that MSAA be moved to Scene as well if possible.

One currently known issue is with line rendering, which is especially prevalent with wireframes. In some scenes, wireframe objects did not render when SSAA was turned on, and it may potentially thin other lines regardless of set line width. Will look into further.

As a side note, when testing we ran into a weird bug with wireframe rendering. It is an issue with the VTK shader implementation that made it compile improperly on some GPUs, and has been fixed in the most recent version of VTK (9.3) in case someone else runs into the problem as well.

Contributors: Luke Nargang and Sparsh Nair

Sparsh-N and others added 2 commits December 11, 2023 22:27
SSAAPass requires interaction with multiple vtk pass classes. Added all of the needed passes to lib,py for use in FURY
@pep8speaks
Copy link

pep8speaks commented Dec 12, 2023

Hello @Sparsh-N, Thank you for updating!

Cheers! There are no style issues detected in this Pull Request. 🍻 To test for issues locally, pip install flake8 and then run flake8 fury.

Comment last updated at 2023-12-12 03:57:20 UTC

@Sparsh-N Sparsh-N marked this pull request as draft December 12, 2023 03:53
@Sparsh-N Sparsh-N changed the title SSAA Implementation - Window.py -> Scene [WIP] SSAA Implementation - Window.py -> Scene Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants