Rasterizing with z-buffer working