Add 3d sample selection