generate mtl file too