6
Exploring Advanced Geometries
In Chapter 5, Learning to Work with Geometries, we showed you all the basic geometries provided by Three.js. Besides these basic geometries, Three.js also offers a set of more advanced and specialized objects.
In this chapter, we’ll show you these advanced geometries:
- How to use advanced geometries such as THREE.ConvexGeometry, THREE.LatheGeometry, THREE.BoxLineGeometry, THREE.RoundeBoxGeometry, THREE.TeapotGeometry, and THREE.TubeGeometry.
- How to create 3D shapes from 2D shapes using THREE.ExtrudeGeometry. We’ll create a 3D shape from a 2D SVG image, and we will extrude from 2D Three.js shapes to create novel 3D shapes.
- If you want to create custom shapes yourself, you can continue playing with the ones we’ve ...
Get Learn Three.js - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.