In Three.js is there a simple way of adding a wireframe on top of a geometry? I want it to be able to go on/off, and move with the original geometry. Thanks in advance.
Asked
Active
Viewed 186 times
0
-
Duplicate of https://stackoverflow.com/q/31539130/1461008 – WestLangley Mar 08 '19 at 12:13
1 Answers
1
Yes, you can use THREE.WireframeGeometry for this. A WireframeGeometry
can be used to create an instance of THREE.LineSegments
that can be added as a child to your actual 3D object. In this way, it keeps the transformation of its parent. Check out the following demo to see this approach in action:

Mugen87
- 28,829
- 4
- 27
- 50