Skip to content

Fixed blackening when setting segment opacity in 3D viewer.#857

Open
loximann wants to merge 1 commit into
nroduit:masterfrom
loximann:master
Open

Fixed blackening when setting segment opacity in 3D viewer.#857
loximann wants to merge 1 commit into
nroduit:masterfrom
loximann:master

Conversation

@loximann

Copy link
Copy Markdown

There was an artifact causing segments to become black when lowering their opacity in the 3D viewer:

Weasis.before_fix.mp4

This is the behaviour after the fix:

Weasis.after_fix.mp4

The reason was that the renderer expects the RGB values in straight form, and the composition was done treating them as pre-multiplied.

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.

1 participant