Keep scene anchors out of POV foreground
This commit is contained in:
@@ -6018,6 +6018,8 @@ def smoke_insta_pair_camera_split() -> None:
|
||||
_expect("back-right quarter view" in hard_scene, "hard camera scene missed hard orbit direction")
|
||||
_expect("low-angle shot" in soft_scene, "soft camera scene missed soft elevation")
|
||||
_expect("elevated shot" in hard_scene, "hard camera scene missed hard elevation")
|
||||
_expect("near desk edge" in soft_scene, "non-POV camera scene lost coworking foreground anchor")
|
||||
_expect("laptop corner" in soft_scene, "non-POV camera scene lost coworking foreground detail")
|
||||
_expect("front-right quarter view" in str(pair.get("softcore_camera_directive")), "soft pair camera directive was not preserved")
|
||||
_expect("back-right quarter view" in str(pair.get("hardcore_camera_directive")), "hard pair camera directive was not preserved")
|
||||
soft_row = pair.get("softcore_row") or {}
|
||||
@@ -6065,9 +6067,19 @@ def smoke_pov_camera_scene() -> None:
|
||||
scene_directive = _expect_text("pov_camera_scene.hard_camera_scene", hard_row.get("camera_scene_directive"), 40)
|
||||
_expect("from POV" in scene_directive, "POV camera scene should be marked as first-person")
|
||||
_expect("not in the lower foreground" in scene_directive, "POV camera scene should keep location anchors out of lower foreground")
|
||||
_expect(
|
||||
"near desk edge" not in scene_directive and "laptop corner" not in scene_directive and "chair back" not in scene_directive,
|
||||
"POV camera scene should not reuse coworking foreground anchors as viewer-side objects",
|
||||
)
|
||||
_expect(
|
||||
"lower foreground is reserved for POV body or hand cues" in scene_directive,
|
||||
"POV camera scene should reserve the lower foreground for first-person body cues",
|
||||
)
|
||||
krea = krea_formatter.format_krea2_prompt("", metadata_json=_json(pair), target="hardcore")
|
||||
prompt = krea.get("krea_prompt") or ""
|
||||
_expect("from POV" in prompt, "Krea POV prompt lost camera-scene directive")
|
||||
_expect("laptop corner" not in prompt, "Krea POV prompt leaked foreground desk anchor into camera scene")
|
||||
_expect("lower foreground is reserved for POV body or hand cues" in prompt, "Krea POV prompt lost POV foreground reservation")
|
||||
_expect("Camera:" not in prompt, "Krea POV prompt should not emit normal third-person camera directive")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user