Geometries We Can Use for Debugging
Learn how to use THREE.EdgesGeometry and THREE.WireframeGeometry for debugging purposes.
We'll cover the following...
We'll cover the following...
Three.js comes with two helper geometries out of the box that make it easier to see the details or just the outline of a geometry:
THREE.EdgesGeometry
provides a geometry that only renders the edges of a geometry.THREE.WireframeGeometry
renders just the geometry without showing any faces.
First, let’s look at THREE.EdgesGeometry
.