An AI agent skill that turns any subject into a 3D film or app
build-house-from-plan: studio floor for films cut after a build-up, softer concrete slab, lighter clash volume
Nguyen Xuan Ana834a6308265
diff --git a/plugins/build-house-from-plan/skills/build-house-from-plan/references/plan-format.md b/plugins/build-house-from-plan/skills/build-house-from-plan/references/plan-format.mdindex fb8bd46..01d3b81 100644--- a/plugins/build-house-from-plan/skills/build-house-from-plan/references/plan-format.md+++ b/plugins/build-house-from-plan/skills/build-house-from-plan/references/plan-format.md@@ -97,7 +97,8 @@ verticals vertical with lens shift. `cut` slices the house at that height abovepoché and hides the roof and ceilings. `films[]`: `{name, frames, path: [{pos, look}], lens, exposure, cut, interior, level, build_up}`.`build_up: {walls: [start, end], roof: [start, end], furnish: [start, end]}` (fractions of the film) lays the source sheeton the floor, aligned by the calibration pairs, grows the walls off its lines from the centre out, lands the roof and-brings in the furniture.+brings in the furniture. `studio: true` gives a film the same studio floor without the sheet, for a shot cut+right after a build-up.## Streetsdiff --git a/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/house_core.py b/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/house_core.pyindex ee06012..f1be5a9 100644--- a/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/house_core.py+++ b/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/house_core.py@@ -41,7 +41,7 @@ TEXTURED_MATERIALS = {"fabric_linen": ("hessian_230", 0.1, (1.0, 0.97, 0.90), 0.9, 0.12, 1.0),"fabric_rug": ("dirty_carpet", 1.0, (1.5, 1.15, 0.9), 0.2, 0.7, 1.0),"corrugated_metal": ("corrugated_iron", 1.6, (0.78, 0.80, 0.82), 0.6, 0.9, 0.9),- "concrete_slab": ("concrete_floor_02", 3.0, (0.82, 0.80, 0.77), 0.3, 0.4, 0.75),+ "concrete_slab": ("concrete_floor_02", 4.0, (0.86, 0.84, 0.80), 0.5, 0.15, 0.85),}# name: (base colour, roughness, metallic)@@ -273,8 +273,8 @@ def make_fit_zone_material(name):shader = tree.nodes["Principled BSDF"]shader.inputs["Base Color"].default_value = (*colour, 1)shader.inputs["Emission Color"].default_value = (*colour, 1)- shader.inputs["Emission Strength"].default_value = 0.8 if name == "fit_clash" else 0.08- shader.inputs["Alpha"].default_value = 0.42 if name == "fit_clash" else 0.22+ shader.inputs["Emission Strength"].default_value = 0.5 if name == "fit_clash" else 0.08+ shader.inputs["Alpha"].default_value = 0.3 if name == "fit_clash" else 0.22shader.inputs["Roughness"].default_value = 0.6return materialdiff --git a/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/render_house.py b/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/render_house.pyindex 9e994d9..3276397 100644--- a/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/render_house.py+++ b/plugins/build-house-from-plan/skills/build-house-from-plan/scripts/render_house.py@@ -624,6 +624,12 @@ def render_film(plan, film, scale, out_folder, frame_limit):add_plan_sheet(plan, scale)build_up = BuildUp(plan, scale, film["build_up"])melt_studio_horizon(measure_floor_colour(camera))+ elif film.get("studio"):+ # The same studio floor as a build-up, without the sheet, so a film cut after one keeps its look.+ add_plan_sheet(plan, scale)+ bpy.data.objects["plan_sheet"].hide_render = True+ bpy.context.view_layer.layer_collection.children["site"].exclude = True+ melt_studio_horizon(measure_floor_colour(camera))for frame in range(frames):target_path = folder / f"f{frame:04d}.png"if target_path.exists():