Add visual blockout pipeline

This commit is contained in:
Meta Vens 2026-05-03 14:34:50 +01:00
commit 139902246e
15 changed files with 1447 additions and 8 deletions

View file

@ -0,0 +1,556 @@
{
"schema_version": "ghostlight.visual_blockout_plan.v0",
"blockout_plan_id": "pallas-species-strikes-service-ring-kappa-blockout-v0",
"fixture_id": "pallas-species-strikes-branch-and-fold-v0",
"visual_plan_ref": "examples/visual/pallas-species-strikes.branch-and-fold.v0.visual.json",
"purpose": "Geometry-backed blockout plan for Service Ring Kappa. This is a spatial guide for illustrated IF image references, not a semantic segmentation mask.",
"layout": {
"layout_id": "service_ring_kappa",
"layout_asset": "experiments/blender/pallas-species-strikes/service-ring-kappa.blockout.blend",
"coordinate_system": "Blender default: Z up. The service lane runs along +Y, manifold wall sits on -X, baseline anchor rail sits on +X, supervisor catwalk is elevated on +X, and the Kappa crawl throat is near +Y.",
"scale_notes": "One Blender unit is treated as one meter. Human proxies are roughly 1.7-1.9 units tall; Teth's proxy occupies a low horizontal work-support volume roughly 2.4m by 1.4m by 1.1m.",
"source_refs": [
"examples/lore-grounding/pallas-species-strikes.awakened-labor.v0.json",
"examples/visual/pallas-species-strikes.branch-and-fold.v0.visual.json"
]
},
"semantic_materials": [
{
"material_id": "shell_aggregate",
"display_name": "Bloom shell aggregate",
"base_color": [
0.28,
0.25,
0.22,
1
],
"intended_read": "Curved engineered habitat shell built from consolidated asteroid rubble/aggregate and dark TCS substrate.",
"use_in_prompt": "Treat as rough engineered inner shell, not a solid natural asteroid cave."
},
{
"material_id": "manifold_amber",
"display_name": "Amber manifold wall",
"base_color": [
1,
0.55,
0.08,
1
],
"intended_read": "Pipe-and-panel manifold wall with route screens, valves, pressure gauges, and diagnostic touch panels.",
"use_in_prompt": "Preserve location and broad amber industrial glow; imagegen may reinterpret material detail."
},
{
"material_id": "anchor_orange",
"display_name": "Baseline anchor rail",
"base_color": [
0.95,
0.32,
0.08,
1
],
"intended_read": "Bolted rail, hooks, tethers, and baseline rigger work zone.",
"use_in_prompt": "Preserve rail side, hooks, and worker blocking."
},
{
"material_id": "supervisor_blue",
"display_name": "Supervisor catwalk and screens",
"base_color": [
0.15,
0.42,
1,
1
],
"intended_read": "Raised open supervisor catwalk with waist-high transparent safety rail and blue-white management displays.",
"use_in_prompt": "Preserve elevation, open catwalk geometry, and blue authority-screen field."
},
{
"material_id": "crawl_red",
"display_name": "Kappa crawl throat",
"base_color": [
0.95,
0.06,
0.04,
1
],
"intended_read": "Dark gasket-rimmed crawl opening and red-alert focal hazard.",
"use_in_prompt": "Preserve as circular/oval tunnel mouth with red warning emphasis."
},
{
"material_id": "teth_blue_gray",
"display_name": "Teth and cephalopod work-support rig",
"base_color": [
0.18,
0.32,
0.42,
1
],
"intended_read": "Cephalopod body and open dry-operation work-support frame.",
"use_in_prompt": "Preserve nonhuman horizontal body volume and open work-support object class."
},
{
"material_id": "worker_gray",
"display_name": "Engineered seal technicians",
"base_color": [
0.55,
0.58,
0.58,
1
],
"intended_read": "Clean gray engineered-worker skinsuits and coordinated line posture.",
"use_in_prompt": "Preserve approximate worker cluster placement; do not rely on color as a model-readable label."
},
{
"material_id": "rigger_brown_orange",
"display_name": "Baseline anchor riggers",
"base_color": [
0.62,
0.28,
0.1,
1
],
"intended_read": "Patched brown-orange baseline rigger jackets, hooks, gloves, and magnetic boots.",
"use_in_prompt": "Preserve rigger cluster near anchor rail."
}
],
"geometry_modules": [
{
"module_id": "curved_service_lane_shell",
"object_class": "room_shape",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "service_ring_shell",
"parameters": {
"length": 18,
"radius": 4.2,
"arc_degrees": 130,
"rib_count": 18
},
"material_id": "shell_aggregate",
"notes": "Curved shell, deck floor, support ribs, and overhead pipe spine."
},
{
"module_id": "kappa_crawl_throat",
"object_class": "cutout_proxy",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "crawl_throat",
"parameters": {
"position": [
0,
8.2,
1.15
],
"radius": 1.15,
"depth": 0.35
},
"material_id": "crawl_red",
"notes": "Visible oval tunnel mouth; boolean cutting can be added after the first blockout."
},
{
"module_id": "manifold_wall",
"object_class": "prop_cluster",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "manifold_wall",
"parameters": {
"position": [
-3,
1,
1.25
],
"length": 11,
"pipe_count": 8,
"panel_count": 6
},
"material_id": "manifold_amber",
"notes": "Repeated pipes, rectangular panels, valve disks, and screen blocks on the -X wall."
},
{
"module_id": "baseline_anchor_rail",
"object_class": "prop_cluster",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "anchor_rail",
"parameters": {
"position": [
2.9,
0,
0.55
],
"length": 12,
"hook_count": 5
},
"material_id": "anchor_orange",
"notes": "Bolted rail with hook proxies and tethers on the +X side."
},
{
"module_id": "supervisor_catwalk",
"object_class": "elevated_platform",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "supervisor_catwalk",
"parameters": {
"position": [
3.1,
3.2,
2.75
],
"length": 6.5,
"width": 1.5,
"rail_height": 0.9
},
"material_id": "supervisor_blue",
"notes": "Open elevated platform, transparent safety rail proxy, and blue screen slabs."
},
{
"module_id": "cephalopod_work_support_station",
"object_class": "species_affordance_prop",
"script_ref": "scripts/blender/build_visual_blockout.py",
"geometry_script_tree": "cephalopod_work_support_station",
"parameters": {
"position": [
1.8,
4.7,
0.95
],
"width": 2.5,
"depth": 1.6,
"height": 1.2
},
"material_id": "teth_blue_gray",
"notes": "Open work-support frame with contact-band arcs, oxygenation tubes, and radial tool rails."
}
],
"proxy_actors": [
{
"actor_id": "lio_vale",
"visual_ref": "visual_character_refs.characters.lio_vale",
"proxy_shape": "humanoid_capsule_with_slate",
"material_id": "worker_gray",
"default_position": [
0,
3.2,
0.9
],
"default_rotation": [
0,
0,
0
],
"scale": [
0.5,
0.35,
1.75
],
"notes": "Center-lane organizer proxy with small slate block."
},
{
"actor_id": "ilya_marne",
"visual_ref": "visual_character_refs.characters.ilya_marne",
"proxy_shape": "humanoid_capsule_supervisor",
"material_id": "supervisor_blue",
"default_position": [
3.2,
3.4,
3.65
],
"default_rotation": [
0,
0,
-1.5708
],
"scale": [
0.45,
0.35,
1.85
],
"notes": "Elevated on catwalk, visible above waist rail."
},
{
"actor_id": "nara_7",
"visual_ref": "visual_character_refs.characters.nara_7",
"proxy_shape": "slender_humanoid_capsule",
"material_id": "worker_gray",
"default_position": [
-2.15,
3.85,
0.85
],
"default_rotation": [
0,
0,
1.5708
],
"scale": [
0.4,
0.3,
1.7
],
"notes": "Placed near manifold with hand-facing wall posture."
},
{
"actor_id": "orrin_dax",
"visual_ref": "visual_character_refs.characters.orrin_dax",
"proxy_shape": "broad_humanoid_capsule_with_hook",
"material_id": "rigger_brown_orange",
"default_position": [
2.25,
2.35,
0.95
],
"default_rotation": [
0,
0,
-1.5708
],
"scale": [
0.62,
0.42,
1.8
],
"notes": "At anchor rail with a hook proxy."
},
{
"actor_id": "teth_inkwise",
"visual_ref": "visual_character_refs.characters.teth_inkwise",
"proxy_shape": "cephalopod_mantle_with_tentacle_curves",
"material_id": "teth_blue_gray",
"default_position": [
1.45,
5,
1
],
"default_rotation": [
0,
0,
0
],
"scale": [
1.6,
1.05,
0.8
],
"notes": "Horizontal mantle proxy with tapering tentacle curves inside open work-support station."
}
],
"cameras": [
{
"camera_id": "cam_yard_wake_wide",
"visual_scene_ids": [
"pallas_yard_wake",
"pallas_service_ring_kappa",
"pallas_ordinary_round_choice"
],
"position": [
0,
-7,
2.4
],
"rotation": [
1.22,
0,
0
],
"target": [
0,
4.2,
1.7
],
"lens_mm": 24,
"shot_role": "wide establishing/service lane orientation",
"framing_notes": "Shows shell curve, manifold wall, anchor rail, work-support bay, catwalk, and crawl throat in one readable room."
},
{
"camera_id": "cam_teth_work_support_medium",
"visual_scene_ids": [
"pallas_teth_dry_operation",
"pallas_teth_harness_check",
"pallas_bypass_kit"
],
"position": [
2.75,
3.35,
1.55
],
"rotation": [
1.3,
0,
2.15
],
"target": [
1.55,
4.95,
1.25
],
"lens_mm": 28,
"shot_role": "cephalopod work-support station medium shot",
"framing_notes": "Centers Teth, support loops, oxygenation tubes, radial tool rails, and Lio's inspection position without making the equipment read as containment."
},
{
"camera_id": "cam_ilya_arrival_low",
"visual_scene_ids": [
"pallas_ilya_arrival",
"pallas_quiet_safety_pause",
"pallas_formalize_stoppage"
],
"position": [
0.15,
0.9,
1.25
],
"rotation": [
1.18,
0,
-0.45
],
"target": [
3.15,
3.35,
3.35
],
"lens_mm": 28,
"shot_role": "low floor view toward raised supervisor catwalk",
"framing_notes": "Catwalk must read as open platform with rail, not glass booth or tank."
},
{
"camera_id": "cam_climax_decision_line",
"visual_scene_ids": [
"pallas_climax_decision_line",
"pallas_hold_for_recognition",
"pallas_trade_bypass_for_evidence",
"pallas_red_alert_worker_judgment"
],
"position": [
-1.4,
0.8,
1.55
],
"rotation": [
1.25,
0,
-0.2
],
"target": [
1.2,
4.75,
1.4
],
"lens_mm": 30,
"shot_role": "crowded decision-line ensemble",
"framing_notes": "Keeps Lio center, Ilya elevated, Nara at manifold, Orrin at rail, Teth foreground-right work-support station, and crawl throat visible."
},
{
"camera_id": "cam_object_callback_alcove",
"visual_scene_ids": [
"pallas_object_callback"
],
"position": [
0.1,
6.8,
1.25
],
"rotation": [
1.38,
0,
-2.65
],
"target": [
2.4,
5.4,
0.9
],
"lens_mm": 50,
"shot_role": "quiet object callback close shot",
"framing_notes": "Frames coffee mug, repaired contact band, oxygenation tube, and background manifold touch ritual."
}
],
"guide_renders": [
{
"render_id": "pallas_yard_wake.blockout",
"camera_id": "cam_yard_wake_wide",
"visual_scene_id": "pallas_yard_wake",
"render_modes": [
"flat_material",
"clay",
"depth_optional"
],
"output_refs": [
"experiments/blender/pallas-species-strikes/renders/pallas_yard_wake.blockout.png"
],
"imagegen_reference_use": "Use as spatial/camera reference for shell, service-lane curve, catwalk, anchor rail, manifold, and empty pre-shift infrastructure."
},
{
"render_id": "pallas_teth_dry_operation.blockout",
"camera_id": "cam_teth_work_support_medium",
"visual_scene_id": "pallas_teth_dry_operation",
"render_modes": [
"flat_material",
"clay",
"depth_optional"
],
"output_refs": [
"experiments/blender/pallas-species-strikes/renders/pallas_teth_dry_operation.blockout.png"
],
"imagegen_reference_use": "Use as spatial/camera reference for Teth's open work-support station and nonhuman body affordance."
},
{
"render_id": "pallas_ilya_arrival.blockout",
"camera_id": "cam_ilya_arrival_low",
"visual_scene_id": "pallas_ilya_arrival",
"render_modes": [
"flat_material",
"clay",
"depth_optional"
],
"output_refs": [
"experiments/blender/pallas-species-strikes/renders/pallas_ilya_arrival.blockout.png"
],
"imagegen_reference_use": "Use as spatial/camera reference for Ilya entering from an open catwalk above the floor."
},
{
"render_id": "pallas_climax_decision_line.blockout",
"camera_id": "cam_climax_decision_line",
"visual_scene_id": "pallas_climax_decision_line",
"render_modes": [
"flat_material",
"clay",
"depth_optional"
],
"output_refs": [
"experiments/blender/pallas-species-strikes/renders/pallas_climax_decision_line.blockout.png"
],
"imagegen_reference_use": "Use as spatial/camera reference for the ensemble decision-line shot and large object positions."
},
{
"render_id": "pallas_object_callback.blockout",
"camera_id": "cam_object_callback_alcove",
"visual_scene_id": "pallas_object_callback",
"render_modes": [
"flat_material",
"clay",
"depth_optional"
],
"output_refs": [
"experiments/blender/pallas-species-strikes/renders/pallas_object_callback.blockout.png"
],
"imagegen_reference_use": "Use as spatial/camera reference for the small aftermath object composition."
}
],
"prompt_use_contract": {
"reference_image_role": "Blockout guide render is a spatial/camera reference, not a segmentation mask or exact color contract.",
"must_preserve": [
"camera angle and broad composition",
"room shell curve and large object placement",
"relative positions of named actors and worker clusters",
"Teth's open work-support object class",
"Ilya's open raised catwalk object class"
],
"may_reinterpret": [
"surface detail density",
"exact material finish",
"lighting texture",
"painterly stroke treatment",
"small pipe and cable routing"
],
"must_not_assume": [
"semantic colors are a reliable label language for imagegen",
"the blockout replaces character refs or prose prompt text",
"a new camera angle can preserve geometry without a matching blockout camera"
]
}
}

View file

@ -1,6 +1,7 @@
{
"schema_version": "ghostlight.ink_visual_plan.v0",
"visual_plan_id": "pallas-species-strikes-branch-and-fold-visual-v0",
"blockout_plan_ref": "examples/visual-blockouts/pallas-species-strikes.service-ring-kappa.v0.blockout.json",
"ink_ref": "examples/ink/pallas-species-strikes.branch-and-fold.v0.ink",
"source_training_annotation_ref": "examples/ink/pallas-species-strikes.branch-and-fold.v0.training.json",
"scene_id": "pallas-species-strikes-branch-and-fold-v0",