...

/

Geometries We Can Use for Debugging

Geometries We Can Use for Debugging

Learn how to use THREE.EdgesGeometry and THREE.WireframeGeometry for debugging purposes.

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.

The

...