Skip to content

tmp fix for alpha by inverting mask of default: - #9

Draft
Shreeyak wants to merge 1 commit into
masterfrom
alpha-temp-fix
Draft

tmp fix for alpha by inverting mask of default: #9
Shreeyak wants to merge 1 commit into
masterfrom
alpha-temp-fix

Conversation

@Shreeyak

Copy link
Copy Markdown
Contributor

When locations is enabled, the alpha map is all white, because the background is geometry (not hdri).

  • Alpha map is obtained by inverting the "default" segment in the cryptomatte manifest (which includes all the background geometry, for now).
  • changed the masks for each obj to be floating point. added method to extract alpha

Warning: lots of methods tried, code complex. Needs a refactor.

Refer to: https://github.com/Synthesis-AI-Dev/convert_exr2png/issues/49

@Shreeyak
Shreeyak marked this pull request as draft February 23, 2021 21:29
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