Project 7: Composed Mesh Object
3D Engineer
Builds on these lessons
Step 1 of 2
Project
Composing a Mesh from Parts
A single visual object is often several meshes grouped together — here, a cylinder 'plate' and a sphere 'dish' combined.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
export default function Scene() {
return (
<Canvas>
<ambientLight intensity={0.7} />
<group>
<mesh position={[0, 0.3, 0]}>
<cylinderGeometry args={[1, 1, 0.2, 32]} />
<meshStandardMaterial color="tan" />
</mesh>
<mesh position={[0, 0.6, 0]}>
<sphereGeometry args={[0.4, 32, 32]} />
<meshStandardMaterial color="firebrick" />
</mesh>
</group>
</Canvas>
);
}