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

Add customizable background #32

Open
darbyjohnston opened this issue Jun 7, 2022 · 1 comment
Open

Add customizable background #32

darbyjohnston opened this issue Jun 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@darbyjohnston
Copy link
Owner

Both background color and checkers pattern.

@darbyjohnston darbyjohnston added the enhancement New feature or request label Jun 7, 2022
@ggarra13
Copy link
Contributor

It should be three things: transparent, solid color and checkers pattern. That's what I have in my tlRender branch.

Note that I found two things with your current implementation:

  • ui::checkers() with p.render->drawColorMesh() does not work on macOS (it seems macOS does not support colored VBOs?)
  • With your Qt and GLFW sample code, your compositing doubles the alpha channel. In mrv2, I separated the code to a separate offscreen buffer to avoid that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants