Created
December 13, 2019 09:10
-
-
Save lucasdidthis/da6118989398f558e76531ca41f1b9a9 to your computer and use it in GitHub Desktop.
JS-function to show the wireframe of an object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wireframe = new THREE.WireframeGeometry( geometry ); | |
line = new THREE.LineSegments( wireframe ); | |
line.material.depthTest = false; | |
line.material.opacity = 0.6; | |
line.material.transparent = true; | |
scene.add( line ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment