Creating the texture atlases