...

/

Advanced Geometries: TeapotGeometry

Advanced Geometries: TeapotGeometry

Learn how to use TeapotGeometry and set its properties.

The TeapotGeometry

TeapotGeometry is a geometry that we can use to render, not very surprisingly, a teapot. This teapot is a standard reference model for 3D renders and has been used since 1975. For more information, you can read about the history of this model.

Using this model works in exactly the same way as all the other models we’ve seen so far:

Press + to interact
import { TeapotGeometry } from 'three/examples/jsm/geometries/TeapotGeometry'
...
const geom = new TeapotGeometry(size, segments, bottom,lid, body, fitLid, blinn)
...