We saw a lot in this chapter. We introduced a couple of advanced geometries and showed you how you can create and render text elements with Three.js. We showed you how you can create really beautiful shapes using advanced geometries such as
THREE.LatheGeometry and how can you experiment with these geometries to get the results you’re looking for. A very nice feature is that we can also convert existing SVG paths to Three.js using
We’ve also quickly looked at a couple of geometries that are very useful for debugging purposes.
THREE.EdgesGeometry shows just the edges of another geometry, and
THREE.WireframeGeometry can be used to show the wireframe of some other geometry.
Finally, if you want to create 3D text, Three.js provides
TextGeometry, where you can pass in a font that you want to use. Three.js comes with a couple of fonts, but you can also create your own fonts. However, remember...