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

Wrong alpha channel on exported frames from renderer #858

Open
MathiasPaulin opened this issue Jan 19, 2022 · 0 comments
Open

Wrong alpha channel on exported frames from renderer #858

MathiasPaulin opened this issue Jan 19, 2022 · 0 comments
Assignees
Labels
Engine Related to Ra::Engine enhancement Type of issue/PR: enhancement

Comments

@MathiasPaulin
Copy link
Contributor

MathiasPaulin commented Jan 19, 2022

When exporting a frame from the renderer, the alpha-channel is the one resulting from the rendering of objects. When the scene contains transparent objects, or when the exported frame is a wireframe rendering, this results in images that do not display as expected.
To be able to display the image on any background (e.g. when included in a pdf to prevent black background), keeping alpha value of 0 where no objects are drawn is mandatory but not for any other values.

The following image show this problem :
alphawrong

What is expected is the following :
alphacorrect

To better see the problem, just open the above png pictures with gimp or any display program.

The PR #857 fixes this.

@MathiasPaulin MathiasPaulin self-assigned this Jan 19, 2022
@MathiasPaulin MathiasPaulin added Engine Related to Ra::Engine enhancement Type of issue/PR: enhancement labels Jan 19, 2022
@MathiasPaulin MathiasPaulin linked a pull request Jan 19, 2022 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine Related to Ra::Engine enhancement Type of issue/PR: enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant