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

feature: before/after slider #81

Open
tlambert03 opened this issue Jan 8, 2025 · 4 comments
Open

feature: before/after slider #81

tlambert03 opened this issue Jan 8, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@tlambert03
Copy link
Member

talking with @fjug: we should have a little interactive handle on the canvas that you can slider to see image A / image B... for before/after comparisons

@gselzer
Copy link
Collaborator

gselzer commented Jan 8, 2025

Can you elaborate on what this means? Two different datasets?

@tlambert03
Copy link
Member Author

tlambert03 commented Jan 8, 2025

one of these things:

dsm-before-after-image-slider-demo-min

in practice, it would likely mean having two canvases, primed with either two different datasets, or the same dataset but with different display/slicing settings, with a canvas object that the user can interact with that apply's clipping planes to the scenes

(it would not be a trivial feature)

@gselzer
Copy link
Collaborator

gselzer commented Jan 8, 2025

Ah, gotcha, that makes much more sense. Thanks!

in practice, it would likely mean having two canvases...

Hmm, would one canvas make things easier? Might be better performance, less signal traffic, and easier pan/zoom...

@tlambert03
Copy link
Member Author

Hmm, would one canvas make things easier?

yes, sorry, you're absolutely right, I misspoke. one canvas, one scene even. two textures with clipping planes

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