working test rasterize and triangulate