glotzerlab / plato

Efficient visualization of particle data supporting several rendering engines.
https://plato-draw.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

Tweak SSAO depth calculation in vispy backend #43

Closed klarh closed 5 years ago

bdice commented 5 years ago

This is what I see right now on Windows. image

klarh commented 5 years ago

Seeing jaggies with SSAO and not FXAA on is expected (since the automatic antialiasing from the opengl driver gets disabled), but that doesn't look like it's computing anything at all. Is that file somewhere so I can compare with linux?

klarh commented 5 years ago

After chatting with Bradley offline, that particular issue was due to z-fighting for a large scene. I don't think SSAO use is very prevalent right now, so this change can only improve things. I'll go ahead and merge.