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

transparency: too much overlapping #309

Open
Tracked by #256
toloudis opened this issue Apr 24, 2023 · 1 comment
Open
Tracked by #256

transparency: too much overlapping #309

toloudis opened this issue Apr 24, 2023 · 1 comment
Assignees

Comments

@toloudis
Copy link
Contributor

toloudis commented Apr 24, 2023

Use Case

When PDB geometry is rendered, there are so many overlapping spheres that the alphas accumulate to essentially be totally opaque. They don't look transparent. This can happen with any type of geometry but PDBs are easy to see the problem.

Acceptance Criteria

I'm not sure what we want it to look like exactly but perhaps clamping alpha to some small value will be sufficient. We want roughly the frontmost faces of an agent to show transparency and hide the complexity of the possible transparent layers behind it. At least on a per agent basis but possibly globally.

Details

Let RGB blend as normal with SRC_ALPHA, 1-SRC_ALPHA, but don't blend alpha the same way. Alpha could use ONE, ZERO blending to just write the incoming alpha value.

@toloudis
Copy link
Contributor Author

Part of acceptance criteria: show results and evaluate quality. Decide whether more work is needed.

@blairlyons blairlyons moved this to 🌳 Backlog in Simularium Planning May 30, 2023
@jsavieo jsavieo moved this from 🌳 Backlog to 🏃 In Progress in Simularium Planning Jul 25, 2023
@ascibisz ascibisz moved this from 🏃 In Progress to 🏁 Ready for work in Simularium Planning Jun 11, 2024
@ascibisz ascibisz moved this from 🏁 Ready for work to 🌳 Backlog in Simularium Planning Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🌳 Backlog
Development

No branches or pull requests

2 participants