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

Blur areas with missing data? #15

Open
qrisse opened this issue Nov 16, 2020 · 3 comments
Open

Blur areas with missing data? #15

qrisse opened this issue Nov 16, 2020 · 3 comments

Comments

@qrisse
Copy link

qrisse commented Nov 16, 2020

This library is awesome. Some images are not very suitable to use for Fake3d though, and you get a double image effect in areas with missing data. Right now I put a limit on the vertical and horizontal thresholds but I have noticed that Facebook blurs these parts rather than showing the same data twice, which works rather well to a certain extent. Is it possible to do something similar with this code?

@akella
Copy link
Owner

akella commented Nov 16, 2020

this code meant to be a simple example of effect. What you are saying is also doable, but quite specific, so you need to work that out yourself with help of fragment shaders, you can learn them here https://thebookofshaders.com/

@Yukiniro
Copy link

Yukiniro commented Sep 5, 2024

This library is awesome. Some images are not very suitable to use for Fake3d though, and you get a double image effect in areas with missing data. Right now I put a limit on the vertical and horizontal thresholds but I have noticed that Facebook blurs these parts rather than showing the same data twice, which works rather well to a certain extent. Is it possible to do something similar with this code?

Same problem. Is there some resolutions?

@akella
Copy link
Owner

akella commented Sep 6, 2024

unfortunately this requires specific solutions for different images, not possible with this demo

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

No branches or pull requests

3 participants