donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.15k stars 539 forks source link

clipping box #381

Closed joch04 closed 2 weeks ago

joch04 commented 2 weeks ago

maybe adding a cipping box would be useful for architects to see inside the building

donmccurdy commented 2 weeks ago

Hi! Sorry this is not a feature I'm planning to add to the viewer, but there are three.js examples if anyone would like to do a custom version:

https://threejs.org/examples/?q=clip#webgl_clipping_intersection