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

Anchoring a section plane to a coordinate #442

Open
romainbigare opened this issue Jan 30, 2025 · 0 comments
Open

Anchoring a section plane to a coordinate #442

romainbigare opened this issue Jan 30, 2025 · 0 comments
Labels
❓ question Further information is requested

Comments

@romainbigare
Copy link

Hi Jesus,

Thanks for all the work you've put in Threebox. It has been very useful for an internal app we're building.

We're trying to implement a section tool, and it appears that we cannot add a clipping plane (THREE.Plane()) to tb, via tb.Object3D() or tb.add(). I'm assuming it's because a THREE.Plane is more of a math concept than a 3D geometry.

This has the unfortunate consequence that the clipping plane does not pan with the rest of the view. So when the map is panned, the clipping planes start cutting other things.

Is there any ways around this in tb, where the clipping plane would stay fixed ?

You can see a very simple reproduction of that issue here :
https://codesandbox.io/p/sandbox/vue-threebox-sample-forked-qtf92k

Image Image
@romainbigare romainbigare added the ❓ question Further information is requested label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant