A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
art(star-neighbors): add expandable greenhouse and room scale studies
yhhdfbba0ba1fa1
diff --git a/games/star-neighbors/README.md b/games/star-neighbors/README.mdindex c2d8e933a..75426e120 100644--- a/games/star-neighbors/README.md+++ b/games/star-neighbors/README.md@@ -2,7 +2,7 @@项目暂名。多人合作、社交优先的未来卡通星球建造游戏:每个人拥有自己的星球,在持续扩展的共享宇宙里拜访朋友、寻找新家、共同建设。-**当前工作聚焦美术资产:居住舱第二版包含 19 个独立模型,优先确认造型、材质与模块拼接。此前 3D 结构样区与原生 2D 建造界面保留;正式角色、联机、星球生成、存档与承载人数尚未实现或验收。**+**当前工作聚焦美术资产:居住舱第二版包含 22 个独立模型,温室包含 12 个新模型并复用 2 个居住舱部件。优先确认造型、材质与模块拼接。此前 3D 结构样区与原生 2D 建造界面保留;正式角色、联机、星球生成、存档与承载人数尚未实现或验收。**3D 星球、角色、建筑与环境承载主要游玩体验;2D 星图、界面、物品图标和社交反馈同步设计。当前样区使用 Estella,后续客户端及服务端能力按验收项逐步验证。@@ -10,6 +10,12 @@当前美术交付:[可编辑居住舱 Blender](art/source/habitat-v2/habitat-v2.blend)、[独立 GLB 模型](art/models/habitat-v2/)、[主要模块拆件图](art/reviews/habitat-v2/03-module-sheet.png)、[窗口细节](art/reviews/habitat-v2/02-window-detail.png)、[模块尺寸与交付说明](art/source/habitat-v2/README.md)。图为实际模型的离线渲染,尚未替换 Web 样区或通过最终美术验收。+同一套部件已拼成 [7×5 米与 13×9 米房间](art/reviews/habitat-v2/05-room-expansion.png),并补充 [大房间剖视](art/reviews/habitat-v2/06-expanded-cutaway.png)。门洞净宽调整到 1.20 米,见 [1.78 米比例人偶同框检查](art/reviews/habitat-v2/07-doorway-scale.png)。这里验证的是美术拼装与尺度。++++温室交付:[可编辑 Blender](art/source/greenhouse-v1/greenhouse-v1.blend)、[独立模型](art/models/greenhouse-v1/)、[拆件图](art/reviews/greenhouse-v1/03-garden-modules.png)、[种植床与灌溉设备](art/reviews/greenhouse-v1/02-growing-bed.png)、[尺寸和扩建方式](art/source/greenhouse-v1/README.md)。+此前的 [Web 样区](art/reviews/engine-day.png) 用于检查尺寸、拆件和操作,其窗面仍是反光色板、温室尚未封玻璃;地表、远景和植被仍需细化。灰色人形是 1.78 米比例参照,正式人物见 [待评审参考视图](art/references/settler-reference.png)。可编辑源文件:[Blender 模块与样区](art/source/star-neighbors-art-sample.blend)。项目入口:[project.esproject](project.esproject)。diff --git a/games/star-neighbors/art/models/greenhouse-v1/crop-tray-leafy.glb b/games/star-neighbors/art/models/greenhouse-v1/crop-tray-leafy.glbnew file mode 100644index 000000000..5d5bfab18Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/crop-tray-leafy.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-arch-half-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-arch-half-2m.glbnew file mode 100644index 000000000..67ce9c577Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-arch-half-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-corner-post.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-corner-post.glbnew file mode 100644index 000000000..d2d6aae57Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-corner-post.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-door-glass-120.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-door-glass-120.glbnew file mode 100644index 000000000..347e262ddBinary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-door-glass-120.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-floor-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-floor-2m.glbnew file mode 100644index 000000000..b4775dc36Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-floor-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-gutter-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-gutter-2m.glbnew file mode 100644index 000000000..994ea2ed6Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-gutter-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-irrigation-unit.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-irrigation-unit.glbnew file mode 100644index 000000000..022523c1cBinary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-irrigation-unit.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-ridge-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-ridge-2m.glbnew file mode 100644index 000000000..dd18c3d15Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-ridge-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-roof-end-half-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-roof-end-half-2m.glbnew file mode 100644index 000000000..ac839b1c3Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-roof-end-half-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-roof-glass-half-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-roof-glass-half-2m.glbnew file mode 100644index 000000000..4a9309af2Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-roof-glass-half-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/garden-wall-glass-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/garden-wall-glass-2m.glbnew file mode 100644index 000000000..5b7d6316cBinary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/garden-wall-glass-2m.glb differdiff --git a/games/star-neighbors/art/models/greenhouse-v1/growing-bed-2m.glb b/games/star-neighbors/art/models/greenhouse-v1/growing-bed-2m.glbnew file mode 100644index 000000000..e9d1abae3Binary files /dev/null and b/games/star-neighbors/art/models/greenhouse-v1/growing-bed-2m.glb differdiff --git a/games/star-neighbors/art/models/habitat-v2/ceiling-beam-2m.glb b/games/star-neighbors/art/models/habitat-v2/ceiling-beam-2m.glbnew file mode 100644index 000000000..5df518caaBinary files /dev/null and b/games/star-neighbors/art/models/habitat-v2/ceiling-beam-2m.glb differdiff --git a/games/star-neighbors/art/models/habitat-v2/ceiling-beam-end-050.glb b/games/star-neighbors/art/models/habitat-v2/ceiling-beam-end-050.glbnew file mode 100644index 000000000..a8373b7a9Binary files /dev/null and b/games/star-neighbors/art/models/habitat-v2/ceiling-beam-end-050.glb differdiff --git a/games/star-neighbors/art/models/habitat-v2/door-leaf-110.glb b/games/star-neighbors/art/models/habitat-v2/door-leaf-110.glbindex 30c42f74a..edd3c1a47 100644Binary files a/games/star-neighbors/art/models/habitat-v2/door-leaf-110.glb and b/games/star-neighbors/art/models/habitat-v2/door-leaf-110.glb differdiff --git a/games/star-neighbors/art/models/habitat-v2/support-column-2p8.glb b/games/star-neighbors/art/models/habitat-v2/support-column-2p8.glbnew file mode 100644index 000000000..2a7f59a71Binary files /dev/null and b/games/star-neighbors/art/models/habitat-v2/support-column-2p8.glb differdiff --git a/games/star-neighbors/art/models/habitat-v2/wall-doorway-2m.glb b/games/star-neighbors/art/models/habitat-v2/wall-doorway-2m.glbindex a1e4ac1f7..513dc07f9 100644Binary files a/games/star-neighbors/art/models/habitat-v2/wall-doorway-2m.glb and b/games/star-neighbors/art/models/habitat-v2/wall-doorway-2m.glb differdiff --git a/games/star-neighbors/art/reviews/greenhouse-v1/01-greenhouse.png b/games/star-neighbors/art/reviews/greenhouse-v1/01-greenhouse.pngnew file mode 100644index 000000000..742aeff43Binary files /dev/null and b/games/star-neighbors/art/reviews/greenhouse-v1/01-greenhouse.png differdiff --git a/games/star-neighbors/art/reviews/greenhouse-v1/02-growing-bed.png b/games/star-neighbors/art/reviews/greenhouse-v1/02-growing-bed.pngnew file mode 100644index 000000000..5e8145dafBinary files /dev/null and b/games/star-neighbors/art/reviews/greenhouse-v1/02-growing-bed.png differdiff --git a/games/star-neighbors/art/reviews/greenhouse-v1/03-garden-modules.png b/games/star-neighbors/art/reviews/greenhouse-v1/03-garden-modules.pngnew file mode 100644index 000000000..b6c1c9512Binary files /dev/null and b/games/star-neighbors/art/reviews/greenhouse-v1/03-garden-modules.png differdiff --git a/games/star-neighbors/art/reviews/greenhouse-v1/04-export-roundtrip.png b/games/star-neighbors/art/reviews/greenhouse-v1/04-export-roundtrip.pngnew file mode 100644index 000000000..ac011ac39Binary files /dev/null and b/games/star-neighbors/art/reviews/greenhouse-v1/04-export-roundtrip.png differdiff --git a/games/star-neighbors/art/reviews/greenhouse-v1/asset-check.json b/games/star-neighbors/art/reviews/greenhouse-v1/asset-check.jsonnew file mode 100644index 000000000..5dedd6000--- /dev/null+++ b/games/star-neighbors/art/reviews/greenhouse-v1/asset-check.json@@ -0,0 +1,222 @@+{+ "status": "passed",+ "scope": "Background Blender GLB import, geometry/UV/bounds checks and reassembled render; not engine acceptance",+ "blender": "5.2.1 LTS",+ "assets": 12,+ "dependencies": 2,+ "assemblyInstances": 58,+ "trianglesUniqueKit": 49956,+ "bytesGLB": 8964556,+ "results": [+ {+ "asset": "garden-floor-2m",+ "bytes": 161420,+ "sha256": "596eb9ad7d09f84b78d0ad099ebfc866052856f4fe4b6da405cbb88c810391f4",+ "meshes": 3,+ "triangles": 4888,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 2.0,+ 2.0,+ 0.2235+ ],+ "embeddedImages": 0,+ "uvFinite": true+ },+ {+ "asset": "garden-wall-glass-2m",+ "bytes": 875460,+ "sha256": "d7255ae726553a424029fac92b2120b1f2586904e39e4240da5744378b3bbd1e",+ "meshes": 7,+ "triangles": 6744,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.986,+ 0.325,+ 2.8+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-door-glass-120",+ "bytes": 833892,+ "sha256": "e56a06d0fb0c0a9a7f21dc9772ae3ce961e00721616aa8b0c8c30eaf6cf31af2",+ "meshes": 7,+ "triangles": 5568,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.235,+ 0.29,+ 2.27+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-corner-post",+ "bytes": 686472,+ "sha256": "de4ce3727f79d4aa2d72e8e0af7b772a51de620e06ede3bddb625b48ed546034",+ "meshes": 3,+ "triangles": 752,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.21,+ 0.21,+ 2.8+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "bytes": 37816,+ "sha256": "72ef5d1bc15858dc229ba1b07552e2e7ef8107c7fd83de3ea71e97c97b57ade1",+ "meshes": 2,+ "triangles": 876,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 2.004,+ 1.956,+ 0.904+ ],+ "embeddedImages": 0,+ "uvFinite": true+ },+ {+ "asset": "garden-arch-half-2m",+ "bytes": 699268,+ "sha256": "96bce8abb4334c85d3d6914a0356329cd94976b5bfd95415dc906912587f60dd",+ "meshes": 3,+ "triangles": 960,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 2.135,+ 0.17,+ 1.012+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-roof-end-half-2m",+ "bytes": 682952,+ "sha256": "f92cb2fbfbe1b2637015600648bb735be1c10364dd93c21dab25bd941b27b52f",+ "meshes": 2,+ "triangles": 524,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 2.0,+ 0.13,+ 0.9225+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-ridge-2m",+ "bytes": 689696,+ "sha256": "6ed6c21ad20403e0afcddceace0cbdaa08e415f647f79172c54607eda18ae5b6",+ "meshes": 4,+ "triangles": 752,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.19,+ 1.984,+ 0.285+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "garden-gutter-2m",+ "bytes": 695868,+ "sha256": "2676c2255a6f13c01c3e59aa7e9fe78cabf997e037519b8256775eaf0268906f",+ "meshes": 4,+ "triangles": 940,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.2245,+ 1.985,+ 0.265+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "growing-bed-2m",+ "bytes": 776976,+ "sha256": "cd899464d7dce745dbb0c9c4608c8d6fc0b4abdf449a94a87a83f5fcedee87b5",+ "meshes": 7,+ "triangles": 3092,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.9,+ 0.886,+ 0.708+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "crop-tray-leafy",+ "bytes": 239828,+ "sha256": "61fd4aab3ddec5e294684dd21d08b40dee8b67d14ff93bb1931c3be776dcc7b0",+ "meshes": 3,+ "triangles": 6108,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.7526,+ 0.8958,+ 0.4827+ ],+ "embeddedImages": 0,+ "uvFinite": true+ },+ {+ "asset": "garden-irrigation-unit",+ "bytes": 755912,+ "sha256": "7159637e298cab741befab710661a46fd2f8fd29c07ed4a3650eed4df6bc39ee",+ "meshes": 6,+ "triangles": 2540,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.64,+ 0.575,+ 1.16+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "habitat/wall-doorway-2m",+ "bytes": 1057116,+ "sha256": "335ccae4dcb5d803fc7bd95a1ec29410ff54be4de4e5f2edff6ed08bd09c2872",+ "meshes": 9,+ "triangles": 12828,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.988,+ 0.457,+ 2.84+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "habitat/entry-step-2m",+ "bytes": 771880,+ "sha256": "d2549c6ffa9ac57694ac0166d7ab4b85e913ab249daa292ae32dde9ce3db6a6f",+ "meshes": 4,+ "triangles": 3384,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 1.83,+ 1.005,+ 0.2575+ ],+ "embeddedImages": 2,+ "uvFinite": true+ }+ ]+}diff --git a/games/star-neighbors/art/reviews/habitat-v2/01-assembled.png b/games/star-neighbors/art/reviews/habitat-v2/01-assembled.pngindex 7a06bdb7d..ca3d4afd0 100644Binary files a/games/star-neighbors/art/reviews/habitat-v2/01-assembled.png and b/games/star-neighbors/art/reviews/habitat-v2/01-assembled.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/02-window-detail.png b/games/star-neighbors/art/reviews/habitat-v2/02-window-detail.pngindex d4a59e02c..3d8036143 100644Binary files a/games/star-neighbors/art/reviews/habitat-v2/02-window-detail.png and b/games/star-neighbors/art/reviews/habitat-v2/02-window-detail.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/03-module-sheet.png b/games/star-neighbors/art/reviews/habitat-v2/03-module-sheet.pngindex d6d875329..1be25e825 100644Binary files a/games/star-neighbors/art/reviews/habitat-v2/03-module-sheet.png and b/games/star-neighbors/art/reviews/habitat-v2/03-module-sheet.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/04-export-roundtrip.png b/games/star-neighbors/art/reviews/habitat-v2/04-export-roundtrip.pngindex f6b3cd9a0..81e1a8f09 100644Binary files a/games/star-neighbors/art/reviews/habitat-v2/04-export-roundtrip.png and b/games/star-neighbors/art/reviews/habitat-v2/04-export-roundtrip.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/05-room-expansion.png b/games/star-neighbors/art/reviews/habitat-v2/05-room-expansion.pngnew file mode 100644index 000000000..36690e222Binary files /dev/null and b/games/star-neighbors/art/reviews/habitat-v2/05-room-expansion.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/06-expanded-cutaway.png b/games/star-neighbors/art/reviews/habitat-v2/06-expanded-cutaway.pngnew file mode 100644index 000000000..b1c51454bBinary files /dev/null and b/games/star-neighbors/art/reviews/habitat-v2/06-expanded-cutaway.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/07-doorway-scale.png b/games/star-neighbors/art/reviews/habitat-v2/07-doorway-scale.pngnew file mode 100644index 000000000..22f1e85b6Binary files /dev/null and b/games/star-neighbors/art/reviews/habitat-v2/07-doorway-scale.png differdiff --git a/games/star-neighbors/art/reviews/habitat-v2/asset-check.json b/games/star-neighbors/art/reviews/habitat-v2/asset-check.jsonindex 8640b05ca..ded0bd7e2 100644--- a/games/star-neighbors/art/reviews/habitat-v2/asset-check.json+++ b/games/star-neighbors/art/reviews/habitat-v2/asset-check.json@@ -2,10 +2,11 @@"status": "passed","scope": "Background Blender GLB import, geometry/UV/bounds checks and reassembled render; not engine acceptance","blender": "5.2.1 LTS",- "assets": 19,+ "assets": 22,+ "dependencies": 0,"assemblyInstances": 65,- "trianglesUniqueKit": 91496,- "bytesGLB": 14165868,+ "trianglesUniqueKit": 94128,+ "bytesGLB": 16244120,"results": [{"asset": "floor-2m",@@ -99,8 +100,8 @@},{"asset": "wall-doorway-2m",- "bytes": 1057340,- "sha256": "84ddaf498d2f73d1a89cfff8d93e22e96871d30a6aaaffc29de6646ff19099bb",+ "bytes": 1057116,+ "sha256": "335ccae4dcb5d803fc7bd95a1ec29410ff54be4de4e5f2edff6ed08bd09c2872","meshes": 9,"triangles": 12828,"collapsedTriangles": 0,@@ -114,13 +115,13 @@},{"asset": "door-leaf-110",- "bytes": 881800,- "sha256": "53d53e5190997c43c796ed1108920afe006feae8b7ca9d1e402d3d9dbcf86cf5",+ "bytes": 881824,+ "sha256": "52c304db4d35403c38b919a97d15a21325aa16254e3e42bb3f1b93a55ac19d84","meshes": 8,"triangles": 7260,"collapsedTriangles": 0,"dimensionsZUp": [- 1.125,+ 1.235,0.311,2.27],@@ -291,6 +292,51 @@],"embeddedImages": 2,"uvFinite": true+ },+ {+ "asset": "support-column-2p8",+ "bytes": 701192,+ "sha256": "53ce3ab29d71f4644b77c23d75316685bf8b06c2da22bceb892274d7b5eabfc2",+ "meshes": 4,+ "triangles": 1128,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.32,+ 0.32,+ 2.8+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "ceiling-beam-2m",+ "bytes": 695876,+ "sha256": "814409401ae223c54f0e7906eecdf73ec76407f4936ba22c6a6ed66f50ee9f09",+ "meshes": 4,+ "triangles": 940,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 2.0,+ 0.24,+ 0.2375+ ],+ "embeddedImages": 2,+ "uvFinite": true+ },+ {+ "asset": "ceiling-beam-end-050",+ "bytes": 681384,+ "sha256": "46d92097aaaa00a6db6fb3bcbf6a500bd640cb73207d0fbc1b52c3a7d5baa302",+ "meshes": 3,+ "triangles": 564,+ "collapsedTriangles": 0,+ "dimensionsZUp": [+ 0.5,+ 0.32,+ 0.28+ ],+ "embeddedImages": 2,+ "uvFinite": true}]}diff --git a/games/star-neighbors/art/reviews/habitat-v2/scale-review.json b/games/star-neighbors/art/reviews/habitat-v2/scale-review.jsonnew file mode 100644index 000000000..795f532a7--- /dev/null+++ b/games/star-neighbors/art/reviews/habitat-v2/scale-review.json@@ -0,0 +1,24 @@+{+ "mannequinHeightMetres": 1.78,+ "mannequinPoseWidthMetres": 1.0605,+ "doorClearWidthMetres": 1.2,+ "doorClearHeightMetres": 2.26,+ "heightMarginMetres": 0.48,+ "totalWidthMarginMetres": 0.1395,+ "scope": "Geometry scale review only; no animation or collision acceptance",+ "largeRoomOuterMetres": [+ 13,+ 9+ ],+ "smallRoomOuterMetres": [+ 7,+ 5+ ],+ "allModulesScale": [+ 1,+ 1,+ 1+ ],+ "layoutInstances": 198,+ "source": "assets/models/scale-mannequin.glb"+}diff --git a/games/star-neighbors/art/source/greenhouse-v1/README.md b/games/star-neighbors/art/source/greenhouse-v1/README.mdnew file mode 100644index 000000000..e35e0d61d--- /dev/null+++ b/games/star-neighbors/art/source/greenhouse-v1/README.md@@ -0,0 +1,56 @@+# 温室美术套件 · 第一版++沿用居住舱的暖白涂装、橙色结构条、金属扣件和通透玻璃。温室由 12 个新模型组成,并直接复用居住舱的门洞与入口台阶。当前专注美术资产,未接入生长、供水或建造逻辑。++++## 交付++- [可编辑 Blender](greenhouse-v1.blend):独立零件位于 `LIBRARY`,复用部件位于 `DEPENDENCY`,58 个共享网格实例位于 `ASSEMBLY`。展示布局单独保存且默认隐藏。+- [12 个独立 GLB](../../models/greenhouse-v1/)、[资产清单](asset-catalog.json)、[装配布局](assembly.json)。文件内嵌微表面贴图,单位为米,GLB 为 Y-up。+- [主要拆件图](../../reviews/greenhouse-v1/03-garden-modules.png)、[种植床/作物/灌溉设备](../../reviews/greenhouse-v1/02-growing-bed.png)、[导出后重新组装](../../reviews/greenhouse-v1/04-export-roundtrip.png)、[资产检查结果](../../reviews/greenhouse-v1/asset-check.json)。图均为实际模型离线渲染。++| 模块 | 用途 |+| --- | --- |+| garden-floor-2m | 2×2 米底板,带排水槽 |+| garden-wall-glass-2m | 2 米宽玻璃墙,密封条与竖向窗棂分层 |+| garden-door-glass-120 | 独立玻璃门扇,与净宽 1.20 米的居住舱门洞配合 |+| garden-corner-post | 2.8 米高端部角柱 |+| garden-roof-glass-half-2m | 半跨弧顶玻璃,每段纵向长 2 米 |+| garden-arch-half-2m | 可独立放置的半跨弧形骨架 |+| garden-roof-end-half-2m | 温室前后端的弧形玻璃封板 |+| garden-ridge-2m | 屋脊与下挂灯条 |+| garden-gutter-2m | 独立檐沟与支架 |+| growing-bed-2m | 可独立摆放的种植床,带滴灌管与设备面板 |+| crop-tray-leafy | 独立叶菜托盘,作物不合并到种植床 |+| garden-irrigation-unit | 独立泵柜与接口 |++复用依赖为 `art/models/habitat-v2/wall-doorway-2m.glb` 和 `entry-step-2m.glb`,在清单中记录为 `habitat/…`。复用门洞上的 HAB 01 是该门框的部件标识;温室门扇和墙面使用 GARDEN 标识。++## 安装和扩建++示例使用 4×6 米中心网格;角柱、檐沟和台阶会突出该网格边界。地板面为 0.21 米,墙高 2.8 米,弧顶安装基准为 3.01 米,屋脊最高处约 4.04 米。++当前弧顶固定跨宽 4 米,由两个 2 米半跨件组成。**沿温室纵向每增加 2 米,增加两块地板、两块侧墙、两片屋顶玻璃、一对骨架、两段檐沟和一段屋脊,再外移端墙。**半跨件通过 180° 旋转复用另一侧,尺寸不拉伸。前后封板与端部角柱保留在新的两端。横向联排还需要专用谷沟、接柱和跨间连接件,本版不宣称已支持任意加宽。++Blender 源文件以 Z 为上,地板中心为局部原点。墙外侧朝 −Y,底边中点安装;屋顶半跨原点位于屋脊正下方的墙顶标高,局部 X 从 0 延伸到 2 米,局部 Y 从 −1 到 1 米;最高玻璃边在 Z=0.9 米。清单和根对象同时保留源坐标与 GLB 坐标安装点。++种植床底面原点独立,作物托盘安装在床的局部 Z=0.677 米。床、作物、灌溉柜都能单独移动或替换。滴灌管与接口目前是外观细节,未实现流体或生长系统。++## 材质和当前边界++玻璃使用 `KHR_materials_transmission`,需要目标渲染器支持并再次验收。梁、门窗、灯带和底座与居住舱共用材质定义;粗糙度和微表面法线图随独立文件打包。叶菜使用独立叶片网格和两种绿色材质,目前没有风动、成熟阶段或收获动画。++当前是干净涂装美术稿,尚未完成磨损/水渍贴花、LOD、碰撞和目标设备性能验收。透明屋面、玻璃墙与植物同时出现时的实际绘制开销需要后续接入再测;离线渲染并不代表引擎表现。++## 后台复现++先生成居住舱,再生成温室。两者使用同一组建模辅助定义,运行期间只创建本套件资产,不启动可见窗口:++```powershell+& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/habitat-v2/build_habitat.py+& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/greenhouse-v1/build_greenhouse.py+& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/habitat-v2/check_exports.py -- --kit greenhouse-v1+```++检查覆盖新部件及两个复用依赖的独立 GLB 导入、有限坐标/UV、尺寸、三角面、退化面和嵌入贴图,并用这些导出文件重新拼装和渲染。diff --git a/games/star-neighbors/art/source/greenhouse-v1/assembly.json b/games/star-neighbors/art/source/greenhouse-v1/assembly.jsonnew file mode 100644index 000000000..bef54ff2a--- /dev/null+++ b/games/star-neighbors/art/source/greenhouse-v1/assembly.json@@ -0,0 +1,524 @@+[+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ -1,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ 1,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ 2,+ -2,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ 2,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ -2,+ -2,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ -2,+ -2,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ -2,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-ridge-2m",+ "positionZUp": [+ 0,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ -1,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ 1,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ 2,+ 0,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ 2,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ -2,+ 0,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ -2,+ 0,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ 0,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-ridge-2m",+ "positionZUp": [+ 0,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ -1,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-floor-2m",+ "positionZUp": [+ 1,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ 2,+ 2,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ 2,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ -2,+ 2,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "asset": "garden-gutter-2m",+ "positionZUp": [+ -2,+ 2,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-glass-half-2m",+ "positionZUp": [+ 0,+ 2,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-ridge-2m",+ "positionZUp": [+ 0,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ -3,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ -3,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ -1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ -1,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ 1,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ 3,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-arch-half-2m",+ "positionZUp": [+ 0,+ 3,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ -1,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "habitat/wall-doorway-2m",+ "positionZUp": [+ 1,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-door-glass-120",+ "positionZUp": [+ 1,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "habitat/entry-step-2m",+ "positionZUp": [+ 1,+ -3.03,+ 0+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-end-half-2m",+ "positionZUp": [+ 0,+ -3,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-end-half-2m",+ "positionZUp": [+ 0,+ -3,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-corner-post",+ "positionZUp": [+ -2,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-corner-post",+ "positionZUp": [+ 2,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ -1,+ 3,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-wall-glass-2m",+ "positionZUp": [+ 1,+ 3,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-roof-end-half-2m",+ "positionZUp": [+ 0,+ 3,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-roof-end-half-2m",+ "positionZUp": [+ 0,+ 3,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "asset": "garden-corner-post",+ "positionZUp": [+ -2,+ 3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "garden-corner-post",+ "positionZUp": [+ 2,+ 3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "asset": "growing-bed-2m",+ "positionZUp": [+ -1.32,+ -1.3,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "crop-tray-leafy",+ "positionZUp": [+ -1.32,+ -1.3,+ 0.887+ ],+ "yawZ": 90+ },+ {+ "asset": "growing-bed-2m",+ "positionZUp": [+ -1.32,+ 0.8,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "crop-tray-leafy",+ "positionZUp": [+ -1.32,+ 0.8,+ 0.887+ ],+ "yawZ": 90+ },+ {+ "asset": "growing-bed-2m",+ "positionZUp": [+ 1.32,+ -1.3,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "crop-tray-leafy",+ "positionZUp": [+ 1.32,+ -1.3,+ 0.887+ ],+ "yawZ": 90+ },+ {+ "asset": "growing-bed-2m",+ "positionZUp": [+ 1.32,+ 0.8,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "asset": "crop-tray-leafy",+ "positionZUp": [+ 1.32,+ 0.8,+ 0.887+ ],+ "yawZ": 90+ },+ {+ "asset": "garden-irrigation-unit",+ "positionZUp": [+ -1.15,+ 2.45,+ 0.21+ ],+ "yawZ": 0+ }+]diff --git a/games/star-neighbors/art/source/greenhouse-v1/asset-catalog.json b/games/star-neighbors/art/source/greenhouse-v1/asset-catalog.jsonnew file mode 100644index 000000000..2e787e964--- /dev/null+++ b/games/star-neighbors/art/source/greenhouse-v1/asset-catalog.json@@ -0,0 +1,382 @@+{+ "stage": "art-review",+ "units": "metres",+ "sourceUp": "Z",+ "glbUp": "Y",+ "assets": [+ {+ "id": "garden-floor-2m",+ "nominal": [+ 2,+ 2,+ 0.21+ ],+ "sourceDimensionsXYZ": [+ 2.0,+ 2.0,+ 0.2235+ ],+ "triangles": 4888,+ "drawMeshes": 3,+ "editablePieces": 26,+ "sourceSockets": {+ "top": [+ 0,+ 0,+ 0.21+ ],+ "edgeLeft": [+ -1,+ 0,+ 0+ ],+ "edgeRight": [+ 1,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-floor-2m.glb"+ },+ {+ "id": "garden-wall-glass-2m",+ "nominal": [+ 2,+ 0.18,+ 2.8+ ],+ "sourceDimensionsXYZ": [+ 1.986,+ 0.325,+ 2.8+ ],+ "triangles": 6744,+ "drawMeshes": 7,+ "editablePieces": 17,+ "sourceSockets": {+ "left": [+ -1,+ 0,+ 0+ ],+ "right": [+ 1,+ 0,+ 0+ ],+ "roof": [+ 0,+ 0,+ 2.8+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-wall-glass-2m.glb"+ },+ {+ "id": "garden-door-glass-120",+ "nominal": [+ 1.235,+ 0.3,+ 2.34+ ],+ "sourceDimensionsXYZ": [+ 1.235,+ 0.29,+ 2.27+ ],+ "triangles": 5568,+ "drawMeshes": 7,+ "editablePieces": 9,+ "sourceSockets": {+ "doorway": [+ 0,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-door-glass-120.glb"+ },+ {+ "id": "garden-corner-post",+ "nominal": [+ 0.21,+ 0.21,+ 2.8+ ],+ "sourceDimensionsXYZ": [+ 0.21,+ 0.21,+ 2.8+ ],+ "triangles": 752,+ "drawMeshes": 3,+ "editablePieces": 4,+ "sourceSockets": {+ "base": [+ 0,+ 0,+ 0+ ],+ "roof": [+ 0,+ 0,+ 2.8+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-corner-post.glb"+ },+ {+ "id": "garden-roof-glass-half-2m",+ "nominal": [+ 2,+ 2,+ 0.9+ ],+ "sourceDimensionsXYZ": [+ 2.004,+ 1.956,+ 0.904+ ],+ "triangles": 876,+ "drawMeshes": 2,+ "editablePieces": 3,+ "sourceSockets": {+ "ridge": [+ 0,+ 0,+ 0.9+ ],+ "eave": [+ 2,+ 0,+ 0+ ],+ "start": [+ 0,+ -1,+ 0+ ],+ "end": [+ 0,+ 1,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-roof-glass-half-2m.glb"+ },+ {+ "id": "garden-arch-half-2m",+ "nominal": [+ 2.1,+ 0.17,+ 0.97+ ],+ "sourceDimensionsXYZ": [+ 2.135,+ 0.17,+ 1.012+ ],+ "triangles": 960,+ "drawMeshes": 3,+ "editablePieces": 4,+ "sourceSockets": {+ "ridge": [+ 0,+ 0,+ 0.9+ ],+ "eave": [+ 2,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-arch-half-2m.glb"+ },+ {+ "id": "garden-roof-end-half-2m",+ "nominal": [+ 2,+ 0.17,+ 0.9+ ],+ "sourceDimensionsXYZ": [+ 2.0,+ 0.13,+ 0.9225+ ],+ "triangles": 524,+ "drawMeshes": 2,+ "editablePieces": 3,+ "sourceSockets": {+ "base": [+ 0,+ 0,+ 0+ ],+ "ridge": [+ 0,+ 0,+ 0.9+ ],+ "side": [+ 2,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-roof-end-half-2m.glb"+ },+ {+ "id": "garden-ridge-2m",+ "nominal": [+ 0.19,+ 2,+ 1.03+ ],+ "sourceDimensionsXYZ": [+ 0.19,+ 1.984,+ 0.285+ ],+ "triangles": 752,+ "drawMeshes": 4,+ "editablePieces": 4,+ "sourceSockets": {+ "start": [+ 0,+ -1,+ 0+ ],+ "end": [+ 0,+ 1,+ 0+ ],+ "ridge": [+ 0,+ 0,+ 0.9+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-ridge-2m.glb"+ },+ {+ "id": "garden-gutter-2m",+ "nominal": [+ 0.22,+ 2,+ 0.2+ ],+ "sourceDimensionsXYZ": [+ 0.2245,+ 1.985,+ 0.265+ ],+ "triangles": 940,+ "drawMeshes": 4,+ "editablePieces": 5,+ "sourceSockets": {+ "start": [+ 0,+ -1,+ 0+ ],+ "end": [+ 0,+ 1,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-gutter-2m.glb"+ },+ {+ "id": "growing-bed-2m",+ "nominal": [+ 1.9,+ 0.87,+ 0.71+ ],+ "sourceDimensionsXYZ": [+ 1.9,+ 0.886,+ 0.708+ ],+ "triangles": 3092,+ "drawMeshes": 7,+ "editablePieces": 20,+ "sourceSockets": {+ "floor": [+ 0,+ 0,+ 0+ ],+ "crop": [+ 0,+ 0,+ 0.677+ ]+ },+ "glb": "art/models/greenhouse-v1/growing-bed-2m.glb"+ },+ {+ "id": "crop-tray-leafy",+ "nominal": [+ 2,+ 0.9,+ 0.6+ ],+ "sourceDimensionsXYZ": [+ 1.7526,+ 0.8958,+ 0.4827+ ],+ "triangles": 6108,+ "drawMeshes": 3,+ "editablePieces": 73,+ "sourceSockets": {+ "bed": [+ 0,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/crop-tray-leafy.glb"+ },+ {+ "id": "garden-irrigation-unit",+ "nominal": [+ 0.64,+ 0.6,+ 1.16+ ],+ "sourceDimensionsXYZ": [+ 0.64,+ 0.575,+ 1.16+ ],+ "triangles": 2540,+ "drawMeshes": 6,+ "editablePieces": 12,+ "sourceSockets": {+ "floor": [+ 0,+ 0,+ 0+ ]+ },+ "glb": "art/models/greenhouse-v1/garden-irrigation-unit.glb"+ }+ ],+ "dependencies": [+ {+ "id": "habitat/wall-doorway-2m",+ "glb": "art/models/habitat-v2/wall-doorway-2m.glb"+ },+ {+ "id": "habitat/entry-step-2m",+ "glb": "art/models/habitat-v2/entry-step-2m.glb"+ }+ ],+ "expansion": "Repeat along Y in 2 m increments, move the end walls and add ribs. Current vault width is 4 m."+}diff --git a/games/star-neighbors/art/source/greenhouse-v1/build_greenhouse.py b/games/star-neighbors/art/source/greenhouse-v1/build_greenhouse.pynew file mode 100644index 000000000..de3da0972--- /dev/null+++ b/games/star-neighbors/art/source/greenhouse-v1/build_greenhouse.py@@ -0,0 +1,279 @@+"""A glass garden kit in the habitat's material family, authored in metres."""+from pathlib import Path+KIT_SLUG='greenhouse-v1'+helper=Path(__file__).resolve().parent.parent/'habitat-v2/build_habitat.py'+shared=helper.read_text(encoding='utf-8').split('# -- End shared art helpers --')[0]+# Run the shared modeling definitions in this author's namespace, keeping this+# kit's paths and editable part collection. No habitat meshes are rebuilt here.+exec(compile(shared,str(helper),'exec'))+scene.name='Greenhouse / 4 x 6 metre garden'+material('16 • fresh leaf',(.28,.38,.07),0,.78)+material('17 • growing soil',(.075,.042,.02),0,.94)+material('18 • tomato',(.65,.072,.02),0,.49)+FRESH='16 • fresh leaf';SOIL='17 • growing soil';FRUIT='18 • tomato'++start('garden-floor-2m')+box('Insulated base',(0,0,.085),(2,2,.17),DARK,.025)+box('Washable floor',(0,0,.18),(1.986,1.986,.06),INNER,.018)+for x in [-.94,.94]:+ box('Drain trough',(x,0,.211),(.065,1.87,.012),DARK,.008)+ for y in [-.80+i*.16 for i in range(11)]:box('Drain slot',(x,y,.219),(.05,.027,.009),METAL,.003)+finish(current,[2,2,.21],{'top':[0,0,.21],'edgeLeft':[-1,0,0],'edgeRight':[1,0,0]})++start('garden-wall-glass-2m')+frame('Insulated perimeter',(1.986,2.8,.05),(1.76,2.14,.15),(0,1.54),0,.18,PAINT,(0,1.4))+frame('Window seal',(1.80,2.18,.17),(1.71,2.09,.125),(0,1.54),-.025,.05,RUBBER)+frame('Anodized glazing bead',(1.76,2.14,.15),(1.70,2.08,.12),(0,1.54),-.044,.07,METAL)+panel('Clear pane',1.735,2.115,.135,(0,1.54),.045,.010,GLASS)+box('Central glazing bar',(0,-.008,1.54),(.032,.075,2.08),PAINT,.01)+box('Outer sill',(0,-.035,.448),(1.83,.22,.068),PAINT,.018)+box('Base rail',(0,-.025,.12),(1.96,.10,.18),DARK,.025)+box('Service stripe',(0,-.03,.30),(1.87,.05,.09),ORANGE,.018)+for x in [-.96,.96]:box('Frame joint',(x,-.012,1.4),(.052,.06,2.68),PAINT,.015)+for x in [-.84,.84]:screw(x,-.054,.30)+text3d('GARDEN / 01',(0,-.061,.29),.044,WHITE)+finish(current,[2,.18,2.8],{'left':[-1,0,0],'right':[1,0,0],'roof':[0,0,2.8]})++start('garden-door-glass-120')+frame('Door seal',(1.235,2.27,.215),(.99,2.00,.16),(0,1.205),.10,.09,RUBBER)+frame('Door shell',(1.20,2.23,.195),(1.00,2.01,.16),(0,1.205),.075,.12,PAINT)+frame('Door bead',(1.04,2.05,.18),(.98,1.99,.15),(0,1.205),.055,.05,METAL)+panel('Door glass',1.01,2.02,.16,(0,1.205),.103,.010,GLASS)+box('Glass safety stripe',(0,.049,1.22),(1.0,.014,.055),ORANGE,.008)+for z in [.95,1.32]:box('Pull mount',(.44,.012,z),(.065,.14,.07),DARK,.015)+cylinder('Door pull',(.44,-.07,.95),(.44,-.07,1.32),.025,METAL)+text3d('GARDEN',(0,.037,1.20),.045,WHITE)+finish(current,[1.235,.3,2.34],{'doorway':[0,0,0]})++start('garden-corner-post')+box('Corner spine',(0,0,1.4),(.16,.16,2.8),PAINT,.04)+for z in [.12,2.70]:box('Post shoe',(0,0,z),(.21,.21,.18),DARK,.027)+box('Lower collar',(0,0,.30),(.19,.19,.09),ORANGE,.02)+finish(current,[.21,.21,2.8],{'base':[0,0,0],'roof':[0,0,2.8]})++def arc_profile(rx=2,rz=.9,steps=36):+ return [(rx*math.cos(t),rz*math.sin(t)) for t in [i*math.pi/2/steps for i in range(steps+1)]]++def swept_shell(name,outer,inner,y0,y1,mat):+ loop=outer+list(reversed(inner));k=len(loop)+ vs=[(x,y,z) for y in [y0,y1] for x,z in loop]+ fs=[tuple(range(k-1,-1,-1)),tuple(range(k,2*k))]+ fs += [(i,(i+1)%k,(i+1)%k+k,i+k) for i in range(k)]+ o=mesh(name,vs,fs,mat)+ for i,f in enumerate(o.data.polygons):f.use_smooth=i>1+ return o++start('garden-roof-glass-half-2m')+swept_shell('Curved sealed pane',arc_profile(),arc_profile(1.990,.890),-.968,.968,GLASS)+for y in [-.97,.97]:swept_shell('Pane edge seal',arc_profile(2.004,.904),arc_profile(1.985,.885),y-.008,y+.008,RUBBER)+finish(current,[2,2,.9],{'ridge':[0,0,.9],'eave':[2,0,0],'start':[0,-1,0],'end':[0,1,0]})++start('garden-arch-half-2m')+swept_shell('Curved structural rib',arc_profile(2.045,.945),arc_profile(1.955,.855),-.05,.05,PAINT)+swept_shell('Inner rib reinforcement',arc_profile(1.96,.86),arc_profile(1.935,.835),-.032,.032,METAL)+box('Eave anchor',(2,0,.03),(.18,.16,.15),ORANGE,.027)+box('Crown splice',(.035,0,.907),(.16,.17,.12),METAL,.025)+finish(current,[2.1,.17,.97],{'ridge':[0,0,.9],'eave':[2,0,0]})++start('garden-roof-end-half-2m')+profile=arc_profile()+[(0,0)]+k=len(profile);vs=[(x,y,z) for y in [0,.010] for x,z in profile]+fs=[tuple(range(k-1,-1,-1)),tuple(range(k,2*k))]+[(i,(i+1)%k,(i+1)%k+k,i+k) for i in range(k)]+mesh('Arched end pane',vs,fs,GLASS)+box('End head rail',(1,.04,.02),(1.98,.13,.085),PAINT,.02)+box('Half crown mullion',(.025,.04,.45),(.05,.11,.90),PAINT,.012)+finish(current,[2,.17,.9],{'base':[0,0,0],'ridge':[0,0,.9],'side':[2,0,0]})++start('garden-ridge-2m')+box('Ridge spine',(0,0,.90),(.15,1.984,.16),PAINT,.04)+box('Ridge top cap',(0,0,1.00),(.19,1.98,.055),ORANGE,.02)+box('Grow light socket',(0,0,.797),(.12,1.77,.07),DARK,.018)+box('Warm grow light',(0,0,.755),(.085,1.64,.025),LAMP,.009)+finish(current,[.19,2,1.03],{'start':[0,-1,0],'end':[0,1,0],'ridge':[0,0,.9]})++start('garden-gutter-2m')+box('Gutter lower channel',(0,0,.025),(.20,1.985,.07),DARK,.018)+box('Gutter exterior lip',(.092,0,.09),(.045,1.98,.14),ORANGE,.018)+box('Gutter interior lip',(-.092,0,.07),(.035,1.98,.10),PAINT,.012)+for y in [-.78,.78]:box('Gutter bracket',(0,y,-.045),(.22,.11,.12),METAL,.022)+finish(current,[.22,2,.20],{'start':[0,-1,0],'end':[0,1,0]})++start('growing-bed-2m')+for x in [-.72,.72]:+ for y in [-.31,.31]:box('Bed leg',(x,y,.12),(.13,.13,.24),DARK,.025)+box('Planting basin',(0,0,.37),(1.84,.81,.48),PAINT,.065)+box('Basin top rim',(0,0,.61),(1.90,.87,.085),ORANGE,.03)+box('Growing medium',(0,0,.659),(1.71,.69,.036),SOIL,.018)+for y in [-.33,.33]:cylinder('Irrigation rail',(-.83,y,.69),(.83,y,.69),.018,DARK,12)+for x in [-.67,-.22,.22,.67]:+ for y in [-.33,.33]:cylinder('Dripper',(x,y,.69),(x,y*.73,.69),.010,METAL,10)+panel('Bed monitor',.28,.15,.025,(.48,.40),-.426,.025,DARK)+box('Moisture readout',(.48,-.447,.42),(.18,.008,.025),CYAN,.006)+text3d('HYDRO / 02',(-.34,-.414,.36),.045)+finish(current,[1.9,.87,.71],{'floor':[0,0,0],'crop':[0,0,.677]})++start('crop-tray-leafy')+box('Removable root mat',(0,0,.014),(1.64,.59,.028),SOIL,.008)+for ix in range(4):+ for iy in range(2):+ ox=-.61+ix*.40;oy=-.17+iy*.34+ stem=random.uniform(.24,.43)+ cylinder('Soft plant stem',(ox,oy,.025),(ox,oy,stem),.011,LEAF,10)+ for j in range(8):+ a=j*2.399+random.uniform(-.2,.2);length=random.uniform(.19,.31)+ origin=Vector((ox,oy,.055+j*.028))+ end=origin+Vector((math.cos(a)*length,math.sin(a)*length,random.uniform(.10,.21)))+ side=Vector((-math.sin(a),math.cos(a),0));vs=[];fs=[]+ for step in range(9):+ t=step/8;c=origin+(end-origin)*t;c.z+=math.sin(math.pi*t)*.10+ w=math.sin(math.pi*t)**.7*length*.29+ vs += [tuple(c-side*w),tuple(c+Vector((0,0,w*.24))),tuple(c+side*w)]+ for step in range(8):+ for edge in range(2):v=step*3+edge;fs.append((v,v+1,v+4,v+3))+ o=mesh('Broad edible leaf',vs,fs,FRESH if j%3==0 else LEAF,smooth=True)+ mod=o.modifiers.new('Leaf thickness','SOLIDIFY');mod.thickness=.001+ bpy.context.view_layer.objects.active=o;bpy.ops.object.modifier_apply(modifier=mod.name)+finish(current,[2,.9,.6],{'bed':[0,0,0]})++start('garden-irrigation-unit')+box('Pump plinth',(0,0,.07),(.64,.47,.14),DARK,.025)+box('Pump housing',(0,0,.58),(.58,.40,1.02),PAINT,.08)+box('Enamel cap',(0,0,1.10),(.59,.41,.12),ORANGE,.045)+panel('Pump display',.35,.30,.04,(0,.82),-.215,.02,DARK)+for j in range(3):box('Pump reading',(-.025,-.239,.74+j*.065),(.21-j*.04,.008,.014),CYAN,.003)+for x in [-.14,.14]:+ cylinder('Water outlet',(x,-.20,.29),(x,-.30,.29),.055,METAL)+ cylinder('Orange hose coupling',(x,-.29,.29),(x,-.34,.29),.06,ORANGE)+text3d('WATER / 01',(0,-.206,.47),.045)+finish(current,[.64,.60,1.16],{'floor':[0,0,0]})++# Existing habitat parts are referenced directly, keeping cross-kit door fit.+dependencies=[]+for name in ['wall-doorway-2m','entry-step-2m']:+ before=set(bpy.data.objects)+ path=PROJECT/'art/models/habitat-v2'/(name+'.glb')+ bpy.ops.import_scene.gltf(filepath=str(path));bpy.context.view_layer.update()+ added=list(set(bpy.data.objects)-before);meshes=[o for o in added if o.type=='MESH']+ coll=bpy.data.collections.new('DEPENDENCY / habitat / '+name);library.children.link(coll)+ root=bpy.data.objects.new('habitat/'+name,None);coll.objects.link(root)+ for o in meshes:+ transform=o.matrix_world.copy()+ for c in list(o.users_collection):c.objects.unlink(o)+ coll.objects.link(o);o.parent=root;o.matrix_parent_inverse=Matrix.Identity(4);o.matrix_basis=transform+ for slot in o.material_slots:+ candidate=next((m for key,m in materials.items() if slot.material.name.startswith(key)),None)+ if candidate:slot.material=candidate+ o.hide_set(True)+ for o in added:+ if o.type!='MESH':bpy.data.objects.remove(o,do_unlink=True)+ coll.hide_render=True+ assets['habitat/'+name]={'root':root,'parts':meshes,'collection':coll}+ dependencies.append({'id':'habitat/'+name,'glb':str(path.relative_to(PROJECT)).replace('\\','/')})++assembly=bpy.data.collections.new('ASSEMBLY / modular glass garden');scene.collection.children.link(assembly)+def place(name,p=(0,0,0),angle=0,coll=assembly,record=True):+ root=bpy.data.objects.new(name+' instance',None);coll.objects.link(root);root.location=p;root.rotation_euler.z=math.radians(angle)+ for original in assets[name]['parts']:+ o=original.copy();o.data=original.data;coll.objects.link(o);o.parent=root;o.hide_render=False;o.hide_set(False)+ if record:layout.append({'asset':name,'positionZUp':p,'yawZ':angle})+ return root++for y in [-2,0,2]:+ for x in [-1,1]:place('garden-floor-2m',(x,y,0))+ for x,a in [(2,90),(-2,270)]:+ place('garden-wall-glass-2m',(x,y,.21),a)+ place('garden-gutter-2m',(x,y,3.01),0 if x>0 else 180)+ for a in [0,180]:place('garden-roof-glass-half-2m',(0,y,3.01),a)+ place('garden-ridge-2m',(0,y,3.01))+for y in [-3,-1,1,3]:+ for a in [0,180]:place('garden-arch-half-2m',(0,y,3.01),a)+for y,a in [(-3,0),(3,180)]:+ for x in [-1,1]:+ if y<0 and x>0:+ place('habitat/wall-doorway-2m',(x,y,.21));place('garden-door-glass-120',(x,y,.21))+ place('habitat/entry-step-2m',(x,y-.03,0))+ else:place('garden-wall-glass-2m',(x,y,.21),a)+ for rotation in [0,180]:place('garden-roof-end-half-2m',(0,y,3.01),rotation)+ for x in [-2,2]:place('garden-corner-post',(x,y,.21))+for x in [-1.32,1.32]:+ for y in [-1.30,.80]:+ place('growing-bed-2m',(x,y,.21),90)+ place('crop-tray-leafy',(x,y,.887),90)+place('garden-irrigation-unit',(-1.15,2.45,.21))+catalog={'stage':'art-review','units':'metres','sourceUp':'Z','glbUp':'Y','assets':manifest,'dependencies':dependencies,+ 'expansion':'Repeat along Y in 2 m increments, move the end walls and add ribs. Current vault width is 4 m.'}+(HERE/'asset-catalog.json').write_text(json.dumps(catalog,indent=2,ensure_ascii=False)+'\n',encoding='utf-8')+(HERE/'assembly.json').write_text(json.dumps(layout,indent=2)+'\n',encoding='utf-8')++studio=bpy.data.collections.new('STUDIO / review only');scene.collection.children.link(studio)+material('Studio sand',(.26,.285,.265),0,.84)+start('studio');ground=box('Studio ground',(0,0,-.11),(200,200,.2),'Studio sand',0)+for c in list(ground.users_collection):c.objects.unlink(ground)+studio.objects.link(ground)+def light(name,p,power,size,color,target):+ data=bpy.data.lights.new(name,'AREA');data.energy=power;data.size=size;data.shape='DISK';data.color=color+ o=bpy.data.objects.new(name,data);studio.objects.link(o);o.location=p;o.rotation_euler=(Vector(target)-o.location).to_track_quat('-Z','Y').to_euler()+ return o+light('Warm key',(-5,-6,10),1800,6,(1,.84,.64),(0,0,1))+light('Cool fill',(7,-1,6),1200,6,(.65,.82,1),(0,0,1))+light('Rim',(6,7,5),1300,4,(1,.93,.76),(0,0,1))+for y in [-1.7,1.3]:light('Garden fill',(0,y,2.85),70,1.5,(1,.8,.50),(0,y,.3))+scene.world.use_nodes=True+scene.world.node_tree.nodes.get('Background').inputs['Color'].default_value=(.43,.57,.68,1)+scene.world.node_tree.nodes.get('Background').inputs['Strength'].default_value=.28+bpy.ops.object.camera_add(location=(9,-11,7));camera=bpy.context.object;camera.name='Garden review camera';scene.camera=camera+def camera_at(p,target,lens=47):+ camera.location=p;camera.rotation_euler=(Vector(target)-camera.location).to_track_quat('-Z','Y').to_euler();camera.data.lens=lens+camera_at((9,-11,7),(0,0,1.65))+scene.render.engine='CYCLES';scene.cycles.samples=96;scene.cycles.use_denoising=True+scene.cycles.max_bounces=16;scene.cycles.transmission_bounces=12;scene.cycles.transparent_max_bounces=24+try:+ pref=bpy.context.preferences.addons['cycles'].preferences;pref.compute_device_type='OPTIX';pref.get_devices()+ for d in pref.devices:d.use=d.type!='CPU'+ scene.cycles.device='GPU'+except Exception:scene.cycles.device='CPU'+scene.view_settings.view_transform='AgX';scene.view_settings.look='AgX - Medium High Contrast';scene.view_settings.exposure=.25+scene.render.resolution_x=1920;scene.render.resolution_y=1440;scene.render.resolution_percentage=100+scene.render.image_settings.file_format='PNG'+scene['reference']='art/concepts/selected-warm-sci-fi.png';scene['stage']='Art review; no in-engine acceptance.'+scene.render.filepath=str(REVIEW/'01-greenhouse.png')+bpy.ops.wm.save_as_mainfile(filepath=str(HERE/'greenhouse-v1.blend'))+if os.environ.get('GARDEN_SKIP_RENDER')!='1':+ bpy.ops.render.render(write_still=True)+ assembly.hide_render=True+ detail=bpy.data.collections.new('REVIEW / growing bed detail');scene.collection.children.link(detail)+ place('growing-bed-2m',(0,0,0),coll=detail,record=False)+ place('crop-tray-leafy',(0,0,.677),coll=detail,record=False)+ place('garden-irrigation-unit',(1.65,.22,0),coll=detail,record=False)+ camera_at((3.4,-5,3.05),(.40,0,.6),52)+ scene.render.filepath=str(REVIEW/'02-growing-bed.png');bpy.ops.render.render(write_still=True)+ detail.hide_render=True;detail.hide_viewport=True;assembly.hide_render=False++# Inspect roof, glazing, structure and planting as independent manufactured parts.+assembly.hide_render=True+board=bpy.data.collections.new('REVIEW / separate modules');scene.collection.children.link(board)+items=[('garden-wall-glass-2m','01 / GLAZED WALL 2 M'),('garden-roof-glass-half-2m','02 / CURVED GLASS 2 M'),('garden-arch-half-2m','03 / ARCH HALF 2 M'),+ ('garden-door-glass-120','04 / GARDEN DOOR'),('garden-roof-end-half-2m','05 / END GLAZING'),('garden-ridge-2m','06 / RIDGE + LIGHT'),+ ('growing-bed-2m','07 / GROWING BED'),('crop-tray-leafy','08 / REMOVABLE CROPS'),('garden-irrigation-unit','09 / IRRIGATION')]+for i,(name,label) in enumerate(items):+ x=(i%3-1)*4.2;z=(1-i//3)*4.2+ root=place(name,(x,0,z),-20,board,False);root.rotation_euler.x=math.radians(22)+ bpy.context.view_layer.update();points=[o.matrix_world@Vector(c) for o in root.children for c in o.bound_box]+ root.location.x+=x-(min(p.x for p in points)+max(p.x for p in points))/2+ root.location.z+=z-(min(p.z for p in points)+max(p.z for p in points))/2+ start('board');o=text3d(label,(x,-1.5,z-1.68),.16,INK)+ for c in list(o.users_collection):c.objects.unlink(o)+ board.objects.link(o)+start('board');backdrop=box('Sheet backdrop',(0,3,0),(40,.1,40),'Studio sand',0)+for c in list(backdrop.users_collection):c.objects.unlink(backdrop)+board.objects.link(backdrop);ground.hide_render=True+boardlight=light('Sheet fill',(0,-10,2),1500,12,(1,.95,.85),(0,0,0))+camera_at((0,-30,0),(0,0,0));camera.data.type='ORTHO';camera.data.ortho_scale=15.6+scene.render.resolution_x=1900;scene.render.resolution_y=1800;scene.render.filepath=str(REVIEW/'03-garden-modules.png')+if os.environ.get('GARDEN_SKIP_RENDER')!='1':bpy.ops.render.render(write_still=True)+board.hide_render=True;board.hide_viewport=True;ground.hide_render=False;assembly.hide_render=False+boardlight.hide_render=True;boardlight.hide_viewport=True;camera.data.type='PERSP'+camera_at((9,-11,7),(0,0,1.65));scene.render.resolution_x=1920;scene.render.resolution_y=1440+scene.render.filepath=str(REVIEW/'01-greenhouse.png')+bpy.ops.wm.save_as_mainfile(filepath=str(HERE/'greenhouse-v1.blend'))+print(json.dumps({'assets':len(manifest),'dependencies':len(dependencies),'instances':len(layout)}))diff --git a/games/star-neighbors/art/source/greenhouse-v1/greenhouse-v1.blend b/games/star-neighbors/art/source/greenhouse-v1/greenhouse-v1.blendnew file mode 100644index 000000000..883b0a915Binary files /dev/null and b/games/star-neighbors/art/source/greenhouse-v1/greenhouse-v1.blend differdiff --git a/games/star-neighbors/art/source/greenhouse-v1/textures/paint-normal.png b/games/star-neighbors/art/source/greenhouse-v1/textures/paint-normal.pngnew file mode 100644index 000000000..2970d6350Binary files /dev/null and b/games/star-neighbors/art/source/greenhouse-v1/textures/paint-normal.png differdiff --git a/games/star-neighbors/art/source/greenhouse-v1/textures/paint-roughness.png b/games/star-neighbors/art/source/greenhouse-v1/textures/paint-roughness.pngnew file mode 100644index 000000000..1c9ad3de2Binary files /dev/null and b/games/star-neighbors/art/source/greenhouse-v1/textures/paint-roughness.png differdiff --git a/games/star-neighbors/art/source/habitat-v2/README.md b/games/star-neighbors/art/source/habitat-v2/README.mdindex 9251faf72..1cee504e7 100644--- a/games/star-neighbors/art/source/habitat-v2/README.md+++ b/games/star-neighbors/art/source/habitat-v2/README.md@@ -7,7 +7,7 @@## 文件与展示- [可编辑 Blender](habitat-v2.blend):`LIBRARY` 保留按模型拆分的原始零件,`ASSEMBLY` 使用共享网格实例;模型没有合成一整座不可拆建筑。`REVIEW` 是隐藏的模块展示布局。-- [19 个独立 GLB](../../models/habitat-v2/):每个模型有安装原点,按材质合并绘制网格;法线、UV、粗糙度和微表面法线贴图包含在文件内。+- [22 个独立 GLB](../../models/habitat-v2/):每个模型有安装原点,按材质合并绘制网格;法线、UV、粗糙度和微表面法线贴图包含在文件内。新增独立梁、柱和梁端连接件用于大房间美术拼装。- [组装渲染](../../reviews/habitat-v2/01-assembled.png)、[窗户近景](../../reviews/habitat-v2/02-window-detail.png)、[九种主要模块](../../reviews/habitat-v2/03-module-sheet.png)、[导出文件重新组装的渲染](../../reviews/habitat-v2/04-export-roundtrip.png)。所有图片均由实际模型在 Blender 后台渲染。- [资产清单](asset-catalog.json) 包含每个部件的实际包围盒、三角面数、材质网格数、安装点;[装配清单](assembly.json) 保留 65 个实例的来源与变换。@@ -21,6 +21,7 @@| 屋顶,3 件 | roof-center-2m、roof-edge-2m、roof-corner-r050 | 平顶中心、卷边屋檐与复合圆角 || 设备,2 件 | roof-vent、wall-utility | 屋顶散热器、墙挂设备箱 || 室内,4 件 | interior-bench-2m、interior-console、ceiling-light-2m、interior-planter | 长椅、工作台、灯条和盆栽 |+| 大房间支撑,3 件 | support-column-2p8、ceiling-beam-2m、ceiling-beam-end-050 | 独立立柱、顶梁与 0.5 米檐口补跨;不代表已进行结构承载模拟 |## 尺寸与安装@@ -31,6 +32,15 @@- 组合示例中央地板为 6×4 米,外轮廓约 7×5 米,四周各加 0.5 米补边。墙位于外侧边界。**这一套圆角并非首版 2 米平顶试作的直接替换件**,需按本套边、角配合使用。- 墙与门洞原点为底边中点;门扇和门洞共用原点。屋顶边原点为墙顶中点;设备、家具原点为安装底部。灯条原点靠近底壳,顶部安装点在局部 Z=0.07 米。- 源文件与清单的坐标为 Z-up。GLB 根对象同时记录 `source_sockets_z_up` 与 `glb_sockets_y_up`,避免导入时混用坐标。+- 门洞扣除内侧门框后净宽约 1.20 米、净高约 2.26 米。门扇同步加宽,沿用原 `door-leaf-110` 资产标识以保留引用,该历史编号不再表示门扇宽度。门框、键盘与下沿也一起调整,墙体仍占 2 米一格。++## 扩建与人物尺度++[小房间与大房间对照](../../reviews/habitat-v2/05-room-expansion.png) 使用同一套网格,所有实例保持 1:1 比例。小房间中心地板为 6×4 米,外轮廓约 7×5 米;大房间中心地板为 12×8 米,外轮廓约 13×9 米。中央地板面积从 24 平方米变为 96 平方米。扩建通过增加 2 米地板/屋顶、外移外墙与圆角实现;没有整体拉伸窗、门或房间。++[大房间剖视](../../reviews/habitat-v2/06-expanded-cutaway.png) 暂时隐藏近侧部分屋顶,展示独立地板、顶梁与立柱。梁端各用 0.5 米连接件跨过外围补边并接入墙体。[可编辑对照场景](habitat-expansion.blend) 和 [198 个模块实例布局](expansion-layout.json) 可复用。当前支持矩形平面的扩建;L 形、内院、不同高度和多层需要继续补内凹角、连接口、楼梯等美术部件,不作为本轮已完成项。++[门洞尺度图](../../reviews/habitat-v2/07-doorway-scale.png) 将未变形的 1.78 米比例人偶放在门槛上,并隐藏独立门扇。当前姿态宽约 1.0605 米,门洞提供约 0.1395 米总横向余量和 0.48 米高度余量。它只证明几何尺度,尚无动画、衣服、背包或动态通行验收。人偶来自项目原有 CC0 MakeHuman 参照,见 [来源说明](../third-party/README.md),并非新制作的正式角色。[尺度记录](../../reviews/habitat-v2/scale-review.json)。## 材质与表面@@ -45,6 +55,7 @@```powershell& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/habitat-v2/build_habitat.py& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/habitat-v2/check_exports.py+& 'C:/Program Files/Blender Foundation/Blender 5.2/blender.exe' --background --factory-startup --python-exit-code 1 --python games/star-neighbors/art/source/habitat-v2/render_expansion.py```[检查结果](../../reviews/habitat-v2/asset-check.json) 记录实际 GLB 的文件哈希、重新导入后的尺寸、网格/三角面、UV 和嵌入图片。检查脚本使用独立导出文件重新装配后渲染,不能代替引擎显示或用户美术验收。此前的玩法代码和其他首版模型沿用原状态。diff --git a/games/star-neighbors/art/source/habitat-v2/asset-catalog.json b/games/star-neighbors/art/source/habitat-v2/asset-catalog.jsonindex a10f9cc08..5fad86205 100644--- a/games/star-neighbors/art/source/habitat-v2/asset-catalog.json+++ b/games/star-neighbors/art/source/habitat-v2/asset-catalog.json@@ -236,12 +236,12 @@{"id": "door-leaf-110","nominal": [- 1.125,+ 1.235,0.3,2.34],"sourceDimensionsXYZ": [- 1.125,+ 1.235,0.311,2.27],@@ -550,6 +550,98 @@]},"glb": "art/models/habitat-v2/interior-planter.glb"+ },+ {+ "id": "support-column-2p8",+ "nominal": [+ 0.32,+ 0.32,+ 2.8+ ],+ "sourceDimensionsXYZ": [+ 0.32,+ 0.32,+ 2.8+ ],+ "triangles": 1128,+ "drawMeshes": 4,+ "editablePieces": 6,+ "sourceSockets": {+ "floor": [+ 0,+ 0,+ 0+ ],+ "ceiling": [+ 0,+ 0,+ 2.8+ ]+ },+ "glb": "art/models/habitat-v2/support-column-2p8.glb"+ },+ {+ "id": "ceiling-beam-2m",+ "nominal": [+ 2,+ 0.24,+ 0.24+ ],+ "sourceDimensionsXYZ": [+ 2.0,+ 0.24,+ 0.2375+ ],+ "triangles": 940,+ "drawMeshes": 4,+ "editablePieces": 5,+ "sourceSockets": {+ "left": [+ -1,+ 0,+ 0+ ],+ "right": [+ 1,+ 0,+ 0+ ],+ "ceiling": [+ 0,+ 0,+ 0+ ]+ },+ "glb": "art/models/habitat-v2/ceiling-beam-2m.glb"+ },+ {+ "id": "ceiling-beam-end-050",+ "nominal": [+ 0.5,+ 0.32,+ 0.28+ ],+ "sourceDimensionsXYZ": [+ 0.5,+ 0.32,+ 0.28+ ],+ "triangles": 564,+ "drawMeshes": 3,+ "editablePieces": 3,+ "sourceSockets": {+ "inner": [+ -0.25,+ 0,+ 0+ ],+ "wall": [+ 0.25,+ 0,+ 0+ ]+ },+ "glb": "art/models/habitat-v2/ceiling-beam-end-050.glb"}]}diff --git a/games/star-neighbors/art/source/habitat-v2/build_habitat.py b/games/star-neighbors/art/source/habitat-v2/build_habitat.pyindex 7332c47fc..7f8de4e4c 100644--- a/games/star-neighbors/art/source/habitat-v2/build_habitat.py+++ b/games/star-neighbors/art/source/habitat-v2/build_habitat.py@@ -10,8 +10,9 @@ from mathutils import Vector, MatrixHERE = Path(__file__).resolve().parentPROJECT = HERE.parents[2]-OUT = PROJECT / 'art/models/habitat-v2'-REVIEW = PROJECT / 'art/reviews/habitat-v2'+KIT_SLUG = globals().get('KIT_SLUG', 'habitat-v2')+OUT = PROJECT / 'art/models' / KIT_SLUG+REVIEW = PROJECT / 'art/reviews' / KIT_SLUGTEX = HERE / 'textures'for p in (OUT, REVIEW, TEX): p.mkdir(parents=True, exist_ok=True)random.seed(1022)@@ -183,7 +184,7 @@ def wall_trim(w=2,entrance=False):box('Module seam gasket',(x,.077,1.4),(.025,.16,2.79),RUBBER,.003)box('Removable joint cover',(x,-.017,1.4),(.058,.052,2.62),PAINT,.018)if entrance:- for x in [-.83,.83]:box('Foot rail',(x,-.025,.105),(.25,.15,.18),DARK,.025)+ for x in [-.87,.87]:box('Foot rail',(x,-.025,.105),(.17,.15,.18),DARK,.025)else:box('Foot rail',(0,-.025,.105),(w-.10,.15,.18),DARK,.025)box('Upper enamel ribbon',(0,-.033,2.565),(w-.12,.055,.13),ORANGE,.025)@@ -192,7 +193,7 @@ def wall_trim(w=2,entrance=False):for x in [-w/2+.14,w/2-.14]:screw(x,-.035,2.55);screw(x,-.02,.34)if entrance:- for x in [-.83,.83]:box('Lower rain joint',(x,-.023,.45),(.19,.026,.018),DARK,.005)+ for x in [-.87,.87]:box('Lower rain joint',(x,-.023,.45),(.15,.026,.018),DARK,.005)else:box('Lower rain joint',(0,-.023,.45),(w-.18,.026,.018),DARK,.005)@@ -241,6 +242,7 @@ def finish(name,nominal,sockets):coll.hide_render=Truefor o in parts:o.hide_set(True)+# -- End shared art helpers --wall_sockets={'left':[-1,0,0],'right':[1,0,0],'roof':[0,0,2.8]}start('floor-2m')@@ -300,7 +302,7 @@ for name,w in [('wall-solid-2m',2),('wall-window-2m',2),('wall-panorama-4m',4),(for i in range(11):box('Vent blade',(-.55+i*.11,-.06,.67),(.056,.037,.135),METAL,.009)else:door='doorway' in name- iw,ih,ir,cz=(1.18,2.35,.24,1.245) if door else (w-.40,1.63,.24,1.59)+ iw,ih,ir,cz=(1.29,2.35,.24,1.245) if door else (w-.40,1.63,.24,1.59)frame('Insulated wall skin',(w-.014,2.8,.06),(iw,ih,ir),(0,cz),0,.22,INNER,(0,1.4))frame('Outer shell',(w-.07,2.73,.07),(iw+.06,ih+.06,ir+.03),(0,cz),-.018,.04,PAINT,(0,1.4))frame('Recess gasket',(iw+.12,ih+.12,ir+.06),(iw-.01,ih-.01,ir),(0,cz),-.047,.06,RUBBER)@@ -315,10 +317,10 @@ for name,w in [('wall-solid-2m',2),('wall-window-2m',2),('wall-panorama-4m',4),(for x in [-iw/2+.11,iw/2-.11]:box('Window latch',(x,-.105,cz-ih/2+.07),(.10,.045,.038),METAL,.009)else:- box('Door threshold',(0,.06,.07),(1.24,.45,.085),METAL,.018)- box('Keypad mount',(.80,-.072,1.22),(.20,.15,.40),DARK,.05)- panel('Keypad glass',.122,.25,.026,(.80,1.25),-.153,.012,CYAN)- for z in [1.17,1.23,1.29]:box('Keypad graphic',(.8,-.169,z),(.06,.006,.012),WHITE,.002)+ box('Door threshold',(0,.06,.07),(1.35,.45,.085),METAL,.018)+ box('Keypad mount',(.85,-.072,1.22),(.14,.15,.40),DARK,.04)+ panel('Keypad glass',.10,.25,.024,(.85,1.25),-.153,.012,CYAN)+ for z in [1.17,1.23,1.29]:box('Keypad graphic',(.85,-.169,z),(.055,.006,.012),WHITE,.002)wall_trim(w,entrance='doorway' in name)if 'doorway' in name:# Entrance header remains readable above the standardized ribbon.@@ -326,9 +328,9 @@ for name,w in [('wall-solid-2m',2),('wall-window-2m',2),('wall-panorama-4m',4),(finish(name,[w,.22,2.8],{'left':[-w/2,0,0],'right':[w/2,0,0],'roof':[0,0,2.8]})start('door-leaf-110')-frame('Door perimeter seal',(1.125,2.27,.215),(.17,.77,.084),(-.23,1.64),.10,.09,RUBBER,(0,1.205))-frame('Door outer leaf',(1.09,2.23,.195),(.17,.77,.084),(-.23,1.64),.075,.12,PAINT,(0,1.205))-frame('Inset door panel',(.81,1.99,.17),(.17,.77,.084),(-.23,1.64),.055,.032,INNER,(0,1.205))+frame('Door perimeter seal',(1.235,2.27,.215),(.17,.77,.084),(-.23,1.64),.10,.09,RUBBER,(0,1.205))+frame('Door outer leaf',(1.20,2.23,.195),(.17,.77,.084),(-.23,1.64),.075,.12,PAINT,(0,1.205))+frame('Inset door panel',(.92,1.99,.17),(.17,.77,.084),(-.23,1.64),.055,.032,INNER,(0,1.205))frame('Vision gasket',(.23,.83,.115),(.17,.77,.085),(-.23,1.64),.028,.05,DARK)panel('Vision glass',.17,.77,.084,(-.23,1.64),.055,.012,GLASS)box('Orange safety spine',(.30,.025,1.20),(.065,.03,1.56),ORANGE,.018)@@ -337,7 +339,7 @@ cylinder('Door pull',(.32,-.09,.90),(.32,-.09,1.25),.026,METAL)for z in [.62,.70,.78]:box('Lower door emboss',(-.1,.031,z),(.45,.024,.02),DARK,.006)text3d('01',(-.02,.013,1.55),.19)text3d('HOME',(-.02,.012,1.43),.048)-finish(current,[1.125,.3,2.34],{'doorway':[0,0,0]})+finish(current,[1.235,.3,2.34],{'doorway':[0,0,0]})start('wall-corner-r050')arc_section('Curved insulated shell',.28,.50,0,2.8,PAINT)@@ -473,6 +475,27 @@ for i in range(13):bpy.context.view_layer.objects.active=o;bpy.ops.object.modifier_apply(modifier=mod.name)finish(current,[.8,.8,.85],{'support':[0,0,0]})+start('support-column-2p8')+box('Load-bearing core',(0,0,1.4),(.16,.16,2.8),DARK,.025)+for z in [.065,2.735]:+ box('Column shoe',(0,0,z),(.32,.32,.13),METAL,.028)+ box('Enamel collar',(0,0,.15 if z<1 else 2.65),(.24,.24,.07),ORANGE,.018)+box('Column jacket',(0,0,1.4),(.20,.20,2.40),PAINT,.04)+finish(current,[.32,.32,2.8],{'floor':[0,0,0],'ceiling':[0,0,2.8]})++start('ceiling-beam-2m')+box('Beam web',(0,0,-.10),(2,.12,.20),DARK,.016)+box('Beam lower flange',(0,0,-.19),(2,.24,.06),PAINT,.015)+for x in [-.92,.92]:box('Beam splice',(x,0,-.10),(.14,.18,.20),METAL,.02)+box('Recessed ceiling light',(0,0,-.225),(1.55,.075,.025),LAMP,.008)+finish(current,[2,.24,.24],{'left':[-1,0,0],'right':[1,0,0],'ceiling':[0,0,0]})++start('ceiling-beam-end-050')+box('Eave extension web',(0,0,-.10),(.50,.12,.20),DARK,.016)+box('Eave extension flange',(0,0,-.19),(.50,.24,.06),PAINT,.015)+box('Wall connection shoe',(.20,0,-.08),(.10,.32,.28),METAL,.02)+finish(current,[.50,.32,.28],{'inner':[-.25,0,0],'wall':[.25,0,0]})+# The composition is an assembly of linked module meshes, never a fused cabin.assembly=bpy.data.collections.new('ASSEMBLY / 7 x 5 metre home');scene.collection.children.link(assembly)def place(name,p=(0,0,0),angle=0,coll=assembly,record=True):diff --git a/games/star-neighbors/art/source/habitat-v2/check_exports.py b/games/star-neighbors/art/source/habitat-v2/check_exports.pyindex 47d0c9544..13c176058 100644--- a/games/star-neighbors/art/source/habitat-v2/check_exports.py+++ b/games/star-neighbors/art/source/habitat-v2/check_exports.py@@ -1,16 +1,21 @@"""Headless art QA: import every delivered GLB and rebuild its review assembly."""from pathlib import Path-import bpy, json, math, struct, hashlib+import bpy, json, math, struct, hashlib, argparse, sysfrom mathutils import Vector, Matrix-HERE=Path(__file__).resolve().parent+parser=argparse.ArgumentParser()+parser.add_argument('--kit',default='habitat-v2')+args=parser.parse_args(sys.argv[sys.argv.index('--')+1:] if '--' in sys.argv else [])+HERE=Path(__file__).resolve().parent.parent/args.kitPROJECT=HERE.parents[2]-REVIEW=PROJECT/'art/reviews/habitat-v2'-catalog=json.loads((HERE/'asset-catalog.json').read_text(encoding='utf-8'))['assets']+REVIEW=PROJECT/'art/reviews'/args.kit+manifest=json.loads((HERE/'asset-catalog.json').read_text(encoding='utf-8'))+catalog=manifest['assets']+manifest.get('dependencies',[])layout=json.loads((HERE/'assembly.json').read_text(encoding='utf-8'))-bpy.ops.wm.open_mainfile(filepath=str(HERE/'habitat-v2.blend'))+bpy.ops.wm.open_mainfile(filepath=str(HERE/(args.kit+'.blend')))scene=bpy.context.scene-scene.collection.children['ASSEMBLY / 7 x 5 metre home'].hide_render=True+for collection in scene.collection.children:+ if collection.name.startswith('ASSEMBLY /'):collection.hide_render=Trueimports=bpy.data.collections.new('QA / imported GLB library');scene.collection.children.link(imports)assembled=bpy.data.collections.new('QA / imported GLB assembly');scene.collection.children.link(assembled)results=[];cache={}@@ -30,7 +35,8 @@ for entry in catalog:bpy.context.view_layer.update()points=[o.matrix_world@Vector(c) for o in meshes for c in o.bound_box]dims=[max(p[i] for p in points)-min(p[i] for p in points) for i in range(3)]- assert all(abs(a-b)<.002 for a,b in zip(dims,entry['sourceDimensionsXYZ'])),(path,dims,entry['sourceDimensionsXYZ'])+ if 'sourceDimensionsXYZ' in entry:+ assert all(abs(a-b)<.002 for a,b in zip(dims,entry['sourceDimensionsXYZ'])),(path,dims,entry['sourceDimensionsXYZ'])triangles=0;zero_area=0for o in meshes:assert o.data.uv_layers,path@@ -38,10 +44,10 @@ for entry in catalog:assert all(math.isfinite(c) for layer in o.data.uv_layers for uv in layer.data for c in uv.uv),patho.data.calc_loop_triangles();triangles+=len(o.data.loop_triangles)zero_area+=sum(t.area<1e-12 for t in o.data.loop_triangles)- assert triangles==entry['triangles'],(path,triangles,entry['triangles'])- assert len(meshes)==entry['drawMeshes'],(path,len(meshes),entry['drawMeshes'])+ if 'triangles' in entry:assert triangles==entry['triangles'],(path,triangles,entry['triangles'])+ if 'drawMeshes' in entry:assert len(meshes)==entry['drawMeshes'],(path,len(meshes),entry['drawMeshes'])# Fonts contain tiny faces; reject genuinely collapsed triangles only.- if entry['id'] in ('wall-window-2m','wall-panorama-4m','door-leaf-110'):+ if any(m.get('name','').startswith('07 • smoked teal glass') for m in doc.get('materials',[])):assert 'KHR_materials_transmission' in doc.get('extensionsUsed',[]),pathcache[entry['id']]=[(o,o.matrix_world.copy()) for o in meshes]for o in objs:@@ -68,7 +74,7 @@ try:except Exception:scene.cycles.device='CPU'bpy.ops.render.render(write_still=True)report={'status':'passed','scope':'Background Blender GLB import, geometry/UV/bounds checks and reassembled render; not engine acceptance',- 'blender':bpy.app.version_string,'assets':len(results),'assemblyInstances':len(layout),+ 'blender':bpy.app.version_string,'assets':len(manifest['assets']),'dependencies':len(manifest.get('dependencies',[])),'assemblyInstances':len(layout),'trianglesUniqueKit':sum(x['triangles'] for x in results),'bytesGLB':sum(x['bytes'] for x in results),'results':results}(REVIEW/'asset-check.json').write_text(json.dumps(report,indent=2,ensure_ascii=False)+'\n',encoding='utf-8')diff --git a/games/star-neighbors/art/source/habitat-v2/expansion-layout.json b/games/star-neighbors/art/source/habitat-v2/expansion-layout.jsonnew file mode 100644index 000000000..74c9ce77a--- /dev/null+++ b/games/star-neighbors/art/source/habitat-v2/expansion-layout.json@@ -0,0 +1,2009 @@+{+ "sourceUp": "Z",+ "rooms": [+ {+ "zone": "small",+ "centralFloorMetres": [+ 6,+ 4+ ],+ "outerMetres": [+ 7,+ 5+ ]+ },+ {+ "zone": "large",+ "centralFloorMetres": [+ 12,+ 8+ ],+ "outerMetres": [+ 13,+ 9+ ]+ }+ ],+ "instances": [+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -11,+ -4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -11,+ -4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -11,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -11,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -11,+ -5.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -11,+ -5.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -11,+ -0.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -11,+ -0.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "wall-solid-2m",+ "positionZUp": [+ -11,+ -0.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -9,+ -4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -9,+ -4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -9,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -9,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -9,+ -5.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -9,+ -5.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -9,+ -0.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -9,+ -0.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "wall-solid-2m",+ "positionZUp": [+ -9,+ -0.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -7,+ -4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -7,+ -4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "floor-2m",+ "positionZUp": [+ -7,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-center-2m",+ "positionZUp": [+ -7,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -7,+ -5.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -7,+ -5.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -7,+ -0.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -7,+ -0.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "wall-solid-2m",+ "positionZUp": [+ -7,+ -0.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -11,+ -5.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -9,+ -5.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "wall-doorway-2m",+ "positionZUp": [+ -7,+ -5.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "door-leaf-110",+ "positionZUp": [+ -7,+ -5.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "entry-step-2m",+ "positionZUp": [+ -7,+ -5.53,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -12.5,+ -4,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -12.5,+ -4,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -12.5,+ -4,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -12.5,+ -2,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -12.5,+ -2,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -12.5,+ -2,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -5.5,+ -4,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -5.5,+ -4,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -5.5,+ -4,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -5.5,+ -2,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "wall-window-2m",+ "positionZUp": [+ -5.5,+ -2,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -5.5,+ -2,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -6,+ -5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -6,+ -5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -6,+ -5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -6,+ -1,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -6,+ -1,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -6,+ -1,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "small",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -12,+ -1,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -12,+ -1,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -12,+ -1,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "small",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -12,+ -5,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -12,+ -5,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -12,+ -5,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "small",+ "asset": "roof-vent",+ "positionZUp": [+ -11,+ -1.9,+ 3.51+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "roof-vent",+ "positionZUp": [+ -7,+ -1.9,+ 3.51+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "interior-bench-2m",+ "positionZUp": [+ -11,+ -1.2,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "small",+ "asset": "interior-bench-2m",+ "positionZUp": [+ -7,+ -1.2,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ -1,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ -1,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ -1,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ -1,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ -1,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ -1,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ -1,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ -1,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -1,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -1,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -1,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -1,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ -1,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 1,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 1,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 1,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 1,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 1,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 1,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 1,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 1,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 1,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 1,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 1,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 1,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ 1,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 3,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 3,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 3,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 3,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 3,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 3,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 3,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 3,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 3,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 3,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 3,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 3,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ 3,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 5,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 5,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 5,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 5,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 5,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 5,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 5,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 5,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 5,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 5,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 5,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 5,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ 5,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 7,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 7,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 7,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 7,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 7,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 7,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 7,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 7,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 7,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 7,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 7,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 7,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ 7,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 9,+ -2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 9,+ -2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 9,+ 0,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 9,+ 0,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 9,+ 2,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 9,+ 2,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "floor-2m",+ "positionZUp": [+ 9,+ 4,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-center-2m",+ "positionZUp": [+ 9,+ 4,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 9,+ -3.5,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 9,+ -3.5,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 9,+ 5.5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 9,+ 5.5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-solid-2m",+ "positionZUp": [+ 9,+ 5.5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ -1,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 1,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 3,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 5,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 7,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-doorway-2m",+ "positionZUp": [+ 9,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "door-leaf-110",+ "positionZUp": [+ 9,+ -3.5,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "entry-step-2m",+ "positionZUp": [+ 9,+ -3.53,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -2.5,+ -2,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ -2.5,+ -2,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -2.5,+ -2,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -2.5,+ 0,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ -2.5,+ 0,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -2.5,+ 0,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -2.5,+ 2,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ -2.5,+ 2,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -2.5,+ 2,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ -2.5,+ 4,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ -2.5,+ 4,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ -2.5,+ 4,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 10.5,+ -2,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 10.5,+ -2,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 10.5,+ -2,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 10.5,+ 0,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 10.5,+ 0,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 10.5,+ 0,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 10.5,+ 2,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 10.5,+ 2,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 10.5,+ 2,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "foundation-edge-2m",+ "positionZUp": [+ 10.5,+ 4,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "wall-window-2m",+ "positionZUp": [+ 10.5,+ 4,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "roof-edge-2m",+ "positionZUp": [+ 10.5,+ 4,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ 10,+ -3,+ 0+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "wall-corner-r050",+ "positionZUp": [+ 10,+ -3,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-corner-r050",+ "positionZUp": [+ 10,+ -3,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ 10,+ 5,+ 0+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "wall-corner-r050",+ "positionZUp": [+ 10,+ 5,+ 0.21+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "roof-corner-r050",+ "positionZUp": [+ 10,+ 5,+ 3.01+ ],+ "yawZ": 90+ },+ {+ "zone": "large",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -2,+ 5,+ 0+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -2,+ 5,+ 0.21+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -2,+ 5,+ 3.01+ ],+ "yawZ": 180+ },+ {+ "zone": "large",+ "asset": "foundation-corner-r050",+ "positionZUp": [+ -2,+ -3,+ 0+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "wall-corner-r050",+ "positionZUp": [+ -2,+ -3,+ 0.21+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-corner-r050",+ "positionZUp": [+ -2,+ -3,+ 3.01+ ],+ "yawZ": 270+ },+ {+ "zone": "large",+ "asset": "roof-vent",+ "positionZUp": [+ -1,+ 4.1,+ 3.51+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-vent",+ "positionZUp": [+ 3,+ 4.1,+ 3.51+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "roof-vent",+ "positionZUp": [+ 7,+ 4.1,+ 3.51+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "interior-bench-2m",+ "positionZUp": [+ -1,+ 4.8,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "interior-bench-2m",+ "positionZUp": [+ 3,+ 4.8,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "interior-bench-2m",+ "positionZUp": [+ 7,+ 4.8,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "support-column-2p8",+ "positionZUp": [+ 2,+ 1,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "support-column-2p8",+ "positionZUp": [+ 6,+ 1,+ 0.21+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ -1,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ 1,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ 3,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ 5,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ 7,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-2m",+ "positionZUp": [+ 9,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-end-050",+ "positionZUp": [+ 10.25,+ 1,+ 3.01+ ],+ "yawZ": 0+ },+ {+ "zone": "large",+ "asset": "ceiling-beam-end-050",+ "positionZUp": [+ -2.25,+ 1,+ 3.01+ ],+ "yawZ": 180+ }+ ]+}diff --git a/games/star-neighbors/art/source/habitat-v2/habitat-expansion.blend b/games/star-neighbors/art/source/habitat-v2/habitat-expansion.blendnew file mode 100644index 000000000..fb277d819Binary files /dev/null and b/games/star-neighbors/art/source/habitat-v2/habitat-expansion.blend differdiff --git a/games/star-neighbors/art/source/habitat-v2/habitat-v2.blend b/games/star-neighbors/art/source/habitat-v2/habitat-v2.blendindex 6b9bfcbce..91bd3c121 100644Binary files a/games/star-neighbors/art/source/habitat-v2/habitat-v2.blend and b/games/star-neighbors/art/source/habitat-v2/habitat-v2.blend differdiff --git a/games/star-neighbors/art/source/habitat-v2/render_expansion.py b/games/star-neighbors/art/source/habitat-v2/render_expansion.pynew file mode 100644index 000000000..1482b8f50--- /dev/null+++ b/games/star-neighbors/art/source/habitat-v2/render_expansion.py@@ -0,0 +1,127 @@+"""Art-only assembly examples and an unmodified 1.78 m scale mannequin."""+from pathlib import Path+import bpy, json, math+from mathutils import Vector, Matrix+HERE=Path(__file__).resolve().parent;PROJECT=HERE.parents[2];REVIEW=PROJECT/'art/reviews/habitat-v2'+bpy.ops.wm.open_mainfile(filepath=str(HERE/'habitat-v2.blend'))+scene=bpy.context.scene;camera=scene.camera+original=scene.collection.children['ASSEMBLY / 7 x 5 metre home'];original.hide_render=True+library=scene.collection.children['LIBRARY / Independent modules']+assets={c.name.removeprefix('MODULE / '):[o for o in c.objects if o.type=='MESH'] for c in library.children}+coll=bpy.data.collections.new('EXPANSION / 7 x 5 and 13 x 9');scene.collection.children.link(coll)+records=[]+def place(name,p,angle=0,zone='large'):+ root=bpy.data.objects.new(zone+' / '+name,None);coll.objects.link(root);root.location=p;root.rotation_euler.z=math.radians(angle)+ root['module_id']=name;root['zone']=zone+ for original in assets[name]:+ o=original.copy();o.data=original.data;coll.objects.link(o);o.parent=root;o.hide_render=False;o.hide_set(False)+ records.append({'zone':zone,'asset':name,'positionZUp':p,'yawZ':angle})+ return root+def room(nx,ny,offset,zone):+ ox,oy=offset;xs=[2*i-(nx-1) for i in range(nx)];ys=[2*i-(ny-1) for i in range(ny)]+ wx=nx+.5;wy=ny+.5+ for x in xs:+ for y in ys:+ place('floor-2m',(ox+x,oy+y,0),zone=zone)+ place('roof-center-2m',(ox+x,oy+y,3.01),zone=zone)+ for y,a in [(-wy,0),(wy,180)]:+ for asset,z in [('foundation-edge-2m',0),('roof-edge-2m',3.01)]:place(asset,(ox+x,oy+y,z),a,zone)+ place('wall-solid-2m',(ox+x,oy+wy,.21),180,zone)+ for i,x in enumerate(xs):+ if i==len(xs)-1:+ place('wall-doorway-2m',(ox+x,oy-wy,.21),zone=zone)+ place('door-leaf-110',(ox+x,oy-wy,.21),zone=zone)+ place('entry-step-2m',(ox+x,oy-wy-.03,0),zone=zone)+ else:place('wall-window-2m',(ox+x,oy-wy,.21),zone=zone)+ for x,a in [(-wx,270),(wx,90)]:+ for y in ys:+ place('foundation-edge-2m',(ox+x,oy+y,0),a,zone)+ place('wall-window-2m',(ox+x,oy+y,.21),a,zone)+ place('roof-edge-2m',(ox+x,oy+y,3.01),a,zone)+ for x,y,a in [(nx,-ny,0),(nx,ny,90),(-nx,ny,180),(-nx,-ny,270)]:+ for asset,z in [('foundation-corner-r050',0),('wall-corner-r050',.21),('roof-corner-r050',3.01)]:place(asset,(ox+x,oy+y,z),a,zone)+ for x in xs[::2]:place('roof-vent',(ox+x,oy+ny-.9,3.51),zone=zone)+ for x in xs[::2]:place('interior-bench-2m',(ox+x,oy+ny-.2,.21),zone=zone)+ if nx>3:+ for x in [-2,2]:place('support-column-2p8',(ox+x,oy,.21),zone=zone)+ for x in xs:place('ceiling-beam-2m',(ox+x,oy,3.01),zone=zone)+ place('ceiling-beam-end-050',(ox+nx+.25,oy,3.01),zone=zone)+ place('ceiling-beam-end-050',(ox-nx-.25,oy,3.01),180,zone)+ return (ox+xs[-1],oy-wy)+small_door=room(3,2,(-9,-3),'small')+large_door=room(6,4,(4,1),'large')+(HERE/'expansion-layout.json').write_text(json.dumps({'sourceUp':'Z','rooms':[{'zone':'small','centralFloorMetres':[6,4],'outerMetres':[7,5]},+ {'zone':'large','centralFloorMetres':[12,8],'outerMetres':[13,9]}],'instances':records},indent=2)+'\n',encoding='utf-8')++# Scale-only body from the existing CC0 MakeHuman reference; no character redesign.+before=set(bpy.data.objects)+bpy.ops.import_scene.gltf(filepath=str(PROJECT/'assets/models/scale-mannequin.glb'))+bpy.context.view_layer.update();added=list(set(bpy.data.objects)-before)+body=[(o,o.matrix_world.copy()) for o in added if o.type=='MESH']+reference=bpy.data.collections.new('SCALE / existing reference only');scene.collection.children.link(reference)+for o in added:+ for c in list(o.users_collection):c.objects.unlink(o)+ reference.objects.link(o);o.hide_render=True;o.hide_set(True)+def mannequin(p,name):+ root=bpy.data.objects.new(name,None);coll.objects.link(root);root.location=p+ for o,matrix in body:+ copy=o.copy();copy.data=o.data;coll.objects.link(copy);copy.parent=root+ copy.matrix_parent_inverse=Matrix.Identity(4);copy.matrix_basis=matrix;copy.hide_render=False;copy.hide_set(False)+ return root+for label,(x,y) in [('small',small_door),('large',large_door)]:mannequin((x,y-.46,.25),label+' / 1.78 m reference')+def text(body,p,size=.32):+ data=bpy.data.curves.new(body,'FONT');data.body=body;data.align_x='CENTER';data.size=size;data.extrude=.001+ o=bpy.data.objects.new(body,data);coll.objects.link(o);o.location=p+ data.materials.append(bpy.data.materials['11 • dark graphic'])+text('7 x 5 M / SAME MODULES',(-9,-7,0.005))+text('13 x 9 M / SAME MODULES',(4,-5,0.005))+def camera_at(p,target,lens=48):+ camera.location=p;camera.rotation_euler=(Vector(target)-camera.location).to_track_quat('-Z','Y').to_euler();camera.data.lens=lens+def light(name,p,power,size):+ data=bpy.data.lights.new(name,'AREA');data.energy=power;data.size=size;data.shape='DISK'+ o=bpy.data.objects.new(name,data);scene.collection.objects.link(o);o.location=p+ o.rotation_euler=(Vector((0,0,1))-o.location).to_track_quat('-Z','Y').to_euler()+light('Expansion fill',(-7,-9,12),2500,11)+light('Expansion rim',(4,9,14),3200,9)+try:+ pref=bpy.context.preferences.addons['cycles'].preferences;pref.compute_device_type='OPTIX';pref.get_devices()+ for d in pref.devices:d.use=d.type!='CPU'+ scene.cycles.device='GPU'+except Exception:scene.cycles.device='CPU'+scene.cycles.samples=80+scene.render.resolution_x=2200;scene.render.resolution_y=1350+camera_at((21,-31,24),(-1,-.4,1.2),48)+scene.render.filepath=str(REVIEW/'05-room-expansion.png')+bpy.ops.wm.save_as_mainfile(filepath=str(HERE/'habitat-expansion.blend'))+bpy.ops.render.render(write_still=True)++# Separate cutaway shows the repeated floors, independent ceiling beams and columns.+for root in list(coll.objects):+ if root.parent:continue+ if root.get('zone')=='small' or root.name.startswith('small /') or root.type=='FONT':+ root.hide_render=True+ for child in root.children:child.hide_render=True+ if root.get('zone')=='large' and root.get('module_id','').startswith('roof-') and root.location.y<1.1:+ for child in root.children:child.hide_render=True+camera_at((18,-18,18),(4,0,1.1),52)+scene.render.resolution_x=1920;scene.render.resolution_y=1440+scene.render.filepath=str(REVIEW/'06-expanded-cutaway.png');bpy.ops.render.render(write_still=True)++# A direct doorway fit review, standing on the actual threshold with the leaf removed.+coll.hide_render=True;original.hide_render=False+for o in original.objects:+ if o.type=='EMPTY' and o.get('asset')=='door-leaf-110':+ for child in o.children:child.hide_render=True+scale_coll=bpy.data.collections.new('REVIEW / doorway scale');scene.collection.children.link(scale_coll)+person=mannequin((2,-2.47,.325),'Doorway / 1.78 m reference')+for o in [person,*person.children]:+ coll.objects.unlink(o);scale_coll.objects.link(o)+camera_at((4.5,-8.5,3.15),(1.9,-2.50,1.55),56)+scene.render.resolution_x=1600;scene.render.resolution_y=1600+scene.render.filepath=str(REVIEW/'07-doorway-scale.png');bpy.ops.render.render(write_still=True)+report={'mannequinHeightMetres':1.78,'mannequinPoseWidthMetres':1.0605,'doorClearWidthMetres':1.20,'doorClearHeightMetres':2.26,+ 'heightMarginMetres':.48,'totalWidthMarginMetres':.1395,'scope':'Geometry scale review only; no animation or collision acceptance',+ 'largeRoomOuterMetres':[13,9],'smallRoomOuterMetres':[7,5],'allModulesScale':[1,1,1],+ 'layoutInstances':len(records),'source':'assets/models/scale-mannequin.glb'}+(REVIEW/'scale-review.json').write_text(json.dumps(report,indent=2)+'\n',encoding='utf-8')+print(json.dumps(report))diff --git a/games/star-neighbors/docs/07-modular-production.md b/games/star-neighbors/docs/07-modular-production.mdindex 20cd24cab..e09ea1035 100644--- a/games/star-neighbors/docs/07-modular-production.md+++ b/games/star-neighbors/docs/07-modular-production.md@@ -2,7 +2,7 @@日期:2026-10-22。用户明确要求“必须模块化”。本文件约束当前试作及后续扩展;已实现项和未来接口分别说明。-当前新增的居住舱美术套件独立存放在 [habitat-v2](../art/source/habitat-v2/README.md),包含 19 个 GLB、可编辑源文件与实际渲染。它采用圆弧转角、独立屋檐和通透玻璃,安装细节以该目录说明为准;尚未替换下述首版 Web 样区。依用户最新要求,当前工作聚焦美术资产。+当前新增的居住舱美术套件独立存放在 [habitat-v2](../art/source/habitat-v2/README.md),包含 22 个 GLB、可编辑源文件与实际渲染,已制作 7×5 米与 13×9 米的同部件拼装对照。另有 [greenhouse-v1](../art/source/greenhouse-v1/README.md) 的 12 个温室模型,复用居住舱门洞与台阶。安装细节以各目录说明为准;尚未替换下述首版 Web 样区。依用户最新要求,当前工作聚焦美术资产。## 1. 当前交付