Describir: Origin of band gaps in 3d perovskite oxides