Optical properties of anisotropic 3D nanoparticles arrays