if (scene.materials() > 0){
if (m.faceMats() > 0){
//Just take the first material in the mesh, it could have more but we dont support more than 1 material for a mesh
// materialIndexForMesh = m.faceMat(0).matIndex();
Material3ds mat = scene.material(sceneMaterialID);
String materialName = mat.name();
if (debug)
logger.debug("Material name for mesh \"" + mesh.getName() + ":-> \"" + materialName + "\"");
materialName.trim();
materialName.toLowerCase();