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.09k stars 534 forks source link

option to display black wireframe on main model #277

Closed jlp1528 closed 2 years ago

jlp1528 commented 2 years ago

I am working on a project dealing with various polyhedra. In this particular application, the wireframe option could be used to make edges more clear on complex shapes, but currently checking wireframe turns off display of the main model. Is it possible to display a completely black wireframe with the main model to serve as edges for clarity?

donmccurdy commented 2 years ago

Hi, thanks for opening this issue. I don't think additional display modes (like an overlay wireframe) would be within the scope I want to support on this viewer. I'd like to keep the viewer pretty simple, both to keep it an easy-to-understand example of using three.js, and also to have time to work on other things. You can certainly set up an overlay wireframe in a custom viewer though using three.js though.