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 stencil #21

Open
wwjje opened this issue Jan 2, 2025 · 3 comments
Open

clipping stencil #21

wwjje opened this issue Jan 2, 2025 · 3 comments

Comments

@wwjje
Copy link

wwjje commented Jan 2, 2025

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

image
sectionBox fill
Have you considered implementing this feature?

@mavimaec
Copy link

mavimaec commented Jan 3, 2025

Yes, this is something we would like to tackle in the future (but we can't provide a timeline right now).

@wwjje
Copy link
Author

wwjje commented Mar 14, 2025

You seem to have updated SectionBox,Can we add the reverse?To reverse, set materials.clipIntersection to true, and then loop through materials.clippingPlanes with p.negate().But after reversing, it seems that section.stroke is missing, and I don't know how to modify it to display it

Image

Image

@wwjje
Copy link
Author

wwjje commented Mar 14, 2025

Is clipping stencil included in the development plan? This is an example of Threejs: https://threejs.org/examples/#webgl_clipping_stencil

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

2 participants