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

Clipping map plane #53

Open
slukiceng opened this issue Feb 17, 2023 · 1 comment
Open

Clipping map plane #53

slukiceng opened this issue Feb 17, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@slukiceng
Copy link

slukiceng commented Feb 17, 2023

Hi there I'm looking for a way to add the map to a plane and then clip the plane to a set of map bound coordinates (the idea being to be able to rotate and pan around an area and visualise some below ground data). Is this supported by the library, I've been trying out multiple approaches and getting nowhere?

@tentone tentone added the help wanted Extra attention is needed label Feb 18, 2023
@tentone
Copy link
Owner

tentone commented Feb 18, 2023

Hello

This can be achieved using three.js clipping volumes. Define a box model to clip the map object.

https://threejs.org/examples/#webgl_clipping_advanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants