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

Only one structured light projector works simultaneously #50

Open
perezsolerj opened this issue Oct 26, 2015 · 0 comments
Open

Only one structured light projector works simultaneously #50

perezsolerj opened this issue Oct 26, 2015 · 0 comments
Labels

Comments

@perezsolerj
Copy link
Contributor

Due to the shaders implementation of this sensor only one structured light projector can work in each scene. In order to make more than one working at the same time array uniforms are required in the shaders so it can project multiple textures on the scene.

Depending on the GLSL version this could be done in different ways as array support for textures was introduced in GLSL 1.3 and modified in GLSL 4.00: http://stackoverflow.com/questions/12030711/glsl-array-of-textures-of-differing-size . Implementation should work in different versions, or at least don't break the current features in them.

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

No branches or pull requests

1 participant