Alternating Triangle Direction when triangulating a quad mesh

Something near but not like you want, see Daniel Piker solution