Texturing an object