completed naive rasterization