3D object histograms