Is this possible create a Bounding Box which Slices/Scrapes the 3DModel in three js?

Hello everyone,
I’m trying to create a bounding box that covers the model and lets users resize it by dragging its edges. Also as the user drags the edge it also slices the model. (etc: if drags the edge until the middle of it then the rest of the model won’t be seen).
This youtube video demonstrates the idea after 2:14
I know there are Box3 and Box3Helper classes but as far as I know, they just cover the model. However, I need it to be resizable and functional.
Would appreciate it If anyone gives me an idea

You can use stencil buffers to achieve the effect in the video – there’s an example here:

Also see

1 Like

thanks for the answer this was what I’ve been looking for