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

New extract_texture(...) is missing alpha-channel weighting #308

Open
patrikhuber opened this issue May 31, 2020 · 0 comments
Open

New extract_texture(...) is missing alpha-channel weighting #308

patrikhuber opened this issue May 31, 2020 · 0 comments
Labels
devel-branch Issues affecting only the devel branch. enhancement

Comments

@patrikhuber
Copy link
Owner

In the devel branch, in 08cba28, I replaced the old extract_texture(...) with the newer v2::extract_texture(...), and made the new one the default by removing the v2:: from the namespace. See the commit messages of 08cba28 and 8fd1735 for more information.

The thing to note here is that the new function does not (yet) support computing and outputting the view-angle based weighting, which was previously output in the alpha channel. This has to be re-added. To be consistent with the old implementation, the visibility in the 4th channel was 0=invis, 255=visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devel-branch Issues affecting only the devel branch. enhancement
Projects
None yet
Development

No branches or pull requests

1 participant