parsing materials and multiple materials for one mesh