added uv unwarp export
This commit is contained in:
@@ -118,12 +118,18 @@ def test_manifest_writes_without_export(revision_dir: Path, tmp_path: Path) -> N
|
||||
assert loaded["sensor"] == "finger"
|
||||
assert loaded["revision"] == "r01"
|
||||
assert loaded["profile"] == "compute"
|
||||
assert loaded["expected_artifacts"] == [
|
||||
assert loaded["expected_artifacts"][:4] == [
|
||||
"mesh.npz",
|
||||
"housing.npz",
|
||||
"camera_intrinsics.npz",
|
||||
"world_to_cam.npy",
|
||||
]
|
||||
# The unwarp/valid-mask map is built by the export itself (SDK precompute); listing it
|
||||
# makes a missing mask fail the export instead of shipping a bundle that renders grey.
|
||||
# Its name embeds the profile's source_scale (`scaled_map_cache_path`), so match the
|
||||
# family rather than one pinned value.
|
||||
map_name = loaded["expected_artifacts"][4]
|
||||
assert map_name.startswith("unroll_map_uv_s") and map_name.endswith(".npz")
|
||||
assert loaded["source_blend"].endswith("geometry.blend")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user