improoved polygon rendering