Meshes are the visible shapes in your 3D scene. They combine geometry (the shape) and material (how it looks).
SphereGeometry
with BoxGeometry
or TorusGeometry
to see different shapes.
SphereGeometry()
creates a round ball shape.MeshStandardMaterial()
responds to lighting for realism.Mesh()
combines geometry and material into a renderable object.PointLight
adds a glowing light source.rotation.y
makes the object spin on its vertical axis.