Texture extraction fixes

- we now initialize the texture map with zeros
- first shot at an algorithm to not extract invisible triangles