generate a texture seamless for 3d rendu from an image