Simplest example with Drei sampler

<Sampler>
  <mesh geometry={nodes.anyOneMesh.geometry} scale={0.1}>
    <meshStandardMaterial color="blue" wireframe />
  </mesh>
</Sampler>

like @donmccurdy said, the MeshSurfaceSampler operates on one single mesh. not a group, or a mesh inside an empty mesh (like in your example). a mesh in threejs has a geometry and a material, if it doesn’t it’s basically a group.

if you want to sample the whole model with all its parts you have to join and possibly bake materials into one in blender.

1 Like