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

Make it easy to exclusively render one data layer #3896

Closed
georgwiese opened this issue Mar 14, 2019 · 1 comment · Fixed by #4061
Closed

Make it easy to exclusively render one data layer #3896

georgwiese opened this issue Mar 14, 2019 · 1 comment · Fixed by #4061
Assignees

Comments

@georgwiese
Copy link
Contributor

Currently, multiple color layers have an opacity slider. What's rendered is a weighted sum of the two color layers. Sliders can be moved independently.

In our use case, where we have the raw data and the predictions as an RGB color layer, this doesn't really make sense, as can be seen here

I believe we should enforce that the sum of weights equals 1. I see two options:

  • When sliding one slider, automatically adjust the others.
  • Fix the ordering of color layers, then implement a behavior as in Photoshop, where some layers are on top of others.

However, this solution might not work for fluorescence data where layers are mapped to different colors and then are added with weight 1. Not sure how to solve this.

@philippotto
Copy link
Member

We discussed that the actual use case of the issue is to quickly toggle the visibilities between layers. We agreed on using ctrl+click-on-visibility-check to make the clicked layer exclusively visible.

@philippotto philippotto changed the title Improve Blending of multiple color layers Make it easy to exclusively render one data layer May 2, 2019
philippotto added a commit that referenced this issue May 8, 2019
…ing visibility (#4061)

* allow to make a layer exclusively visible by pressing ctrl when changing the visibility (fixes #3896)

* change ctrl toggle behavior to match gimps behavior

* update changelog and docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants