Photospheric magnitude diagrams for type II supernovae : a promising tool to compute distances