pub fn write_artifact( tmp_root: &Path, relative: &Path, scene: &BakeScene, grids: &[Grid], samples: u32, seed: u32, ) -> Result<Manifest, String>