Material indices added for sphere and plane mesh.