Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
fix(site): Holodeck Meridian pack follows the closed arcade arch and bay (#313)
Matthew Kissinger9277f4223ee1
diff --git a/assets/readme/holodeck-showcase.json b/assets/readme/holodeck-showcase.jsonindex 7b851fb9..ab7f492c 100644--- a/assets/readme/holodeck-showcase.json+++ b/assets/readme/holodeck-showcase.json@@ -5,9 +5,9 @@"alt": "Arriving at Meridian Sanctuary: the causeway runs between mirror pools and cypresses toward the gate tower and its mirror orb.","world": "https://holodeck.kilnstudio.tools/worlds/meridian-sanctuary/","view": "meridian-sanctuary-arrival",- "inputPath": "media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.png",- "inputSha256": "3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0",- "sha256": "df85d99367280e2fd96ddc1f77ab2fc88074fab0105989e7ddf6c3781b7214c1",+ "inputPath": "media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.png",+ "inputSha256": "fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d",+ "sha256": "c74efe25c897ab58332777d33d07569807e1894cabfec2c55aa1c18f2e02f0ac","width": 960,"height": 540,"framing": {diff --git a/assets/readme/meridian-sanctuary.webp b/assets/readme/meridian-sanctuary.webpindex f43fbc06..2bd28df2 100644Binary files a/assets/readme/meridian-sanctuary.webp and b/assets/readme/meridian-sanctuary.webp differdiff --git a/packs/holodeck/published.json b/packs/holodeck/published.jsonindex 9a749325..41ffc2a5 100644--- a/packs/holodeck/published.json+++ b/packs/holodeck/published.json@@ -76,6 +76,16 @@"bytes": 1166667,"sha256": "e0e54042beb629fa81a7ed369ab95fcfc93090ea5b334f51ac5a11232a602c3d"},+ {+ "path": "media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.png",+ "bytes": 1792190,+ "sha256": "e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be"+ },+ {+ "path": "media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.png",+ "bytes": 1974966,+ "sha256": "fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d"+ },{"path": "media/rig/review-neutral-v1/holodeck/holodeck-20261022-01/bench-park.png","bytes": 1628997,@@ -1056,6 +1066,16 @@"bytes": 1309104,"sha256": "5b6d042956bb1e405c341559362076539b6dd98260475972c80ce1be3005a229"},+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.png",+ "bytes": 1827206,+ "sha256": "9d383ea3f5dc320c8ef224d01d01c718295560e9d08cd6a4839e1003b8e0c13d"+ },+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.png",+ "bytes": 1535604,+ "sha256": "46653bf3e462b16e6530041710e76468ad2bb35edd32da08104960980f3f79dd"+ },{"path": "packs/holodeck/objects/0067d55bd04efe6252de61784ee2be8907ccfbab3e799bbc7915fde4c7556b5f/winter-wmc-deck-tile-runtime.zip","bytes": 57577,@@ -1166,6 +1186,11 @@"bytes": 46773,"sha256": "093c34fade5ee04a5b525981f4745bacabfd1af169ee43dc5957363ede042493"},+ {+ "path": "packs/holodeck/objects/0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c/meridian-arcade-arch-runtime.zip",+ "bytes": 291256,+ "sha256": "0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c"+ },{"path": "packs/holodeck/objects/0a707a70d99abd9762fef36c9196f6c5134e640973ae5b6e8c89f16568fba2c0/crescent-debris-driftwood-log.glb","bytes": 179360,@@ -1431,6 +1456,11 @@"bytes": 450744,"sha256": "1fd5d12dbb07e88452fd3c287543db3d3a79c6b132a31ab5e8b8584bfeb23402"},+ {+ "path": "packs/holodeck/objects/20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697/holodeck-meridian-sanctuary-runtime.zip",+ "bytes": 18007135,+ "sha256": "20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697"+ },{"path": "packs/holodeck/objects/20c91925bf1643d40dbb9e0ab9b4f104e7dd1c9b9db19b601edd2f12188d305c/meridian-statue-figure-runtime.zip","bytes": 595090,@@ -1466,6 +1496,11 @@"bytes": 27892,"sha256": "22487b5fd5c78c812740aacd3d3136134c500d9db04944ec505830618cd3760b"},+ {+ "path": "packs/holodeck/objects/225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555/meridian-arcade-arch-editable.zip",+ "bytes": 519322,+ "sha256": "225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555"+ },{"path": "packs/holodeck/objects/228f9d95ad5c5f6972c16c2c6de7760b479e68daeac9298e2147a8cad15944df/pave-field-a-runtime.zip","bytes": 24897,@@ -2011,6 +2046,11 @@"bytes": 1921242,"sha256": "4c2672a57cd6d06b2e86038430959374a7f8e6e25ba51a3781b15005f60aa0db"},+ {+ "path": "packs/holodeck/objects/4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c/meridian-arcade-bay-editable.zip",+ "bytes": 491712,+ "sha256": "4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c"+ },{"path": "packs/holodeck/objects/4ce9eff2ac967533259295fe7a547beb333b163a1ae1dfedfab7cd9d43de2cff/crescent-debris-driftwood-pile.glb","bytes": 185496,@@ -2146,6 +2186,11 @@"bytes": 952224,"sha256": "5774ef4bcd089cfc6832437e6ffae33aa6a0e9e936c0ec81e1608a8041844a50"},+ {+ "path": "packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb",+ "bytes": 609064,+ "sha256": "578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945"+ },{"path": "packs/holodeck/objects/58d407731cbf0b77f20e96270cd7dd3d5e959ac090c6d4eadee97aa5b263fae2/crescent-plant-grass-tuft-runtime.zip","bytes": 20912,@@ -2471,6 +2516,11 @@"bytes": 938025,"sha256": "7380695a993709d631b8ef4e3c74de1f64699c7b61716d4c466b4a6f71fdcd77"},+ {+ "path": "packs/holodeck/objects/73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e/meridian-arcade-bay-runtime.zip",+ "bytes": 315174,+ "sha256": "73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e"+ },{"path": "packs/holodeck/objects/740bb18a2841cff74418a10447811afe5eb46105163d54fa1c21a4c9e9ebbf07/crescent-debris-fronds.glb","bytes": 42236,@@ -2551,6 +2601,11 @@"bytes": 275932,"sha256": "7a686725e3aefcabeaf289fd7185f43bc85906d59f06617ff11828497de62e0f"},+ {+ "path": "packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb",+ "bytes": 493604,+ "sha256": "7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41"+ },{"path": "packs/holodeck/objects/7ae561eda40d24337c1ba999d47a37ed92172a6cb2a24b0d522d024114a9bb1f/crescent-palm-young-runtime.zip","bytes": 139760,@@ -3786,6 +3841,11 @@"bytes": 39922,"sha256": "e3a76a324d2cd9769040401f6f0dc34a97f61c7e4a04bd22214e5dd08e9b3ade"},+ {+ "path": "packs/holodeck/objects/e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc/holodeck-meridian-sanctuary-editable.zip",+ "bytes": 28588439,+ "sha256": "e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc"+ },{"path": "packs/holodeck/objects/e409c56f8444ddbcc86400c0c9b77927166c176a1c61a29c07d54d91234bb0b5/winter-wmc-fir-sapling-a-editable.zip","bytes": 760139,diff --git a/packs/holodeck/releases.json b/packs/holodeck/releases.jsonindex 22caf718..f2edf8e8 100644--- a/packs/holodeck/releases.json+++ b/packs/holodeck/releases.json@@ -25,6 +25,13 @@"bytes": 190798,"sha256": "4565733e436796d7e319e22ebf3ca86997e880f44eaa07274fbd0d57a860c14f"}+ },+ {+ "release": "holodeck-20261028-02",+ "selection": {+ "bytes": 190834,+ "sha256": "e8a649c64b6216bb5275e1f2a52b60a5ee32fc8136a734be17f8dd1c60bd5453"+ }}]}diff --git a/packs/holodeck/selection.json b/packs/holodeck/selection.jsonindex 4d450297..ed8b96a6 100644--- a/packs/holodeck/selection.json+++ b/packs/holodeck/selection.json@@ -1,6 +1,6 @@{"schemaVersion": 1,- "release": "holodeck-20261026-01",+ "release": "holodeck-20261028-02","licence": "CC0-1.0","versions": "final-only","packs": {@@ -236,11 +236,11 @@"scene": "meridian-sanctuary","source": {"kind": "holodeck-example",- "ref": "main",- "commit": "5ccad52d3e816602d1c1802177c4aed7d3926d3b",+ "ref": "046b70ded7009fd5291b8a9d8949a61469a960e0",+ "commit": "046b70ded7009fd5291b8a9d8949a61469a960e0","path": "examples/meridian-sanctuary","sourceRevision": 27,- "worldSha256": "911fe13d1121caccc90ae8d9549307ac4f07cf2506daa726f63a7d8cc7ad5db2"+ "worldSha256": "f1b53cdd6f9f4433eaf57abbb8d477333164d3f9db78c45afdf2c6d2f67dcb3f"},"assets": ["cove-structure",@@ -4966,23 +4966,23 @@"store": "marble-sanctuary","collection": "project","assetId": "a_71cef64b7f8143478db7afd63d553974",- "revisionId": "r_e9e14002aa444492805007f0bf30dfee",- "parentRevision": "r_d412b7188d4344c78498ab6fb0be1076",+ "revisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "parentRevision": "r_e9e14002aa444492805007f0bf30dfee","manifest": {- "bytes": 10623,- "sha256": "e64508784b106b4794d6fe94f97b1e403ce56de9a935727a6beefdb588153672"+ "bytes": 10652,+ "sha256": "28d532c8c44c4ade3760cc7ad7ff4dd6ab1f92184f9fc3769178ecbef3cce82f"},"source": {- "bytes": 65350,- "sha256": "162bc29bb236379c28cf731a77fe52dcaa8905176f21a093cf25efc19f5303b1"+ "bytes": 66701,+ "sha256": "aaa8c16569b07cb433704d94dd361ca3b5eca867e46f8fdd153bbd05b30628be"},"canonical": {- "bytes": 446504,- "sha256": "31800d916aee1b6bca31ab51c3577b813cef9982ba0d7fbdc5e6760d83a3ab7b"+ "bytes": 493376,+ "sha256": "ac28768682b314ed66ad7b04689ebd46d94708073be16269ec3d38a81d2390bd"},"preview": {- "bytes": 182378,- "sha256": "11af17d1e6a4bb250136470367736390155c4bc06ae71fdfba42bffa7b4657c3"+ "bytes": 209502,+ "sha256": "d93c46b69d643ed3ba6f12af31ef86e21ae9c92074ceca6f8f62cbb5b463bb59"},"placements": [{@@ -5716,23 +5716,23 @@"store": "marble-sanctuary","collection": "project","assetId": "a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6",- "revisionId": "r_60cc31247cad446a95672bddc01ae520",- "parentRevision": "r_205d267f0d22467ba12953656d47e268",+ "revisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "parentRevision": "r_60cc31247cad446a95672bddc01ae520","manifest": {- "bytes": 10583,- "sha256": "8bd867c426815de9d08a90019667640861590f36edd56c612f73226c0a9df536"+ "bytes": 10598,+ "sha256": "e8d72e4831caccf4bb32af3bed7bbbf561022e340edb654a30d12b68e6bff7ce"},"source": {- "bytes": 65349,- "sha256": "19ea35e682ab0761fc4e479b9e0dc85a75a947fe6b97020d8d9e0a59c1ba000f"+ "bytes": 66700,+ "sha256": "836d25f97336a6ebd482f4249e673ccac934ddaf8d83a319e05ce31178a44b8f"},"canonical": {- "bytes": 561964,- "sha256": "bf2e816bd344c60734361a581266831601546c8afddd49e80554110d64de815d"+ "bytes": 608836,+ "sha256": "75f2c2550908103bbd11872a441903c024bcafcfbada4a5890846696eac94521"},"preview": {- "bytes": 149231,- "sha256": "9e95dcb4de1ab79fee6293fd5a5869870f7aa753b279c0e7cfae22bc1840c1e6"+ "bytes": 160700,+ "sha256": "eedbcb73482c61c1482e1b45e3478e771752418d7532425618958773d872f3d3"},"placements": [{diff --git a/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/manifest.json b/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/manifest.jsonnew file mode 100644index 00000000..8212187a--- /dev/null+++ b/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/manifest.json@@ -0,0 +1,367 @@+{+ "version": "kiln.asset.v1",+ "assetId": "a_71cef64b7f8143478db7afd63d553974",+ "revisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "parentRevision": "r_e9e14002aa444492805007f0bf30dfee",+ "name": "arcade-arch",+ "tags": [+ "meridian-sanctuary",+ "architecture",+ "arcade"+ ],+ "createdAt": "2026-10-28T14:50:44.237Z",+ "description": "Arcade arch span 4.8 m (round arch, stepped order, archivolt, cornice and ivy trough), closed at both ends and on its springing seat.",+ "editable": true,+ "files": {+ "asset.glb": {+ "sha256": "sha256:ac28768682b314ed66ad7b04689ebd46d94708073be16269ec3d38a81d2390bd",+ "bytes": 493376+ },+ "source.kiln.js": {+ "sha256": "sha256:aaa8c16569b07cb433704d94dd361ca3b5eca867e46f8fdd153bbd05b30628be",+ "bytes": 66701+ },+ "preview.png": {+ "sha256": "sha256:d93c46b69d643ed3ba6f12af31ef86e21ae9c92074ceca6f8f62cbb5b463bb59",+ "bytes": 209502+ }+ },+ "build": {+ "engine": "sha256:d1c12efdb98720e77eefec461b44c6eeefcbe8506abf94f31ada0b040c0555b3",+ "options": {+ "gltfExporter": "legacy",+ "optimize": "off",+ "instance": "auto",+ "geometryPolicy": "warn",+ "indexPolicy": "indexed",+ "qaMode": "enforce",+ "evaluatorMode": "subprocess",+ "requirements": {+ "kind": "kiln.requirements-context.v1",+ "requirements": {+ "kind": "kiln.asset-requirements",+ "schemaVersion": 1,+ "labels": [],+ "frame": {+ "units": "m",+ "forward": "+X",+ "up": "+Y",+ "right": "+Z",+ "groundY": 0+ },+ "requirements": {}+ },+ "policyHash": "sha256:9efcec929bf8a510c7dd0e18b687381e3824ff3d26cc20307f601d17535e5f34",+ "adviceHash": "sha256:ca1f59b45e82e712e06149909000e2bc37b8cf159af70e32847088cecf153268"+ }+ },+ "warnings": [],+ "integration": {+ "schemaVersion": "kiln.integration-manifest.v1",+ "analyzerVersion": 1,+ "artifactSha256": "ac28768682b314ed66ad7b04689ebd46d94708073be16269ec3d38a81d2390bd",+ "units": "m",+ "axes": {+ "forward": "+X",+ "up": "+Y",+ "right": "+Z"+ },+ "bounds": {+ "min": [+ -2.4000000953674316,+ 5.199999809265137,+ -0.8500000238418579+ ],+ "max": [+ 2.4000000953674316,+ 9.399999618530273,+ 0.8500000238418579+ ],+ "size": [+ 4.800000190734863,+ 4.199999809265137,+ 1.7000000476837158+ ],+ "center": [+ 0,+ 7.299999713897705,+ 0+ ]+ },+ "pivot": {+ "convention": "author-origin",+ "position": [+ 0,+ 0,+ 0+ ]+ },+ "ground": {+ "groundY": 0,+ "contactTolerance": 0.02,+ "minY": 5.199999809265137,+ "offsetToGround": -5.199999809265137,+ "grounded": false+ },+ "defaultScene": {+ "index": 0,+ "name": "Meridian architecture"+ },+ "renderMetrics": {+ "triangles": 2056,+ "drawCalls": 1,+ "uniqueGeometries": 1,+ "uniqueMaterials": 1,+ "textureCount": 3,+ "transparentMaterials": 0,+ "skinned": false+ },+ "structuralQa": {+ "hasDefaultScene": true,+ "finiteBounds": true,+ "validatorErrors": 0,+ "validatorWarnings": 0+ },+ "visualQa": "not_assessed"+ },+ "qa": {+ "kind": "kiln.asset-qa-report",+ "schemaVersion": 2,+ "qaProfile": "asset.requirements.v1",+ "policyHash": "sha256:9efcec929bf8a510c7dd0e18b687381e3824ff3d26cc20307f601d17535e5f34",+ "adviceHash": "sha256:ca1f59b45e82e712e06149909000e2bc37b8cf159af70e32847088cecf153268",+ "acceptance": "accepted",+ "disposition": "pass",+ "dimensions": {+ "exportIntegrity": {+ "status": "pass",+ "findings": [],+ "metrics": {+ "gltfErrors": 0,+ "gltfWarnings": 0+ }+ },+ "requirementReadiness": {+ "status": "pass",+ "findings": []+ },+ "promptAlignment": {+ "status": "notEvaluated",+ "findings": []+ },+ "visualQuality": {+ "status": "notEvaluated",+ "findings": [],+ "metrics": {+ "partVolumeCoverage": "complete-static-pairs",+ "partVolumeScope": "Visible static closed mesh pairs, except alternates on different LOD levels; excludes intra-mesh intersections, motion, open surfaces and usable passage space. Positive overlap may be intentional.",+ "partVolumeEligibleParts": 1,+ "partVolumeCandidatePairs": 0,+ "partVolumeCandidatesLowerBound": false,+ "partVolumePairsTested": 0,+ "partVolumeUnmeasurablePairs": 0,+ "partVolumePairsNotReached": 0,+ "partVolumeLodAlternatePairs": 0,+ "partVolumeSkipped": 0+ }+ },+ "runtimeCost": {+ "status": "pass",+ "findings": [],+ "metrics": {+ "instanceabilityGrade": "A",+ "instanceabilitySummary": "A (informational, not a QA verdict), set by 1 distinct material (A at 0-1). Also: 1 geometry; 1 draw call.",+ "uniqueGeometries": 1,+ "uniqueMaterials": 1,+ "meshNodes": 1,+ "meshInstances": 1,+ "drawCalls": 1,+ "textureCount": 3,+ "skinned": false,+ "transparentMaterials": 0,+ "triangles": 2056,+ "materialCount": 1,+ "opaqueMaterials": 1,+ "maskedMaterials": 0,+ "blendedMaterials": 0,+ "singleSidedMaterials": 1,+ "doubleSidedMaterials": 0,+ "texturedMaterials": 1,+ "materialExtensionCount": 0,+ "materialExtensionsUsed": "",+ "imageCount": 3,+ "maxImageDimension": 1024,+ "decodedImageBytesRgba8": 8650752,+ "estimatedGpuBytesWithMipmaps": 11534338,+ "blendedSurfaceAreaRatio": 0+ }+ }+ },+ "rules": [+ {+ "id": "UNIVERSAL_SCENE_CONTENT_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_FINITE_DATA_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_INDEX_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_ZERO_SCALE_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_NODE_NAME_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_ANIMATION_TARGET_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "MATERIAL_PORTABLE_PBR_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "ARCHITECTURE_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ARCHITECTURE_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "CHARACTER_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "CHARACTER_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_W6_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEGETATION_CONTACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VEGETATION_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "PROP_CAPABILITY_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "PROP_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "ENVIRONMENT_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ENVIRONMENT_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VFX_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VFX_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "MODULAR_JOIN_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ASSET_SCOPE_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "GEO_PART_SELF_INTERSECTION",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "GEO_PART_CONNECTIVITY",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "REF_COMPARISON",+ "mode": "observe",+ "status": "notEvaluated",+ "reason": "Neutral measurement adapter remains to be qualified; no category fallback is used."+ },+ {+ "id": "SWEEP_SELF_INTERSECTION",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "HOST_VALIDATION_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ }+ ],+ "unevaluatedRequirements": []+ },+ "dependencies": [],+ "rebuild": "engine-required"+ },+ "preview": {+ "fidelity": {+ "version": "kiln.view-fidelity.v1",+ "requested": "full-preferred",+ "delivered": "full-material",+ "materialFaithful": true,+ "exactArtifact": true,+ "rendererId": "dawn-d3d12:nvidia-geforce-rtx-3070:D3D12 driver version 32.0.16.1742",+ "inputGlbSha256": "sha256:ac28768682b314ed66ad7b04689ebd46d94708073be16269ec3d38a81d2390bd",+ "degraded": false,+ "reasonCodes": []+ },+ "backdrop": "neutral"+ }+}diff --git a/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/source.kiln.js b/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/source.kiln.jsnew file mode 100644index 00000000..791c262a--- /dev/null+++ b/packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/source.kiln.js@@ -0,0 +1,990 @@+// Meridian Sanctuary architecture (plan.md sections 3 and 5, assets 14-20).+// One program builds every piece; PIECE selects which one this revision is. Each stone piece+// is one mesh with one material: an atlas of white veined marble, ivory travertine and a+// band of brass, warm-white glow and planting soil, with an emissive map for the glow.+// Masses are coursed, chamfered stones on a cell grid; arches are true round arches.+const meta = { name: 'Meridian architecture' };+const PIECE = 'arcade-arch';++function rng(seed) {+ let s = (seed >>> 0) || 0x9e3779b9;+ return () => { s ^= s << 13; s >>>= 0; s ^= s >>> 17; s ^= s << 5; s >>>= 0; return s / 4294967296; };+}+function hash(str) { let h = 2166136261; for (const ch of str) { h ^= ch.charCodeAt(0); h = Math.imul(h, 16777619); } return h >>> 0; }+const sub = (a, b) => [a[0] - b[0], a[1] - b[1], a[2] - b[2]];+const dot = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2];+const nrm = (a) => { const l = Math.hypot(a[0], a[1], a[2]) || 1; return [a[0] / l, a[1] / l, a[2] / l]; };++// ---------------------------------------------------------------- textures (as the stone kit)+const BAND = 0.047; // top band of quadrant 4: brass | glow | soil+const BAND_COLS = [[0.5, 0.66], [0.66, 0.83], [0.83, 1.0]];+const REG = {+ MA: [0.008, 0.008, 0.492, 0.492], MB: [0.508, 0.008, 0.992, 0.492],+ TA: [0.008, 0.508, 0.492, 0.992], TB: [0.508, 0.5 + BAND + 0.008, 0.992, 0.992],+ BR: [0.506, 0.507, 0.654, 0.5 + BAND - 0.007], GL: [0.672, 0.509, 0.818, 0.5 + BAND - 0.009], SO: [0.836, 0.508, 0.99, 0.5 + BAND - 0.007],+};++function veinPolys(R, x, y, ang, steps, len, halfW, wiggle, seg = 6) {+ const left = [], right = [];+ for (let k = 0; k < steps; k++) {+ ang += (R() - 0.5) * wiggle;+ x += Math.cos(ang) * len; y += Math.sin(ang) * len;+ const t = k / (steps - 1);+ const w = Math.max(1, halfW * (0.35 + 0.65 * Math.sin(Math.PI * t)) * (0.7 + 0.6 * R()));+ const nx = -Math.sin(ang) * w, ny = Math.cos(ang) * w;+ left.push([Math.round(x + nx) + 0, Math.round(y + ny) + 0]);+ right.push([Math.round(x - nx) + 0, Math.round(y - ny) + 0]);+ }+ const polys = [];+ for (let a = 0; a < steps - 1; a += seg) {+ const b = Math.min(steps - 1, a + seg);+ const pts = left.slice(a, b + 1).concat(right.slice(a, b + 1).reverse()).filter((p, i, arr) => i === 0 || p[0] !== arr[i - 1][0] || p[1] !== arr[i - 1][1]);+ if (pts.length >= 3) polys.push(pts);+ }+ return polys;+}+// White veined marble (turn 9, after the reviews of revision 11: veins did not read at eye height):+// a near-white ground with bold grey-gold veins, a soft halo round each, at a scale where a metre+// of floor carries a vein or two.+function marbleSpec(q, seed, baseAng) {+ const s = q / 512, R = rng(seed), ops = [];+ ops.push({ op: 'legacy-v2', spec: { schemaVersion: 2, size: q, usage: 'albedo', layers: [+ { op: 'noise', colorA: 0xf1efea, colorB: 0xfefdfb, scale: 3, octaves: 4, seed },+ { op: 'noise', colorA: 0xdcd6cc, colorB: 0xfaf8f4, scale: 10, octaves: 2, seed: seed + 5, blend: 'overlay', opacity: 0.25 },+ ] } });+ // turn 16 (round 7: thick brown crescent strokes on every tile read as scuffs or cracks): two+ // long veins a patch, each a wide faint halo round a fine warm-grey core with a forked branch,+ // and fainter, finer secondary veins+ for (let i = 0; i < 2; i++) {+ const x = -0.05 * q, y = ((i + 0.25 + R() * 0.5) * q) / 2, ang = baseAng + (R() - 0.5) * 0.3, vs = Math.floor(R() * 1e9);+ for (const p of veinPolys(rng(vs), x, y, ang, 31, q / 19, 10 * s + 1, 0.22)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [222, 216, 206, 255], opacity: 28 });+ for (const p of veinPolys(rng(vs), x, y, ang, 31, q / 19, 1.2 * s + 0.6, 0.22)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [178, 172, 162, 255], opacity: 75 });+ const t = 0.3 + 0.3 * R(), ba = ang + (R() < 0.5 ? -1 : 1) * (0.4 + 0.3 * R());+ for (const p of veinPolys(R, x + t * q * Math.cos(ang), y + t * q * Math.sin(ang), ba, 13, q / 26, 0.9 * s + 0.5, 0.35)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [186, 180, 170, 255], opacity: 60 });+ }+ for (let i = 0; i < 5; i++) {+ const opacity = 30 + Math.floor(R() * 18);+ for (const p of veinPolys(R, R() * q, R() * q, baseAng + (R() - 0.5) * 0.9, 19, q / 30, 0.8 * s + 0.5, 0.5)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [200, 194, 186, 255], opacity });+ }+ return { schemaVersion: 3, width: q, height: q, usage: 'albedo', operations: ops };+}+// Ivory travertine (turn 9: it read as flat plaster): bedding bands of varied width and warmth+// across each patch, soft pits of several sizes (fewer tiny dark ones, which sparkled at+// distance), and a tint per patch (warm or cream), so neighbouring blocks differ. band: null, or+// three RGBA colours for the brass, glow and soil columns of the band.+// Turn 13 (the reviews of revision 15: travertine read cool grey in shade and its pits as+// polka dots and dashes): a warmer ivory ground and bedding, and fewer, rounder, paler pits.+function travSpec(q, seed, band, tint = 0) {+ const s = q / 512, R = rng(seed), ops = [], t = (c) => c + tint * 0x030406; // tint > 0: a creamier patch+ ops.push({ op: 'legacy-v2', spec: { schemaVersion: 2, size: q, usage: 'albedo', layers: [+ { op: 'noise', colorA: t(0xe1d0b5), colorB: t(0xf8efdf), scale: 4, octaves: 3, seed }, // turn 16: more value from block to block (was e7d8c0)+ { op: 'stripes', colorA: t(0xe3d2b6), colorB: t(0xf7eedd), count: 14, angleDeg: 90, blend: 'overlay', opacity: 0.45 },+ ] } });+ for (let i = 0; i < 14; i++) { // bedding: a few broad soft bands and fine streaks+ const y = Math.round(R() * q), dy = Math.round((R() - 0.5) * 6 * s), broad = i < 4, light = R() < 0.45;+ ops.push({ op: 'paint', shape: { kind: 'line', from: [-4, y], to: [q + 4, y + dy], width: Math.max(1, Math.round((broad ? 9 + R() * 10 : 1 + R() * 2) * s)) },+ rgba: light ? [250, 244, 232, 255] : [220, 202, 172, 255], opacity: broad ? 55 : 50 });+ }+ const pits = (w, h, rgba, count, area = { x: 0, y: 0, width: q, height: q }) => ops.push({ op: 'stamps',+ shape: { kind: 'ellipse', x: 0, y: 0, width: Math.max(2, Math.round(w * s)), height: Math.max(1, Math.round(h * s)) },+ rgba, count, seed: Math.floor(R() * 4e9), area });+ // turn 16 (round 7: the pits read as a uniform sprinkle of dark dots): long thin pits along the+ // bedding, in five bands where they gather, and a few rounder ones between+ for (let i = 0; i < 5; i++) {+ const bh = Math.round((14 + R() * 26) * s), y0 = Math.round(R() * (q - bh));+ pits(10, 2, [208, 192, 166, 255], 14, { x: 0, y: y0, width: q, height: bh });+ pits(18, 3, [212, 197, 172, 255], 6, { x: 0, y: y0, width: q, height: bh });+ }+ pits(6, 4, [214, 200, 176, 255], 12);+ if (band) {+ const bh = Math.round(BAND * 2 * q);+ BAND_COLS.forEach(([a, b], i) => {+ const x0 = Math.round((a - 0.5) * 2 * q), x1 = Math.round((b - 0.5) * 2 * q);+ ops.push({ op: 'paint', shape: { kind: 'rectangle', x: x0, y: 0, width: x1 - x0, height: bh }, rgba: band[i] });+ });+ }+ return { schemaVersion: 3, width: q, height: q, usage: 'albedo', operations: ops };+}+function ormSpec(oq, roughA, roughB, seed, band) {+ const ops = [{ op: 'legacy-v2', spec: { schemaVersion: 2, size: oq, usage: 'metallicRoughness', layers: [+ { op: 'noise', colorA: roughA << 8, colorB: roughB << 8, scale: 5, octaves: 3, seed }] } }];+ if (band) {+ const bh = Math.max(1, Math.round(BAND * 2 * oq));+ [[0, 82, 255, 255], [0, 110, 0, 255], [0, 245, 0, 255]].forEach((rgba, i) => {+ const [a, b] = BAND_COLS[i], x0 = Math.round((a - 0.5) * 2 * oq), x1 = Math.round((b - 0.5) * 2 * oq);+ ops.push({ op: 'paint', shape: { kind: 'rectangle', x: x0, y: 0, width: x1 - x0, height: bh }, rgba });+ });+ }+ return { schemaVersion: 3, width: oq, height: oq, usage: 'metallicRoughness', operations: ops };+}+async function atlas(edge, usage, specs) {+ const q = edge / 2, names = ['marble-a', 'marble-b', 'trav-a', 'trav-b'], pos = [[0, 0], [q, 0], [0, q], [q, q]];+ return textureAtlas({ schemaVersion: 1, width: edge, height: edge, usage, pack: { edge: 1024, gutter: 0 },+ regions: specs.map((spec, i) => ({ name: names[i], content: { x: pos[i][0], y: pos[i][1], width: q, height: q }, gutter: 0, source: { kind: 'procedural', spec } })) });+}+// Emissive map: black except the glow column, which falls off from a warm-white core to a deep+// amber rim in both directions, so a niche's back wall (which maps the whole column) glows in+// its middle and dims toward its reveals. Under the Neutral grade (revision 13) at strength GLOW+// the core shows about #fef0db and the rim about #fad5a6 (tonemap.mjs --grade neutral glow).+const GLOW = 3.5;+function glowMap(n) {+ const [a, b] = BAND_COLS[1], x0 = Math.round(a * n), x1 = Math.round(b * n), y0 = n / 2, h = Math.round(BAND * n), w = x1 - x0;+ const ring = (f, rgb, kind = 'ellipse') => { const dx = Math.round((w * (1 - f)) / 2), dy = Math.round((h * (1 - f)) / 2);+ return { op: 'paint', shape: { kind, x: x0 + dx, y: y0 + dy, width: w - 2 * dx, height: h - 2 * dy }, rgba: [...rgb, 255] }; };+ // turn 16 (round 7: the slots and the vault read apricot, about 253, 222, 190): a warm-white+ // core (#fff1e0 and paler) over a pale gold rim+ const stops = [[1, [196, 160, 118]], [0.86, [212, 180, 140]], [0.74, [226, 198, 162]], [0.63, [238, 214, 182]], [0.52, [246, 226, 198]],+ [0.42, [251, 234, 212]], [0.32, [254, 240, 222]], [0.23, [255, 244, 230]], [0.14, [255, 247, 236]]];+ return proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'emissive', background: [0, 0, 0, 255],+ operations: [ring(1, [176, 138, 96], 'rectangle'), ...stops.map(([f, c]) => ring(f, c))] });+}+async function stoneMaterial(edge, glow) {+ const q = edge / 2, oq = edge / 8, grey = [128, 128, 128, 255];+ // The planting column is a leafy groundcover green (it was soil brown, which read as dark+ // troughs from below on inverted pieces and as brown rails along the arcades from the air).+ const albedo = await atlas(edge, 'albedo', [marbleSpec(q, 101, 0.55), marbleSpec(q, 202, -0.5), travSpec(q, 303, null),+ travSpec(q, 404, [[188, 148, 82, 255], [255, 228, 184, 255], [84, 112, 58, 255]], 1)]);+ const flat = { schemaVersion: 3, width: q, height: q, usage: 'albedo', background: grey, operations: [] };+ const height = await atlas(edge, 'albedo', [flat, flat, travSpec(q, 303, null), travSpec(q, 404, [grey, grey, grey])]);+ const orm = await atlas(edge / 4, 'metallicRoughness', [ormSpec(oq, 0x20, 0x34, 5, false), ormSpec(oq, 0x22, 0x36, 6, false),+ ormSpec(oq, 0xae, 0xda, 7, false), ormSpec(oq, 0xb0, 0xdc, 8, true)]);+ const opts = { albedo, normal: normalMapFromHeight(height, { strength: 3 }), metallicRoughness: orm, roughness: 1, metalness: 1 };+ if (glow) Object.assign(opts, { emissive: glowMap(1024), emissiveIntensity: glow });+ return pbrMaterial(opts);+}++// ---------------------------------------------------------------- mesh building+function makeBuilder() {+ const P = [], N = [], T = [], I = [];+ const push = (verts, norms, uvs, n) => {+ let s = [0, 0, 0]; // Newell normal: robust winding even with a degenerate corner+ for (let i = 0; i < verts.length; i++) {+ const a = verts[i], b = verts[(i + 1) % verts.length];+ s = [s[0] + (a[1] - b[1]) * (a[2] + b[2]), s[1] + (a[2] - b[2]) * (a[0] + b[0]), s[2] + (a[0] - b[0]) * (a[1] + b[1])];+ }+ if (Math.hypot(...s) < 1e-12) return;+ let vs = verts, ns = norms, us = uvs;+ if (dot(s, n) < 0) { vs = verts.slice().reverse(); ns = norms.slice().reverse(); us = uvs.slice().reverse(); }+ const base = P.length / 3;+ vs.forEach((v, i) => { P.push(v[0], v[1], v[2]); N.push(...ns[i]); T.push(us[i][0], us[i][1]); });+ for (let i = 1; i + 1 < vs.length; i++) I.push(base, base + i, base + i + 1);+ };+ return {+ poly(verts, n, uvs) { push(verts, verts.map(() => n), uvs, n); },+ polyN(verts, norms, uvs) { push(verts, norms, uvs, nrm(norms.reduce((a, b) => [a[0] + b[0], a[1] + b[1], a[2] + b[2]], [0, 0, 0]))); },+ geometry() { return meshGeo({ positions: P, normals: N, uvs: T, indices: I }); },+ };+}++// trav-a and marble-a draw only from the travertine and marble patches away from the brass /+// glow / soil band, so large faces seen from far off cannot pick up the band in their mips.+const DENS = { marble: 0.25, trav: 0.19, 'trav-a': 0.12, 'marble-a': 0.2 };+function pickWindow(R, kind, fw, fh, dens, square) {+ if (kind === 'brass' || kind === 'glow' || kind === 'soil') {+ const [r0, s0, r1, s1] = REG[kind === 'brass' ? 'BR' : kind === 'glow' ? 'GL' : 'SO'];+ return { u0: r0, v0: s0, du: r1 - r0, dv: s1 - s0, rot: 0 };+ }+ const key = kind === 'marble' ? (R() < 0.5 ? 'MA' : 'MB') : kind === 'marble-a' ? 'MA' : kind === 'trav-a' ? 'TA' : (R() < 0.5 ? 'TA' : 'TB');+ const [r0, s0, r1, s1] = REG[key];+ const rot = square ? Math.floor(R() * 4) : (R() < 0.5 ? 0 : 2);+ let ww = fw * dens, wh = fh * dens;+ if (rot % 2) [ww, wh] = [wh, ww];+ ww = Math.min(ww, r1 - r0); wh = Math.min(wh, s1 - s0);+ return { u0: r0 + R() * (r1 - r0 - ww), v0: s0 + R() * (s1 - s0 - wh), du: ww, dv: wh, rot };+}+function uvOf(w, a, b) {+ let s = a, t = 1 - b;+ if (w.rot === 1) [s, t] = [t, 1 - s]; else if (w.rot === 2) [s, t] = [1 - s, 1 - t]; else if (w.rot === 3) [s, t] = [1 - t, s];+ return [w.u0 + s * w.du, w.v0 + t * w.dv];+}++// A chamfered box stone emitting only faces, edges and corners touching an exposed side.+// st: { lo, hi, c, kind, exp: {px..nz}, faceKind?: {face: kind}, dens? }+const PARAM = [[2, 1], [0, 2], [0, 1]];+const fkey = (ax, s) => (s > 0 ? 'p' : 'n') + 'xyz'[ax];+function emitStone(B, R, st) {+ const { lo, hi, c, exp } = st, fk = st.faceKind || {};+ const size = [hi[0] - lo[0], hi[1] - lo[1], hi[2] - lo[2]];+ const wins = {};+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const f = fkey(ax, s); if (!exp[f]) continue;+ const kind = fk[f] || st.kind, [pa, pb] = PARAM[ax];+ wins[f] = pickWindow(R, kind, size[pa], size[pb], st.dens || DENS[kind] || 0.2, ax === 1 && Math.abs(size[pa] - size[pb]) < 0.01);+ }+ const order = ['py', 'px', 'nx', 'pz', 'nz', 'ny'];+ const uvFor = (f, v) => { const ax = 'xyz'.indexOf(f[1]), [pa, pb] = PARAM[ax];+ return uvOf(wins[f], (v[pa] - lo[pa]) / size[pa], (v[pb] - lo[pb]) / size[pb]); };+ const emit = (verts, n, fs) => { const f = order.find((k) => fs.includes(k) && exp[k]); if (f) B.poly(verts, n, verts.map((v) => uvFor(f, v))); };+ const C = (i, s) => (s > 0 ? hi[i] : lo[i]), E = st.E || {};+ // turn 10: the depth of the edge between faces f and g (seal() sets it where only one shows);+ // a vertex on a face that does not show takes the depth of the showing face's edge+ const dep = (f, g) => (f + g in E ? E[f + g] : g + f in E ? E[g + f] : c);+ const V = (ax, sg) => {+ const F = fkey(ax, sg[ax]);+ return [0, 1, 2].map((i) => {+ if (i === ax) return C(i, sg[i]);+ const G = fkey(i, sg[i]), K = fkey(3 - ax - i, sg[3 - ax - i]);+ return C(i, sg[i]) - sg[i] * (exp[F] ? dep(F, G) : exp[G] ? dep(G, F) : dep(K, G));+ });+ };+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const f = fkey(ax, s); if (!exp[f]) continue;+ const [a1, a2] = [0, 1, 2].filter((i) => i !== ax);+ const pts = [[-1, -1], [1, -1], [1, 1], [-1, 1]].map(([p, q]) => { const sg = [0, 0, 0]; sg[ax] = s; sg[a1] = p; sg[a2] = q; return V(ax, sg); });+ const n = [0, 0, 0]; n[ax] = s;+ emit(pts, n, [f]);+ }+ if (c <= 0) return;+ for (let a = 0; a < 3; a++) for (let b = a + 1; b < 3; b++) for (const sa of [-1, 1]) for (const sb of [-1, 1]) {+ const fa = fkey(a, sa), fb = fkey(b, sb); if ((!exp[fa] && !exp[fb]) || dep(fa, fb) <= 0) continue;+ const o = [0, 1, 2].find((i) => i !== a && i !== b);+ const sg = (so) => { const g = [0, 0, 0]; g[a] = sa; g[b] = sb; g[o] = so; return g; };+ const n = [0, 0, 0]; n[a] = sa; n[b] = sb;+ emit([V(a, sg(-1)), V(a, sg(1)), V(b, sg(1)), V(b, sg(-1))], nrm(n), [fa, fb]);+ }+ for (const sx of [-1, 1]) for (const sy of [-1, 1]) for (const sz of [-1, 1]) {+ const fs = [fkey(0, sx), fkey(1, sy), fkey(2, sz)]; if (!fs.some((f) => exp[f])) continue;+ const g = [sx, sy, sz], open = [0, 1, 2].filter((i) => exp[fs[i]]);+ if (open.length === 1) { // a joint crossing on a face: run the corner down to the joint point, which closes the pinhole four bevels leave+ const e = open[0], [a, b] = [0, 1, 2].filter((i) => i !== e), d = Math.max(dep(fs[e], fs[a]), dep(fs[e], fs[b]));+ if (d <= 0) continue;+ const P = [0, 1, 2].map((i) => (i === e ? C(i, g[i]) - g[i] * d : C(i, g[i])));+ emit([V(e, g), V(a, g), P, V(b, g)], nrm(g), fs);+ } else emit([V(0, g), V(1, g), V(2, g)], nrm(g), fs);+ }+}++// turn 10: sealed joints (glb-cracks.mjs, on the reviews of revision 12: sky still showed through+// the gateway's niche corners and the joint under its first cornice, and the sun leaked through+// the arcade and planter joints in dashed lines onto shaded paving). Every edge where one face of+// a stone shows and the other does not gets one depth, the same as the stone across the joint:+// - at an inner corner (the cell diagonally across both faces is solid: a niche's back corners,+// a wall under a projecting band), at a hidden join, or against a stone without bevels (brass,+// shafts, custom geometry), none: the face runs flush, where the bevel used to open a slot+// into the hollow behind;+// - at a joint between two faces that both show, the bevel, which course() makes one size for+// every stone (marble 1 cm against travertine 2 cm left a slot between the two halves of a+// groove).+// The stone across is looked for at a quarter, half and three quarters along the edge: courses+// stagger by half a stone, so a stone's midpoint lies on the joint of the course beside it.+function seal(S) {+ const grid = new Map(), fl = Math.floor, key = (p) => `${fl(p[0])},${fl(p[1])},${fl(p[2])}`;+ for (const st of S) for (let i = fl(st.lo[0]); i <= fl(st.hi[0]); i++) for (let j = fl(st.lo[1]); j <= fl(st.hi[1]); j++) for (let k = fl(st.lo[2]); k <= fl(st.hi[2]); k++) {+ const kk = `${i},${j},${k}`; if (!grid.has(kk)) grid.set(kk, []); grid.get(kk).push(st);+ }+ const at = (p, own) => (grid.get(key(p)) || []).find((t) => t !== own && p.every((v, i) => v > t.lo[i] && v < t.hi[i]));+ const e = 1e-3, dirs = ['px', 'nx', 'py', 'ny', 'pz', 'nz'];+ for (const st of S) {+ st.E = {};+ const lim = (i, s) => (s > 0 ? st.hi[i] : st.lo[i]);+ for (const F of dirs) {+ if (!st.exp[F]) continue;+ const ax = 'xyz'.indexOf(F[1]), s = F[0] === 'p' ? 1 : -1;+ for (const G of dirs) {+ const bx = 'xyz'.indexOf(G[1]); if (bx === ax || st.exp[G]) continue;+ if ((st.flush && st.flush[G]) || (st.inner && st.inner[F + G]) || !(st.c > 0)) { st.E[F + G] = 0; continue; }+ const t = G[0] === 'p' ? 1 : -1, o = 3 - ax - bx;+ let depth = st.c, found = false, flush = false;+ for (const f of [0.25, 0.5, 0.75]) {+ const p = [0, 0, 0], q = [0, 0, 0];+ p[o] = q[o] = st.lo[o] + f * (st.hi[o] - st.lo[o]);+ p[bx] = q[bx] = lim(bx, t) + t * e; // across the joint+ p[ax] = lim(ax, s) - s * e; q[ax] = lim(ax, s) + s * e; // under the face; diagonally across it+ if (at(q, st)) { flush = true; break; } // an inner corner+ const N = at(p, st);+ if (!N) continue;+ found = true;+ if (!N.exp[F] || !(N.c > 0)) { flush = true; break; } // its face does not show here, or has no bevel+ depth = Math.max(depth, N.c);+ }+ st.E[F + G] = flush || !found ? 0 : depth;+ }+ }+ }+}++// turn 13: one texel density (the technical review of revision 15: travertine stretched on tall+// faces). A face's texture window is its size times its density, capped at the atlas region, so+// a face larger than the region stretched it: the plain shafts under the rim towers, pylons and+// foundations (30 - 110 m at density 0.04 - 0.05) by up to nine times, the arcade cornice stones+// (a whole 4.8 m span) by 2.5. A stone whose window would be capped by more than 15 % splits+// into equal parts, each within one window; the plain shafts take the big-face density (0.12)+// and a bevel, so they read as tall courses. Parts meet in joints that seal() closes.+const REGION = 0.48, SHAFT_DENS = 0.12;+function splitStones(S) {+ const out = [], fixed = (k) => k === 'brass' || k === 'glow' || k === 'soil';+ for (const st of S) {+ const kinds = [st.kind, ...Object.values(st.faceKind || {})];+ if (kinds.some(fixed)) { out.push(st); continue; }+ const shaft = st.dens !== undefined && st.dens < SHAFT_DENS;+ const dens = Math.max(...kinds.map((k) => (st.dens !== undefined ? Math.max(st.dens, SHAFT_DENS) : DENS[k] || 0.2)));+ const size = [0, 1, 2].map((i) => st.hi[i] - st.lo[i]);+ const n = [0, 1, 2].map((i) => {+ const shows = [0, 1, 2].some((ax) => ax !== i && (st.exp[fkey(ax, 1)] || st.exp[fkey(ax, -1)]));+ const r = (size[i] * dens) / REGION;+ return shows && r > 1.15 ? Math.ceil(r - 1e-9) : 1;+ });+ if (n.every((v) => v === 1)) { out.push(shaft ? { ...st, dens: SHAFT_DENS } : st); continue; }+ for (let a = 0; a < n[0]; a++) for (let b = 0; b < n[1]; b++) for (let d = 0; d < n[2]; d++) {+ const idx = [a, b, d], outer = (f) => { const i = 'xyz'.indexOf(f[1]); return f[0] === 'p' ? idx[i] === n[i] - 1 : idx[i] === 0; };+ const exp = {}, flush = {}, inner = {}, faceKind = {};+ for (const [f, v] of Object.entries(st.exp)) if (v && outer(f)) exp[f] = true;+ for (const [f, v] of Object.entries(st.flush || {})) if (outer(f)) flush[f] = v;+ for (const [fg, v] of Object.entries(st.inner || {})) if (outer(fg.slice(2))) inner[fg] = v;+ for (const [f, k] of Object.entries(st.faceKind || {})) if (exp[f]) faceKind[f] = k;+ if (!Object.keys(exp).length) continue;+ out.push({ ...st, lo: [0, 1, 2].map((i) => st.lo[i] + (size[i] * idx[i]) / n[i]), hi: [0, 1, 2].map((i) => st.lo[i] + (size[i] * (idx[i] + 1)) / n[i]),+ exp, flush, inner, faceKind, ...(shaft ? { dens: SHAFT_DENS, c: 0.02 } : {}) });+ }+ }+ return out;+}++// One course of coursed masonry on a cell grid. state(x, y, z) returns 'solid', 'empty',+// 'phantom' (solid for neighbours, never drawn: custom geometry or a hidden join), 'spout',+// or 'slot:<face>' (an open slot whose back wall, facing <face>, glows). Faces next to+// open cells are exposed; slot and spout reveals are marble.+const isOpen = (s) => s === 'empty' || s === 'spout' || s.startsWith('slot');+function course(S, y0, y1, xCuts, zCutsFor, state, kindOf) {+ const e = 1e-4, ym = (y0 + y1) / 2;+ for (let i = 0; i + 1 < xCuts.length; i++) {+ const xa = xCuts[i], xb = xCuts[i + 1]; if (xb - xa < 1e-4) continue;+ const zc = zCutsFor(xa, xb, y0, y1);+ for (let j = 0; j + 1 < zc.length; j++) {+ const za = zc[j], zb = zc[j + 1]; if (zb - za < 1e-4) continue;+ const xm = (xa + xb) / 2, zm = (za + zb) / 2;+ if (state(xm, ym, zm) !== 'solid') continue;+ const nb = { px: state(xb + e, ym, zm), nx: state(xa - e, ym, zm), pz: state(xm, ym, zb + e), nz: state(xm, ym, za - e), py: state(xm, y1 + e, zm), ny: state(xm, y0 - e, zm) };+ const exp = {}, faceKind = {}, flush = {};+ for (const [f, s] of Object.entries(nb)) {+ if (s === 'phantom') flush[f] = true;+ if (!isOpen(s)) continue;+ exp[f] = true;+ if (s.startsWith('slot')) faceKind[f] = s.slice(5) === f ? 'glow' : 'marble';+ else if (s === 'spout') faceKind[f] = 'marble';+ }+ if (!Object.keys(exp).length) continue;+ // turn 10: inner corners against cells that are solid or custom geometry (seal() finds those+ // against other stones)+ const inner = {}, clo = [xa, y0, za], chi = [xb, y1, zb], cm = [xm, ym, zm];+ for (const f of Object.keys(exp)) {+ const ax = 'xyz'.indexOf(f[1]), s = f[0] === 'p' ? 1 : -1;+ for (const g of ['px', 'nx', 'py', 'ny', 'pz', 'nz']) {+ const bx = 'xyz'.indexOf(g[1]); if (bx === ax || exp[g] || flush[g]) continue;+ const t = g[0] === 'p' ? 1 : -1, q = cm.slice();+ q[ax] = s > 0 ? chi[ax] + e : clo[ax] - e; q[bx] = t > 0 ? chi[bx] + e : clo[bx] - e;+ if (!isOpen(state(q[0], q[1], q[2]))) inner[f + g] = true;+ }+ }+ const kind = kindOf(xm, ym, zm, exp, faceKind);+ // turn 9: larger bevels so the edges catch the light; no bevel toward custom geometry or+ // hidden joins (phantom), whose faces carry no matching bevel, so the groove there opened+ // onto the hollow behind and showed the sky (the gateway's string courses). Turn 10: one+ // size, 1.5 cm, for marble and travertine (seal()).+ S.push({ lo: [xa, y0, za], hi: [xb, y1, zb], c: 0.015, kind, exp, faceKind, flush, inner });+ }+ }+}+// Sorted cut list: the given special cuts plus stone breaks every `len` metres from lo to hi+// (the first at len * (1 - shift), so shift 0.5 staggers alternate courses), skipping breaks+// within `gap` of another cut.+function cuts(lo, hi, special, len, shift, gap = 0.3) {+ const list = [lo, hi, ...special.filter((v) => v > lo + 1e-6 && v < hi - 1e-6)];+ for (let p = lo + len * (1 - shift); p < hi - gap; p += len) if (list.every((v) => Math.abs(v - p) > gap)) list.push(p);+ return [...new Set(list.map((v) => Math.round(v * 1e4) / 1e4))].sort((a, b) => a - b);+}++// ---------------------------------------------------------------- round arches+// Arches lie in the XY plane, centred at (cx, ys) on the springline, with depth along Z.+// Angles run from 0 (+X) over the crown (PI/2) to PI (-X).+const at = (cx, ys, r, a, z) => [cx + r * Math.cos(a), ys + r * Math.sin(a), z];+const steps = (a0, a1, n) => Array.from({ length: n + 1 }, (_, i) => a0 + ((a1 - a0) * i) / n);++// Wall face at z = zf around an arched opening: the region between the arc of radius r and+// the rectangle [x0, x1] x [ys, yt], as quads from the arc to their radial projection.+function spandrel(B, R, o) {+ const { cx, ys, r, x0, x1, yt, zf, nz, a0 = 0, a1 = Math.PI, n = 12, kind = 'trav', dens = 0.12 } = o;+ const corners = [Math.atan2(yt - ys, x1 - cx), Math.atan2(yt - ys, x0 - cx)].filter((a) => a > a0 + 1e-6 && a < a1 - 1e-6);+ const angs = [...steps(a0, a1, n), ...corners].sort((p, q) => p - q);+ const hit = (a) => {+ const c = Math.cos(a), s = Math.sin(a);+ let t = Infinity;+ if (c > 1e-9) t = Math.min(t, (x1 - cx) / c);+ if (c < -1e-9) t = Math.min(t, (x0 - cx) / c);+ if (s > 1e-9) t = Math.min(t, (yt - ys) / s);+ return [cx + t * c, ys + t * s, zf];+ };+ const w = pickWindow(R, kind, x1 - x0, yt - ys, dens, false);+ const uv = (p) => uvOf(w, (p[0] - x0) / (x1 - x0), (p[1] - ys) / (yt - ys));+ for (let k = 0; k + 1 < angs.length; k++) {+ const a = angs[k], b = angs[k + 1];+ if (b - a < 1e-9) continue;+ const v = [at(cx, ys, r, a, zf), at(cx, ys, r, b, zf), hit(b), hit(a)];+ B.poly(v, [0, 0, nz], v.map(uv));+ }+}+// Flat annular sector at z = zf between radii r0 < r1, split into k stones with their own windows.+function ringFace(B, R, o) {+ const { cx, ys, r0, r1, zf, nz, a0 = 0, a1 = Math.PI, n = 16, kind = 'marble', k = 1 } = o;+ for (let s = 0; s < k; s++) {+ const sa = a0 + ((a1 - a0) * s) / k, sb = a0 + ((a1 - a0) * (s + 1)) / k, m = Math.max(1, Math.round(n / k));+ const w = pickWindow(R, kind, ((r0 + r1) / 2) * (sb - sa), r1 - r0, DENS[kind] || 0.25, false);+ steps(sa, sb, m).forEach((a, i, arr) => {+ if (i === 0) return;+ const p = arr[i - 1], up = (p - sa) / (sb - sa), ua = (a - sa) / (sb - sa);+ B.poly([at(cx, ys, r0, p, zf), at(cx, ys, r0, a, zf), at(cx, ys, r1, a, zf), at(cx, ys, r1, p, zf)], [0, 0, nz],+ [uvOf(w, up, 0), uvOf(w, ua, 0), uvOf(w, ua, 1), uvOf(w, up, 1)]);+ });+ }+}+// Cylindrical band of radius r from z0 to z1 with smooth normals, facing the centre when inward.+function band(B, R, o) {+ const { cx, ys, r, z0, z1, a0 = 0, a1 = Math.PI, n = 16, inward = true, kind = 'marble', k = 1 } = o;+ const nAt = (a) => (inward ? [-Math.cos(a), -Math.sin(a), 0] : [Math.cos(a), Math.sin(a), 0]);+ for (let s = 0; s < k; s++) {+ const sa = a0 + ((a1 - a0) * s) / k, sb = a0 + ((a1 - a0) * (s + 1)) / k, m = Math.max(1, Math.round(n / k));+ const w = pickWindow(R, kind, r * (sb - sa), Math.abs(z1 - z0), DENS[kind] || 0.25, false);+ steps(sa, sb, m).forEach((a, i, arr) => {+ if (i === 0) return;+ const p = arr[i - 1], up = (p - sa) / (sb - sa), ua = (a - sa) / (sb - sa);+ B.polyN([at(cx, ys, r, p, z0), at(cx, ys, r, a, z0), at(cx, ys, r, a, z1), at(cx, ys, r, p, z1)], [nAt(p), nAt(a), nAt(a), nAt(p)],+ [uvOf(w, up, 0), uvOf(w, ua, 0), uvOf(w, ua, 1), uvOf(w, up, 1)]);+ });+ }+}+// Archivolt of k projecting marble voussoirs on the face z = zf (projecting p toward nz), with+// fine joints between stones and an optional larger, deeper keystone at the crown.+function voussoirs(B, R, o) {+ const { cx, ys, r0, r1, zf, nz, p, k, gap = 0.006, key = null, n = 2, inner = true } = o;+ for (let s = 0; s < k; s++) {+ const isKey = key && s === (k - 1) / 2, R1 = isKey ? r1 + key.dr : r1, zt = zf + nz * (isKey ? p + key.dp : p);+ const g = gap / ((r0 + R1) / 2), sa = (Math.PI * s) / k + g, sb = (Math.PI * (s + 1)) / k - g;+ ringFace(B, R, { cx, ys, r0, r1: R1, zf: zt, nz, a0: sa, a1: sb, n });+ band(B, R, { cx, ys, r: R1, z0: zf, z1: zt, a0: sa, a1: sb, n, inward: false });+ if (inner) band(B, R, { cx, ys, r: r0, z0: zf, z1: zt, a0: sa, a1: sb, n, inward: true });+ for (const [a, sg] of [[sa, -1], [sb, 1]]) {+ const w = pickWindow(R, 'marble', R1 - r0, Math.abs(zt - zf), DENS.marble, false);+ B.poly([at(cx, ys, r0, a, zf), at(cx, ys, R1, a, zf), at(cx, ys, R1, a, zt), at(cx, ys, r0, a, zt)], [-Math.sin(a) * sg, Math.cos(a) * sg, 0],+ [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ }+ }+}+// The two halves of a spandrel, each with its own texture window.+function spandrels(B, R, o) {+ spandrel(B, R, { ...o, x0: o.cx, a0: 0, a1: Math.PI / 2 });+ spandrel(B, R, { ...o, x1: o.cx, a0: Math.PI / 2, a1: Math.PI });+}+// Courses from a list of boundaries, breaking stones every `len` metres along both axes and+// shifting alternate courses by half a stone for running bond. A course that projects past the+// course below or above also breaks where that neighbour ends: a stone straddling the step+// would test its neighbour at its middle, find stone, and leave its projecting underside (or+// top) undrawn, a slit that shows the sky.+function courses(S, ys, half, special, state, kindOf, len) {+ for (let i = 0; i + 1 < ys.length; i++) {+ const y0 = ys[i], y1 = ys[i + 1], ym = (y0 + y1) / 2, [hx, hz] = half(ym), sp = special(ym), shift = i % 2 ? 0.5 : 0;+ const nb = [i > 0 ? half((ys[i - 1] + y0) / 2) : null, i + 2 < ys.length ? half((y1 + ys[i + 2]) / 2) : null].filter(Boolean);+ const steps = (k, h) => nb.map((n) => n[k]).filter((v) => v < h - 1e-6).flatMap((v) => [-v, v]);+ course(S, y0, y1, cuts(-hx, hx, [...(sp.x || []), ...steps(0, hx)], len, shift), () => cuts(-hz, hz, [...(sp.z || []), ...steps(1, hz)], len, shift), state, kindOf);+ }+}++// ---------------------------------------------------------------- pieces+// Arcade span, pier centre to pier centre (x -2.4..2.4), faces at z +/-0.6, floor at y = 0:+// a round arch (soffit r 1.8, springing at 5.2 from the pier impost) with one stepped order+// (r 2.1), an archivolt of 13 voussoirs and a keystone, string course, frieze, cornice and a+// planting trough for ivy along the top.+function arcadeArch(S, R, B) {+ const ys = 5.2;+ for (const nz of [1, -1]) {+ spandrels(B, R, { cx: 0, ys, r: 2.1, x0: -2.4, x1: 2.4, yt: 7.75, zf: 0.6 * nz, nz, n: 9, dens: 0.12 });+ ringFace(B, R, { cx: 0, ys, r0: 1.8, r1: 2.1, zf: 0.45 * nz, nz, n: 18, k: 9 });+ band(B, R, { cx: 0, ys, r: 2.1, z0: 0.45 * nz, z1: 0.6 * nz, n: 18, k: 3 });+ voussoirs(B, R, { cx: 0, ys, r0: 2.1, r1: 2.4, zf: 0.6 * nz, nz, p: 0.07, k: 13, key: { dr: 0.1, dp: 0.05 } });+ }+ band(B, R, { cx: 0, ys, r: 1.8, z0: -0.45, z1: 0.45, n: 18, k: 3 });+ // Round 8: the span closes at both ends. The wall between the springing and the entablature+ // was open at x = +/-2.4 and the entablature ran off into 'phantom', so a span seen alone, or+ // at the end of a run, showed its cornice, string course and trough hollow from the side and+ // the sky through its wall. The caps face each other where spans meet, back to back, so a+ // run shows no new surface. Their own window source keeps every other texture patch as it was.+ const Rc = rng(hash('arcade-end-cap'));+ for (const sx of [1, -1]) {+ const w = pickWindow(Rc, 'trav', 1.2, 7.75 - ys, 0.12, false);+ const v = [[2.4 * sx, ys, -0.6], [2.4 * sx, ys, 0.6], [2.4 * sx, 7.75, 0.6], [2.4 * sx, 7.75, -0.6]];+ B.poly(v, [sx, 0, 0], [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ // the seat on the pier: soffit order 1.8 - 2.1 (z +/-0.45) and the wall beyond it (z +/-0.6),+ // so a span lifted off its pier shows a floor under its springing, not the wall's hollow+ for (const [xa, xb, hz0] of [[1.8, 2.1, 0.45], [2.1, 2.4, 0.6]]) {+ const ws = pickWindow(Rc, 'marble', xb - xa, 2 * hz0, 0.25, false), x0 = xa * sx, x1 = xb * sx;+ B.poly([[x0, ys, -hz0], [x1, ys, -hz0], [x1, ys, hz0], [x0, ys, hz0]], [0, -1, 0],+ [uvOf(ws, 0, 0), uvOf(ws, 1, 0), uvOf(ws, 1, 1), uvOf(ws, 0, 1)]);+ }+ }+ const hz = (y) => (y < 7.9 ? 0.66 : y < 8.6 ? 0.6 : y < 8.75 ? 0.72 : y < 9.0 ? 0.85 : 0.6);+ const state = (x, y, z) => {+ if (Math.abs(x) > 2.4) return 'empty';+ if (y < 7.75) return Math.abs(z) <= 0.6 ? 'phantom' : 'empty';+ if (y > 9.4 || Math.abs(z) > hz(y)) return 'empty';+ if (y > 9.33 && Math.abs(z) < 0.42) return 'empty';+ return 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ // turn 13: the trough floor is travertine, not soil: turned over in the hanging courts it+ // faced down as a flat green strip (all four reviews of revision 15); the ivy hangs from+ // placements of its own+ if (y > 9.0 && Math.abs(z) < 0.42) return 'trav';+ return y < 7.9 || y > 8.6 ? 'marble' : 'trav';+ };+ courses(S, [7.75, 7.9, 8.6, 8.75, 9.0, 9.33, 9.4], (y) => [2.4, hz(y)], (y) => ({ x: [0], z: y > 9.0 ? [-0.42, 0.42] : [] }), state, kindOf, 99);+}++// Arcade pier 1.2 m square to the impost at 5.0-5.2 m, on a marble plinth; the slot variant+// has a warm glowing niche on its court and outer faces (turn 9: one 0.52 x 1.55 m niche 0.2 m+// deep, where a 3.1 m hairline slot read as LED tape).+function arcadePier(S, slot) {+ const half = (y) => (y < 0.35 ? 0.7 : y < 5.0 ? 0.6 : 0.68);+ const inSlot = (y) => slot && y > 1.9 && y < 3.45;+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > 5.2) return 'empty';+ const h = half(y);+ if (Math.abs(x) > h || Math.abs(z) > h) return 'empty';+ if (inSlot(y) && Math.abs(x) < 0.26 && Math.abs(z) > 0.4) return z > 0 ? 'slot:pz' : 'slot:nz';+ return 'solid';+ };+ // one tall course holds the niche, so its glowing back is a single face+ courses(S, slot ? [0, 0.35, 1.125, 1.9, 3.45, 4.225, 5.0, 5.2] : [0, 0.35, 1.125, 1.9, 2.675, 3.45, 4.225, 5.0, 5.2], (y) => [half(y), half(y)],+ (y) => (inSlot(y) || inSlot(y + 0.8) || inSlot(y - 0.8) ? { x: [-0.26, 0.26], z: [-0.4, 0.4] } : {}), state, (x, y) => (y < 0.35 || y > 5.0 ? 'marble' : 'trav'), 1.2); // turn 16: the courses over and under the niche cut at its edges+}++// Pylon 1.8 m square and 12.6 m tall, proud of the arcade so it closes the arch modules'+// cornices and troughs: ends each arcade run and marks every terrace step, with marble bands+// at both impost levels and a glowing niche on each face (turn 9: one 0.6 x 1.8 m niche 0.2 m+// deep at walking height, where two tall slots per face read as LED tape). A plain shaft+// continues it down the foundation face into the cloud, as on the rim towers.+function pylon(S) {+ const ys = [0, 0.5, 1.4, 2.3, 4.1, 5.0, 5.25, 5.967, 6.683, 7.4, 7.65, 8.44, 9.23, 10.02, 10.81, 11.6, 11.85, 12.05, 12.45, 12.6]; // 2.3 - 4.1 one course: the niche's+ const half = (y) => (y < 0.5 ? 1.0 : y < 5.0 ? 0.9 : y < 5.25 ? 0.96 : y < 7.4 ? 0.9 : y < 7.65 ? 0.96 : y < 11.6 ? 0.9 : y < 11.85 ? 1.02 : y < 12.05 ? 1.1 : y < 12.45 ? 0.75 : 0.8);+ const inSlot = (y) => y > 2.3 && y < 4.1;+ const marble = (y) => y < 0.5 || (y > 5.0 && y < 5.25) || (y > 7.4 && y < 7.65) || (y > 11.6 && y < 12.05) || y > 12.45;+ const state = (x, y, z) => {+ if (y < 0) return Math.abs(x) <= 0.9 && Math.abs(z) <= 0.9 ? 'phantom' : 'empty';+ if (y > 12.6) return 'empty';+ const h = half(y), ax = Math.abs(x), az = Math.abs(z);+ if (ax > h || az > h) return 'empty';+ if (inSlot(y) && ax < 0.3 && az > h - 0.2) return z > 0 ? 'slot:pz' : 'slot:nz';+ if (inSlot(y) && az < 0.3 && ax > h - 0.2) return x > 0 ? 'slot:px' : 'slot:nx';+ return 'solid';+ };+ courses(S, ys, (y) => [half(y), half(y)], (y) => (inSlot(y) || inSlot(y + 0.95) || inSlot(y - 0.95) ? { x: [-0.3, 0.3, -0.7, 0.7], z: [-0.3, 0.3, -0.7, 0.7] } : {}), // turn 16: also over and under the niche+ state, (x, y) => (marble(y) ? 'marble' : 'trav'), 1.8);+ // turn 8: the shaft runs to -110, below the cloud deck (now 80 m down), to dissolve in it+ S.push({ lo: [-0.9, -110, -0.9], hi: [0.9, 0, 0.9], c: 0, kind: 'trav', dens: 0.04, exp: { px: true, nx: true, pz: true, nz: true } });+}++// Rim tower 4 m square rising 24 m above its terrace, with a plain shaft dissolving into the+// cloud below, marble bands and cornice, and a glowing niche in each face of both lower stages+// (turn 9: 0.9 x 2.4 m and 0.3 m deep, where 6 m hairline slots read as LED tape). tower-slot+// keeps the 32 m shaft (it also hangs from an inverted court, shaft up); tower-rim, for the rim+// towers, runs it to -110 under the lowered cloud deck.+// turn 14: extra stages (each 7.45 m: a storey with its glowing niches and a marble band) go in+// under the plain top stage; tower-gate, the rim towers either side of the gateway, has two+// (39 m), so from the head of F2 (04) they fill the frame's upper corners as the hero's flanking+// towers do.+function tower(S, shaft = 32, extra = 0) {+ const E = 7.45 * extra, top = 21.3 + E;+ const ys = [-0.6, 0.4, 1.6, 2.8, 5.2, 6.4, 7.6, 7.85, 9.05, 10.25, 12.65, 13.85, 15.05, 15.3];+ for (let k = 0; k < extra; k++) { const b = 15.3 + 7.45 * k; ys.push(b + 1.2, b + 2.4, b + 4.8, b + 6.0, b + 7.2, b + 7.45); }+ ys.push(...[16.5, 17.7, 18.9, 20.1, 21.3, 21.6, 21.9, 22.65, 23.4, 23.7, 24.0].map((v) => +(v + E).toFixed(3))); // each niche in one course+ const bandAt = (y) => [7.6, 15.05, ...Array.from({ length: extra }, (_, k) => 15.05 + 7.45 * (k + 1))].some((b) => y > b && y < b + 0.25);+ const half = (y) => (y < 0.4 ? 2.12 : y < top ? (bandAt(y) ? 2.08 : 2.0) : y < top + 0.3 ? 2.15 : y < top + 0.6 ? 2.3 : y < top + 2.1 ? 1.85 : y < top + 2.4 ? 1.95 : 1.2);+ const inSlot = (y) => (y > 2.8 && y < 5.2) || (y > 10.25 && y < 12.65) || Array.from({ length: extra }, (_, k) => 15.3 + 7.45 * k).some((b) => y > b + 2.4 && y < b + 4.8);+ const marble = (y) => y < 0.4 || bandAt(y) || (y > top && y < top + 0.6) || y > top + 2.1;+ const state = (x, y, z) => {+ const ax = Math.abs(x), az = Math.abs(z);+ if (y < -0.6) return ax <= 1.9 && az <= 1.9 ? 'phantom' : 'empty';+ if (y > 24 + E) return 'empty';+ const h = half(y);+ if (ax > h || az > h) return 'empty';+ if (inSlot(y) && ax < 0.45 && az > h - 0.3) return z > 0 ? 'slot:pz' : 'slot:nz';+ if (inSlot(y) && az < 0.45 && ax > h - 0.3) return x > 0 ? 'slot:px' : 'slot:nx';+ return 'solid';+ };+ // turn 16 (C: sky showed through the top of the niches, a 63 px blue wedge in h6): the courses+ // over and under each niche are cut at its edges too, so the stones closing it are its own+ // and show their faces into it+ const nearSlot = (y) => inSlot(y) || inSlot(y + 1.25) || inSlot(y - 1.25);+ courses(S, ys, (y) => [half(y), half(y)], (y) => (nearSlot(y) ? { x: [-0.45, 0.45, -1.7, 1.7], z: [-0.45, 0.45, -1.7, 1.7] } : {}),+ state, (x, y) => (marble(y) ? 'marble' : 'trav'), 2.0);+ if (shaft > 0.6) S.push({ lo: [-1.9, -shaft, -1.9], hi: [1.9, -0.6, 1.9], c: 0, kind: 'trav', dens: 0.04, exp: { px: true, nx: true, pz: true, nz: true } });+ else S.push({ lo: [-1.9, -0.6, -1.9], hi: [1.9, -0.5, 1.9], c: 0, kind: 'trav', dens: 0.12, exp: { ny: true } }); // turn 15: no shaft, a closing course under the plinth+}++// Cascade tower 4 m square and 6.4 m tall standing against a terrace wall (-Z) whose top is+// 3.4 m above the tower's base, with a recessed spout for the waterfall on its +Z face and a+// marble-rimmed planting top. Its back is closed above the wall top.+function cascade(S) {+ const half = (y) => (y < 0.6 ? 2.08 : y < 5.4 ? 2.0 : y < 5.6 ? 2.1 : 2.0);+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (z < -2.0) return y < 3.0 ? 'phantom' : 'empty';+ if (y > 6.4) return 'empty';+ const h = half(y), ax = Math.abs(x);+ if (ax > h || z > h) return 'empty';+ if (y > 4.2 && y < 5.4 && ax < 0.9 && z > 1.65) return 'spout'; // turn 9: the spout's back glowed (it read as a black slit); turn 16 (A, D: the falls poured out of lamp boxes) it is marble again+ if (y > 6.2 && ax < 1.65 && Math.abs(z) < 1.65) return 'empty';+ return 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ if (y > 5.6 && y < 6.2 && Math.abs(x) < 1.65 && Math.abs(z) < 1.65) { fk.py = 'soil'; return 'trav'; }+ return y < 0.6 || y > 5.4 ? 'marble' : 'trav';+ };+ courses(S, [0, 0.6, 1.8, 3.0, 4.2, 5.4, 5.6, 6.2, 6.4], (y) => [half(y), half(y)],+ (y) => (y > 3.0 && y < 5.6 ? { x: [-0.9, 0.9], z: [1.65] } : y > 5.6 ? { x: [-1.65, 1.65], z: [-1.65, 1.65] } : {}), state, kindOf, 2.0); // turn 16: the courses over and under the spout cut at its edges too+}++// The gateway, rebuilt in turn 7 on the hero's silhouette: 31 m wide, 12 m deep and 98.6 m+// above its threshold (front at +Z), three stacked stages under a plain stepped cornice and a+// crown that steps in through three tiers.+// - Main arch: 12 m wide and 28 m to its crown (2.3:1), springing at 22 m behind three stepped+// marble orders and a voussoir archivolt; the passage vault glows warm white between ribs.+// - Second arch: 9 m wide and 23.5 m tall, open to the sky, with a glowing ribbed soffit.+// - Lantern: 7 m wide; its reveals, order band and soffit glow.+// - Piers: a tall glowing slot on every face at each stage; small glowing niches in the crown.+// The passage walls are travertine with small bevels (rough, so the bevels do not mirror the+// sky as the marble ones did); the threshold is one seamless marble floor.+function gateway(S, R, B) {+ const seq = (a, b, n) => Array.from({ length: n }, (_, i) => +(a + ((b - a) * (i + 1)) / n).toFixed(4));+ const YS1 = 22.0, YS2 = 52.0, YS3 = 78.0;+ // turn 9: glowing niches 1 m wide and 0.3 m deep, each in one double-height course (so its+ // glowing back is one face), stacked three to a stage on the piers' faces and one to a stage+ // on the sides, where full-stage hairline slots read as LED tape+ const s1 = seq(0.6, 21.6, 17), s2 = seq(33.0, 52.0, 16), s3 = seq(64.0, 78.0, 12);+ const nicheF = [[s1[2], s1[4]], [s1[6], s1[8]], [s1[10], s1[12]], [s2[1], s2[3]], [s2[5], s2[7]], [s2[9], s2[11]], [s3[1], s3[3]], [s3[5], s3[7]]];+ const nicheS = [[s1[6], s1[8]], [s2[5], s2[7]], [s3[5], s3[7]]];+ const merged = new Set([s1[3], s1[7], s1[11], s2[2], s2[6], s2[10], s3[2], s3[6]]);+ const ys = [0, 0.6, ...s1, 22.0, ...seq(22.0, 31.0, 8), 31.6, 33.0, ...s2, ...seq(52.0, 59.0, 6),+ ...seq(59.0, 61.0, 2), 61.6, ...seq(61.6, 64.0, 2), ...s3, ...seq(78.0, 83.0, 4), ...seq(83.0, 86.0, 3), 86.4, 86.9, 87.4,+ ...seq(87.4, 91.0, 3), 91.4, ...seq(91.4, 95.0, 3), 95.4, ...seq(95.4, 98.0, 2), 98.6, 37.15].filter((y) => !merged.has(y)).sort((a, b) => a - b);+ const half0 = (y) => (y < 0.6 ? [15.7, 5.9] : y < 21.6 ? [15.5, 5.7] : y < 22.0 ? [15.65, 5.85] : y < 31.0 ? [15.5, 5.7] : y < 31.6 ? [15.8, 6.0]+ : y < 61.0 ? [15.0, 5.5] : y < 61.6 ? [15.3, 5.8] : y < 86.0 ? [14.6, 5.3] : y < 86.4 ? [14.9, 5.6] : y < 86.9 ? [15.2, 5.9] : y < 87.4 ? [15.5, 6.2]+ : y < 91.0 ? [12.4, 5.0] : y < 91.4 ? [12.7, 5.3] : y < 95.0 ? [9.4, 4.4] : y < 95.4 ? [9.7, 4.7] : y < 98.0 ? [6.2, 3.6] : [6.5, 3.9]);+ // turn 14 (the reviews of revision 15: a campanile with a grid of window-like slots, not the+ // hero's portal; widen the massing with stepped flanking piers that carry planted ledges, and+ // one or two full-height glowing slits per pier):+ // - front piers either side of the main arch, 9.4 - 15.5 m out, stand 3.5 m proud of the+ // front face up to 37.75 m, over the arch's crown and the string course, banded with the+ // body's marble courses and capped by a marble coping that is their planted ledge (the+ // planters, cypresses and ivy are placements); each carries one glowing slit 1.8 - 34.2 m+ // - the first stage steps out into two tiers of wings, so the base reads broad: to 19.5 m+ // either side up to 12.95 m, then to 18 m up to 19.13 m, full depth, each tier under a+ // marble coping course, a tall slit in each wing face+ // - elsewhere in the first two stages each pier's outer 1.9 m stands 0.45 m proud of its face,+ // a pilaster running the stage's height+ // - the body's faces take one tall glowing slit per stage where the front piers leave them open+ const PIL = 13.6, PROUD = 0.45, pilY = (y) => (y > 0.6 && y < 31.0) || (y > 33.0 && y < 61.0);+ const FP = { x0: 9.4, x1: 15.5, top: s2[3], cope: 37.15, z: 9.2 };+ const fpZ = (y) => (y < 0.6 ? 9.4 : (y > 21.6 && y < 22.0) || (y > 31.0 && y < 31.6) || y > FP.cope ? 9.5 : FP.z);+ const W1 = [19.5, s1[9]], W2 = [18.0, s1[14]];+ const wingX = (y) => (y < W1[1] ? W1[0] : y < W2[1] ? W2[0] : 0);+ const half = (y) => { const [hx, hz] = half0(y); return [Math.max(hx, wingX(y)), y < FP.top ? fpZ(y) : pilY(y) ? hz + PROUD : hz]; };+ const open1 = (az) => (az > 5.2 ? 7.5 : az > 4.6 ? 7.0 : az > 4.0 ? 6.5 : 6.0); // passage and its orders+ const open2 = (az) => (az > 4.9 ? 5.2 : az > 4.3 ? 4.85 : 4.5); // second arch+ const open3 = (az) => (az > 4.7 ? 4.0 : 3.5); // lantern+ const inN = (list, y) => list.some(([a, b]) => y > a && y < b);+ // the tall slits, 1 m wide and 0.3 m deep: [x0, x1, y0, y1, face (1 front, -1 back, 0 both)];+ // their glowing backs are drawn as one panel each (below), so the glow runs the slit's whole+ // height instead of restarting in every course+ const SLITS = [[11.35, 12.35, s1[1], s1[14], -1], [11.35, 12.35, s2[1], s2[13], -1], [11.35, 12.35, s2[4], s2[13], 1],+ [11.35, 12.35, s3[1], s3[9], 0], [17.0, 18.0, s1[1], s1[8], 0]];+ const PSLIT = [11.95, 12.95, s1[1], s2[0]]; // in the front piers' faces+ const inSlit = (ax, y, z) => SLITS.some(([x0, x1, y0, y1, f]) => (!f || f === Math.sign(z)) && ax > x0 && ax < x1 && y > y0 && y < y1);+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > 98.6) return 'empty';+ const [hx, hz1] = half(y), ax = Math.abs(x), az = Math.abs(z), hz = half0(y)[1];+ if (ax > hx || az > hz1) return 'empty';+ if (az > hz) { // proud of the body's face: a front pier, or a pilaster+ if (z > 0 && y < FP.top && ax > FP.x0 && ax < FP.x1) {+ if (z > fpZ(y)) return 'empty';+ if (ax > PSLIT[0] && ax < PSLIT[1] && y > PSLIT[2] && y < PSLIT[3]) { if (z > FP.z - 0.3) return 'empty'; if (z > FP.z - 0.6) return 'phantom'; }+ return 'solid';+ }+ return pilY(y) && ax > PIL && ax < half0(y)[0] && az < hz + PROUD ? 'solid' : 'empty';+ }+ if (y < 87.4) {+ if (inSlit(ax, y, z)) { if (az > hz - 0.3) return 'empty'; if (az > hz - 0.6) return 'phantom'; }+ if (ax > hx - 0.3 && az < 0.5 && inN(nicheS, y)) return x > 0 ? 'slot:px' : 'slot:nx';+ }+ if (y < YS1) return ax < open1(az) ? 'empty' : 'solid';+ if (y < 31.0) return ax < 8.6 ? 'phantom' : 'solid';+ if (y < 33.0) return 'solid'; // string course and the second arch's sill+ if (y < YS2) return ax < open2(az) ? 'empty' : 'solid';+ if (y < 59.0) return ax < 6.2 ? 'phantom' : 'solid';+ if (y < 64.0) return 'solid';+ if (y < YS3) return ax < open3(az) ? (x > 0 ? 'slot:nx' : 'slot:px') : 'solid'; // the lantern's reveals glow+ if (y < 83.0) return ax < 4.8 ? 'phantom' : 'solid';+ if (y > 91.4 && y < 95.0 && ax < 1.8 && az > 3.6) return z > 0 ? 'slot:pz' : 'slot:nz';+ return 'solid';+ };+ const marbleY = (y) => y < 0.6 || (y > 21.6 && y < 22.0) || (y > 31.0 && y < 31.6) || (y > 61.0 && y < 61.6) || (y > 86.0 && y < 87.4)+ || (y > 91.0 && y < 91.4) || (y > 95.0 && y < 95.4) || y > 98.0;+ const kindOf = (x, y, z) => {+ const ax = Math.abs(x);+ if (marbleY(y) || (y > 33.0 && y < 59.0 && ax < 6.2) || (y > 64.0 && y < 83.0 && ax < 4.8)) return 'marble';+ if (ax > 15.5 && ((y > s1[8] && y < W1[1]) || (y > s1[13] && y < W2[1]))) return 'marble'; // the wings' copings+ if (y > FP.cope && z > half0(y)[1]) return 'marble'; // the front piers' copings+ return 'trav';+ };+ // the faces of the courses above and below: with the piers and pilasters a course's extent is+ // no longer its face, so the coursing's steps miss a band's 0.15 m projection and its underside+ // went undrawn (cracks at the main arch's springing, glb-cracks.mjs)+ const nearFaces = (y) => { const i = ys.findIndex((v) => v > y); return [i > 1 ? (ys[i - 2] + ys[i - 1]) / 2 : y, i + 1 < ys.length ? (ys[i] + ys[i + 1]) / 2 : y].map((m) => half0(m)[1]); };+ const special = (y) => {+ const [hx] = half(y), hx0 = half0(y)[0], hz = half0(y)[1], x = [], z = [];+ if (y < 87.4) { x.push(11.35, 12.35, hx0 - 0.3); z.push(hz - 0.3, hz - 0.6, 0.5); }+ if (y < 61.6) z.push(...nearFaces(y));+ if (pilY(y)) { x.push(PIL); z.push(hz, hz + PROUD); }+ if (y < FP.top) { x.push(FP.x0, FP.x1, PSLIT[0], PSLIT[1]); z.push(hz, FP.z - 0.6, FP.z - 0.3, FP.z); }+ if (wingX(y)) x.push(hx0, ...(y < W1[1] ? [17.0, 18.0, W2[0]] : []), hx - 0.3);+ if (y < YS1) { x.push(6.0, 6.5, 7.0, 7.5); z.push(4.0, 4.6, 5.2); }+ else if (y < 31.0) x.push(8.6);+ else if (y > 33.0 && y < YS2) { x.push(4.5, 4.85, 5.2); z.push(4.3, 4.9); }+ else if (y > YS2 && y < 59.0) x.push(6.2);+ else if (y > 64.0 && y < YS3) { x.push(3.5, 4.0); z.push(4.7); }+ else if (y > YS3 && y < 83.0) x.push(4.8);+ else if (y > 91.4 && y < 95.0) { x.push(1.8); z.push(3.6); }+ return { x: x.flatMap((v) => [-v, v]), z: z.flatMap((v) => [-v, v]) };+ };+ courses(S, ys, half, special, state, kindOf, 2.0); // turn 10: the passage walls keep the common bevel (their 6 mm met 2 cm and opened slots)+ // the slits' glowing backs, one panel per slit+ const glowPanel = (x0, x1, y0, y1, sx, zb, sz) => {+ const w = pickWindow(R, 'glow', x1 - x0, y1 - y0, 1, false);+ B.poly([[sx * x0, y0, zb], [sx * x1, y0, zb], [sx * x1, y1, zb], [sx * x0, y1, zb]], [0, 0, sz],+ [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ };+ for (const [x0, x1, y0, y1, f] of SLITS) for (const sx of [-1, 1]) for (const sz of f ? [f] : [-1, 1]) glowPanel(x0, x1, y0, y1, sx, sz * (half0((y0 + y1) / 2)[1] - 0.3), sz);+ for (const sx of [-1, 1]) glowPanel(PSLIT[0], PSLIT[1], PSLIT[2], PSLIT[3], sx, FP.z - 0.3, 1);+ // Threshold: a seamless marble floor through the passage, 2 cm proud of the deck and running+ // under the walls and reveals, so no deck joint shows in it.+ for (const [z0, z1] of [[-5.9, -1.9], [-1.9, 1.9], [1.9, 5.9]]) {+ S.push({ lo: [-7.6, 0, z0], hi: [7.6, 0.02, z1], c: 0, kind: 'marble', exp: { py: true, pz: z1 > 5, nz: z0 < -5 } });+ }++ for (const nz of [1, -1]) {+ // main arch: spandrels up to the string course, a voussoir archivolt, three stepped orders+ spandrels(B, R, { cx: 0, ys: YS1, r: 7.5, x0: -8.6, x1: 8.6, yt: 31.0, zf: 5.7 * nz, nz, n: 20, dens: 0.06 });+ voussoirs(B, R, { cx: 0, ys: YS1, r0: 7.5, r1: 8.4, zf: 5.7 * nz, nz, p: 0.22, k: 27, key: { dr: 0.6, dp: 0.16 } });+ for (const [r0, r1, zf, zo] of [[7.0, 7.5, 5.2, 5.7], [6.5, 7.0, 4.6, 5.2], [6.0, 6.5, 4.0, 4.6]]) {+ ringFace(B, R, { cx: 0, ys: YS1, r0, r1, zf: zf * nz, nz, n: 44, k: 21 });+ band(B, R, { cx: 0, ys: YS1, r: r1, z0: zf * nz, z1: zo * nz, n: 44, k: 5 });+ }+ // second arch, open to the sky: two orders+ spandrels(B, R, { cx: 0, ys: YS2, r: 5.2, x0: -6.2, x1: 6.2, yt: 59.0, zf: 5.5 * nz, nz, n: 16, dens: 0.08 });+ voussoirs(B, R, { cx: 0, ys: YS2, r0: 5.2, r1: 5.9, zf: 5.5 * nz, nz, p: 0.18, k: 21, key: { dr: 0.4, dp: 0.12 } });+ for (const [r0, r1, zf, zo] of [[4.85, 5.2, 4.9, 5.5], [4.5, 4.85, 4.3, 4.9]]) {+ ringFace(B, R, { cx: 0, ys: YS2, r0, r1, zf: zf * nz, nz, n: 36, k: 15 });+ band(B, R, { cx: 0, ys: YS2, r: r1, z0: zf * nz, z1: zo * nz, n: 36, k: 4 });+ }+ // lantern: a marble order whose band glows+ spandrels(B, R, { cx: 0, ys: YS3, r: 4.0, x0: -4.8, x1: 4.8, yt: 83.0, zf: 5.3 * nz, nz, n: 14, dens: 0.1 });+ voussoirs(B, R, { cx: 0, ys: YS3, r0: 4.0, r1: 4.6, zf: 5.3 * nz, nz, p: 0.16, k: 17, key: { dr: 0.3, dp: 0.1 } });+ ringFace(B, R, { cx: 0, ys: YS3, r0: 3.5, r1: 4.0, zf: 4.7 * nz, nz, n: 30, k: 11 });+ band(B, R, { cx: 0, ys: YS3, r: 4.0, z0: 4.7 * nz, z1: 5.3 * nz, n: 30, kind: 'glow' });+ }+ // Soffits: glowing panels between marble ribs in the passage and the second arch; the+ // lantern glows all through.+ const vault = (y0, r, zEnd, ribs, w, n) => {+ const zc = [-zEnd, ...ribs.flatMap((zr) => [zr - w, zr + w]), zEnd];+ for (let i = 0; i + 1 < zc.length; i += 2) band(B, R, { cx: 0, ys: y0, r, z0: zc[i], z1: zc[i + 1], n, kind: 'glow' });+ for (const zr of ribs) {+ band(B, R, { cx: 0, ys: y0, r: r - 0.15, z0: zr - w, z1: zr + w, n, k: 9 });+ for (const sg of [-1, 1]) ringFace(B, R, { cx: 0, ys: y0, r0: r - 0.15, r1: r, zf: zr + w * sg, nz: sg, n, k: 9 });+ // turn 10: the rib's ends, where it springs from the walls (they were open to the sky)+ const wnd = pickWindow(R, 'marble', 0.15, 2 * w, DENS.marble, false);+ for (const a of [0, Math.PI]) B.poly([at(0, y0, r - 0.15, a, zr - w), at(0, y0, r, a, zr - w), at(0, y0, r, a, zr + w), at(0, y0, r - 0.15, a, zr + w)],+ [0, -1, 0], [uvOf(wnd, 0, 0), uvOf(wnd, 1, 0), uvOf(wnd, 1, 1), uvOf(wnd, 0, 1)]);+ }+ };+ vault(YS1, 6.0, 4.0, [-2.4, -0.8, 0.8, 2.4], 0.2, 44);+ vault(YS2, 4.5, 4.3, [-1.4, 1.4], 0.18, 36);+ band(B, R, { cx: 0, ys: YS3, r: 3.5, z0: -4.7, z1: 4.7, n: 30, kind: 'glow' });+}++// Planter for the cypresses and shrubs: a recessed brass strip at the foot, a marble plinth, a+// coursed ivory travertine body and a marble rim 0.12 m wide over a soil top 6 cm down.+function planter(S, hx, hz, h) {+ const half = (y) => (y < 0.05 ? [hx, hz] : y < 0.15 ? [hx + 0.03, hz + 0.03] : y < h - 0.12 ? [hx, hz] : [hx + 0.04, hz + 0.04]);+ const inside = (x, z) => Math.abs(x) < hx - 0.12 && Math.abs(z) < hz - 0.12;+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > h) return 'empty';+ const [a, b] = half(y);+ if (Math.abs(x) > a || Math.abs(z) > b) return 'empty';+ return y > h - 0.06 && inside(x, z) ? 'empty' : 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ if (y > h - 0.12 && y < h - 0.06 && inside(x, z)) { fk.py = 'soil'; return 'trav'; }+ return y < 0.05 ? 'brass' : y < 0.15 || y > h - 0.12 ? 'marble' : 'trav';+ };+ const mid = (0.15 + h - 0.12) / 2;+ courses(S, [0, 0.05, 0.15, +mid.toFixed(3), +(h - 0.12).toFixed(3), +(h - 0.06).toFixed(3), h], (y) => half(y),+ (y) => (y > h - 0.12 ? { x: [-(hx - 0.12), hx - 0.12], z: [-(hz - 0.12), hz - 0.12] } : {}), state, kindOf, 0.8);+}++// Floating cube, 1 m with a 2 cm bevel, polished white marble; placements scale it from a block+// you could almost touch to monoliths. cube-mirror (in build) is the same block as a mirror.+const CUBE = { lo: [-0.5, -0.5, -0.5], hi: [0.5, 0.5, 0.5], c: 0.02, kind: 'marble-a', dens: 0.5, exp: { px: true, nx: true, py: true, ny: true, pz: true, nz: true } };+function cubeMarble(S) { S.push({ ...CUBE, exp: { ...CUBE.exp } }); }+// The mirror cube's mesh: each face spans its whole texture (a mirror inside a brass border),+// and the 2 cm bevels and corners sample the border, so the frame runs round every edge.+function mirrorCube(B) {+ const h = 0.5, c = 0.04, rim = [0.015, 0.5]; // turn 16: a bevel twice as wide, to catch the sun (round 7: flat faces)+ const V = (g, ax) => [0, 1, 2].map((i) => (i === ax ? g[i] * h : g[i] * (h - c)));+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const [a1, a2] = [0, 1, 2].filter((i) => i !== ax), n = [0, 0, 0];+ n[ax] = s;+ const gs = [[-1, -1], [1, -1], [1, 1], [-1, 1]].map(([p, q]) => { const g = [0, 0, 0]; g[ax] = s; g[a1] = p; g[a2] = q; return g; });+ B.poly(gs.map((g) => V(g, ax)), n, [[0, 0], [1, 0], [1, 1], [0, 1]]);+ }+ for (let a = 0; a < 3; a++) for (let b = a + 1; b < 3; b++) for (const sa of [-1, 1]) for (const sb of [-1, 1]) {+ const o = [0, 1, 2].find((i) => i !== a && i !== b), n = [0, 0, 0];+ const g = (so) => { const t = [0, 0, 0]; t[a] = sa; t[b] = sb; t[o] = so; return t; };+ n[a] = sa; n[b] = sb;+ B.poly([V(g(-1), a), V(g(1), a), V(g(1), b), V(g(-1), b)], nrm(n), [rim, rim, rim, rim]);+ }+ for (const sx of [-1, 1]) for (const sy of [-1, 1]) for (const sz of [-1, 1]) B.poly([V([sx, sy, sz], 0), V([sx, sy, sz], 1), V([sx, sy, sz], 2)], nrm([sx, sy, sz]), [rim, rim, rim]);+}++// Floating isle: a marble deck 24 m square over an inverted ziggurat of coursed ivory travertine+// with marble bands, narrowing in steps to a 4.4 m keel 18.4 m down. Decks, arcades and+// planting from the kit stand on top.+function isle(S) {+ const halves = [12, 11.3, 10.5, 9.6, 8.6, 7.6, 6.5, 5.4, 4.3, 3.2, 2.2], tops = [0, -0.4]; // course boundaries from the deck down+ for (let k = 1; k < halves.length; k++) tops.push(+(-0.4 - 1.8 * k).toFixed(2));+ const course = (y) => Math.max(0, tops.findIndex((v, i) => i + 1 < tops.length && y <= v && y >= tops[i + 1]));+ const half = (y) => { const h = halves[Math.min(halves.length - 1, course(y))]; return [h, h]; };+ const state = (x, y, z) => {+ if (y > 0 || y < tops[tops.length - 1]) return 'empty';+ const [h] = half(y);+ return Math.abs(x) <= h && Math.abs(z) <= h ? 'solid' : 'empty';+ };+ const kindOf = (x, y) => (y > -0.4 || course(y) % 4 === 3 ? 'marble-a' : 'trav-a');+ // turn 10: courses() takes the boundaries from the bottom up; given them from the top down it+ // found no step's underside, so the keel showed the sky between its courses+ courses(S, tops.slice().reverse(), half, () => ({}), state, kindOf, 2.4);+}++// Far monolith (turn 9, rule 6's far layer): a colossal coursed travertine stele, 10 x 40 x 10 m+// at scale 1 (placements scale it two to five times), on a stepped marble plinth under a+// stepped cap, with a marble band every sixth course; stones 2.5 m long in 1.6 m courses with+// 6 cm bevels, so at a few hundred metres it reads as built masonry, not a plain block. It+// floats, so its underside is drawn too.+function monolith(S) {+ const ys = [0, 0.8];+ for (let y = 1.6; y < 38.4 + 1e-6; y += 1.6) ys.push(+y.toFixed(2));+ ys.push(39.2, 40);+ const half = (y) => (y < 0.8 ? 5.6 : y < 1.6 ? 5.3 : y < 38.4 ? 5.0 : y < 39.2 ? 5.3 : 4.6);+ const state = (x, y, z) => (y < 0 || y > 40 || Math.abs(x) > half(y) || Math.abs(z) > half(y) ? 'empty' : 'solid');+ const band = (y) => y < 1.6 || y > 38.4 || Math.floor((y - 1.6) / 1.6) % 6 === 5;+ courses(S, ys, (y) => [half(y), half(y)], () => ({}), state, (x, y) => (band(y) ? 'marble-a' : 'trav-a'), 2.5);+ for (const st of S) st.c = 0.06;+}++// turn 15 (round 5: the arcade tops ran as one flat line; staggered pavilions should break it):+// an open belvedere on a coursed shaft standing up out of the cloud sea. A marble plinth 4.8 m+// square, four travertine corner piers 0.8 m square, on every side a round arch 3 m wide+// springing at 2.9 m under a marble archivolt, a marble entablature from 4.8 to 5.95 m and a roof+// stepping in three times to a marble finial at 7.6 m; the shaft, 3.4 m square, runs 60 m down.+// The arches of the x-facing sides are drawn through a proxy that turns them a quarter about y.+function pavilion(S, R, B) {+ const H = 2.3, P = 0.8, ys = 2.9, r = 1.5, yt = 4.8, open = { px: true, nx: true, pz: true, nz: true };+ S.push({ lo: [-H - 0.1, -0.3, -H - 0.1], hi: [H + 0.1, 0, H + 0.1], c: 0.02, kind: 'marble', dens: 0.25, exp: { py: true, ny: true, ...open } });+ S.push({ lo: [-1.7, -60, -1.7], hi: [1.7, -0.3, 1.7], c: 0.02, kind: 'trav', dens: 0.12, exp: open });+ for (const sx of [-1, 1]) for (const sz of [-1, 1]) {+ S.push({ lo: [sx > 0 ? H - P : -H, 0, sz > 0 ? H - P : -H], hi: [sx > 0 ? H : -H + P, yt, sz > 0 ? H : -H + P], c: 0.02, kind: 'trav', dens: 0.19, exp: open });+ }+ for (const [y0, y1, h, kind] of [[yt, 5.2, 2.45, 'marble'], [5.2, 5.75, 2.35, 'trav'], [5.75, 5.95, 2.6, 'marble'], [5.95, 6.3, 2.1, 'trav'], [6.3, 6.65, 1.6, 'trav'],+ [6.65, 7.0, 1.1, 'marble'], [7.0, 7.6, 0.35, 'marble']]) S.push({ lo: [-h, y0, -h], hi: [h, y1, h], c: 0.015, kind, dens: kind === 'marble' ? 0.25 : 0.19, exp: { py: true, ny: true, ...open } });+ const turned = { poly: (v, n, uv) => B.poly(v.map(([x, y, z]) => [z, y, -x]), [n[2], n[1], -n[0]], uv),+ polyN: (v, ns, uv) => B.polyN(v.map(([x, y, z]) => [z, y, -x]), ns.map((n) => [n[2], n[1], -n[0]]), uv) };+ for (const BB of [B, turned]) for (const s of [-1, 1]) {+ spandrels(BB, R, { cx: 0, ys, r, x0: -1.5, x1: 1.5, yt, zf: H * s, nz: s, n: 12, dens: 0.12 }); // outer face+ spandrels(BB, R, { cx: 0, ys, r, x0: -1.5, x1: 1.5, yt, zf: (H - P) * s, nz: -s, n: 12, dens: 0.12 }); // inner face+ voussoirs(BB, R, { cx: 0, ys, r0: r, r1: r + 0.3, zf: H * s, nz: s, p: 0.06, k: 9, key: { dr: 0.12, dp: 0.04 } });+ band(BB, R, { cx: 0, ys, r, z0: (H - P) * s, z1: H * s, n: 16 });+ }+}++// A piece's stones and faces moved dx along x, into another piece's mesh.+function putShifted(S, R, B, fn, dx) {+ const S2 = [], shift = (v) => [v[0] + dx, v[1], v[2]];+ fn(S2, R, { poly: (v, n, uv) => B.poly(v.map(shift), n, uv), polyN: (v, ns, uv) => B.polyN(v.map(shift), ns, uv) });+ for (const st of S2) S.push({ ...st, lo: shift(st.lo), hi: shift(st.hi) });+}++// Review only (never saved): three arches on their piers between two pylons, in one mesh.+function previewArcade(S, R, B) {+ const put = (fn, dx) => putShifted(S, R, B, fn, dx);+ for (const dx of [-4.8, 0, 4.8]) put((S2, R2, B2) => arcadeArch(S2, R2, B2), dx);+ put((S2) => arcadePier(S2, true), -2.4);+ put((S2) => arcadePier(S2, false), 2.4);+ for (const dx of [-7.2, 7.2]) put((S2) => pylon(S2), dx);+}++// Turn 15: one bay of the arcade in one mesh, the plain pier at x = 0 and its arch on the +x+// side (x -0.7 .. 4.8), so the inverted sanctuary's arcades take one placement a bay.+function arcadeBay(S, R, B) {+ putShifted(S, R, B, (S2) => arcadePier(S2, false), 0);+ putShifted(S, R, B, (S2, R2, B2) => arcadeArch(S2, R2, B2), 2.4);+}++const PIECES = {+ 'preview-arcade': { glow: GLOW, build: previewArcade },+ 'arcade-arch': { glow: 0, build: arcadeArch },+ 'arcade-pier': { glow: 0, build: (S) => arcadePier(S, false) },+ 'arcade-pier-slot': { glow: GLOW, build: (S) => arcadePier(S, true) },+ 'arcade-pylon': { glow: GLOW, build: pylon },+ 'tower-slot': { glow: GLOW, build: (S) => tower(S) },+ 'tower-rim': { glow: GLOW, build: (S) => tower(S, 110) },+ 'tower-gate': { glow: GLOW, build: (S) => tower(S, 110, 2) }, // turn 14: the T3 rim towers beside the gateway, two storeys taller+ 'cascade-tower': { glow: GLOW, build: cascade },+ 'gateway': { glow: GLOW, build: gateway },+ 'planter-sq': { glow: 0, build: (S) => planter(S, 0.8, 0.8, 0.9) },+ 'planter-long': { glow: 0, build: (S) => planter(S, 2.0, 0.6, 0.7) },+ 'cube-marble': { glow: 0, build: cubeMarble },+ 'isle-base': { glow: 0, build: isle },+ 'monolith': { glow: 0, build: monolith },+ 'pavilion': { glow: 0, build: pavilion }, // turn 15+ 'tower-hang': { glow: GLOW, build: (S) => tower(S, 0.6, 1) }, // turn 15: a rim tower one storey taller with no shaft, to hang from the inverted sanctuary+ 'arcade-bay': { glow: 0, build: arcadeBay }, // turn 15+};++async function build() {+ const root = createRoot(PIECE);+ if (PIECE === 'orb') { // a true mirror: white metal, roughness 0.02, smooth normals+ const white = proceduralTexture({ schemaVersion: 2, size: 4, usage: 'albedo', layers: [{ op: 'solid', color: 0xf2f4f6 }] });+ createPart('orb', sphereGeo(2.25, 96, 64), pbrMaterial({ albedo: white, roughness: 0.02, metalness: 1 }), { parent: root });+ return root;+ }+ // the floating cube as a true mirror with a hairline brass edge (turn 9: the frame read as a crate);+ // cube-mirror-court (turn 11) is the same cube under its own name, for the court's reflection probe+ if (PIECE === 'cube-mirror' || PIECE === 'cube-mirror-court' || PIECE === 'cube-mirror-far') { // turn 16: cube-mirror-far, the same cube for the far ones' sky reflection+ const n = 64, f = 1, inner = { kind: 'rectangle', x: f, y: f, width: n - 2 * f, height: n - 2 * f };+ const albedo = proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'albedo', background: [236, 212, 156, 255], // turn 16: a paler gold bevel (was 212, 176, 104)+ operations: [{ op: 'paint', shape: inner, rgba: [238, 240, 243, 255] }] });+ const mr = proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'metallicRoughness', background: [0, 64, 255, 255], // turn 16: bevel roughness 0.25 (was 0.35)+ operations: [{ op: 'paint', shape: inner, rgba: [0, 5, 255, 255] }] }); // turn 13: roughness 0.02 (was 0.04)+ const B = makeBuilder();+ mirrorCube(B);+ createPart('cube_mirror', B.geometry(), pbrMaterial({ albedo, metallicRoughness: mr, roughness: 1, metalness: 1 }), { parent: root });+ return root;+ }+ const piece = PIECES[PIECE], R = rng(hash(PIECE)), B = makeBuilder(), S0 = [];+ piece.build(S0, R, B);+ const S = splitStones(S0);+ seal(S);+ for (const st of S) emitStone(B, R, st);+ createPart(PIECE.replace(/-/g, '_'), B.geometry(), await stoneMaterial(1024, piece.glow), { parent: root });+ return root;+}diff --git a/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/manifest.json b/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/manifest.jsonnew file mode 100644index 00000000..f9e0a29e--- /dev/null+++ b/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/manifest.json@@ -0,0 +1,367 @@+{+ "version": "kiln.asset.v1",+ "assetId": "a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6",+ "revisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "parentRevision": "r_60cc31247cad446a95672bddc01ae520",+ "name": "arcade-bay",+ "tags": [+ "meridian-sanctuary",+ "architecture",+ "arcade"+ ],+ "createdAt": "2026-10-28T14:50:46.648Z",+ "description": "One arcade bay in one mesh (plain pier with its arch on the +x side), closed at both ends and on its springing seat.",+ "editable": true,+ "files": {+ "asset.glb": {+ "sha256": "sha256:75f2c2550908103bbd11872a441903c024bcafcfbada4a5890846696eac94521",+ "bytes": 608836+ },+ "source.kiln.js": {+ "sha256": "sha256:836d25f97336a6ebd482f4249e673ccac934ddaf8d83a319e05ce31178a44b8f",+ "bytes": 66700+ },+ "preview.png": {+ "sha256": "sha256:eedbcb73482c61c1482e1b45e3478e771752418d7532425618958773d872f3d3",+ "bytes": 160700+ }+ },+ "build": {+ "engine": "sha256:d1c12efdb98720e77eefec461b44c6eeefcbe8506abf94f31ada0b040c0555b3",+ "options": {+ "gltfExporter": "legacy",+ "optimize": "off",+ "instance": "auto",+ "geometryPolicy": "warn",+ "indexPolicy": "indexed",+ "qaMode": "enforce",+ "evaluatorMode": "subprocess",+ "requirements": {+ "kind": "kiln.requirements-context.v1",+ "requirements": {+ "kind": "kiln.asset-requirements",+ "schemaVersion": 1,+ "labels": [],+ "frame": {+ "units": "m",+ "forward": "+X",+ "up": "+Y",+ "right": "+Z",+ "groundY": 0+ },+ "requirements": {}+ },+ "policyHash": "sha256:9efcec929bf8a510c7dd0e18b687381e3824ff3d26cc20307f601d17535e5f34",+ "adviceHash": "sha256:ca1f59b45e82e712e06149909000e2bc37b8cf159af70e32847088cecf153268"+ }+ },+ "warnings": [],+ "integration": {+ "schemaVersion": "kiln.integration-manifest.v1",+ "analyzerVersion": 1,+ "artifactSha256": "75f2c2550908103bbd11872a441903c024bcafcfbada4a5890846696eac94521",+ "units": "m",+ "axes": {+ "forward": "+X",+ "up": "+Y",+ "right": "+Z"+ },+ "bounds": {+ "min": [+ -0.699999988079071,+ 0,+ -0.8500000238418579+ ],+ "max": [+ 4.800000190734863,+ 9.399999618530273,+ 0.8500000238418579+ ],+ "size": [+ 5.500000178813934,+ 9.399999618530273,+ 1.7000000476837158+ ],+ "center": [+ 2.050000101327896,+ 4.699999809265137,+ 0+ ]+ },+ "pivot": {+ "convention": "author-origin",+ "position": [+ 0,+ 0,+ 0+ ]+ },+ "ground": {+ "groundY": 0,+ "contactTolerance": 0.02,+ "minY": 0,+ "offsetToGround": 0,+ "grounded": true+ },+ "defaultScene": {+ "index": 0,+ "name": "Meridian architecture"+ },+ "renderMetrics": {+ "triangles": 3128,+ "drawCalls": 1,+ "uniqueGeometries": 1,+ "uniqueMaterials": 1,+ "textureCount": 3,+ "transparentMaterials": 0,+ "skinned": false+ },+ "structuralQa": {+ "hasDefaultScene": true,+ "finiteBounds": true,+ "validatorErrors": 0,+ "validatorWarnings": 0+ },+ "visualQa": "not_assessed"+ },+ "qa": {+ "kind": "kiln.asset-qa-report",+ "schemaVersion": 2,+ "qaProfile": "asset.requirements.v1",+ "policyHash": "sha256:9efcec929bf8a510c7dd0e18b687381e3824ff3d26cc20307f601d17535e5f34",+ "adviceHash": "sha256:ca1f59b45e82e712e06149909000e2bc37b8cf159af70e32847088cecf153268",+ "acceptance": "accepted",+ "disposition": "pass",+ "dimensions": {+ "exportIntegrity": {+ "status": "pass",+ "findings": [],+ "metrics": {+ "gltfErrors": 0,+ "gltfWarnings": 0+ }+ },+ "requirementReadiness": {+ "status": "pass",+ "findings": []+ },+ "promptAlignment": {+ "status": "notEvaluated",+ "findings": []+ },+ "visualQuality": {+ "status": "notEvaluated",+ "findings": [],+ "metrics": {+ "partVolumeCoverage": "complete-static-pairs",+ "partVolumeScope": "Visible static closed mesh pairs, except alternates on different LOD levels; excludes intra-mesh intersections, motion, open surfaces and usable passage space. Positive overlap may be intentional.",+ "partVolumeEligibleParts": 1,+ "partVolumeCandidatePairs": 0,+ "partVolumeCandidatesLowerBound": false,+ "partVolumePairsTested": 0,+ "partVolumeUnmeasurablePairs": 0,+ "partVolumePairsNotReached": 0,+ "partVolumeLodAlternatePairs": 0,+ "partVolumeSkipped": 0+ }+ },+ "runtimeCost": {+ "status": "pass",+ "findings": [],+ "metrics": {+ "instanceabilityGrade": "A",+ "instanceabilitySummary": "A (informational, not a QA verdict), set by 1 distinct material (A at 0-1). Also: 1 geometry; 1 draw call.",+ "uniqueGeometries": 1,+ "uniqueMaterials": 1,+ "meshNodes": 1,+ "meshInstances": 1,+ "drawCalls": 1,+ "textureCount": 3,+ "skinned": false,+ "transparentMaterials": 0,+ "triangles": 3128,+ "materialCount": 1,+ "opaqueMaterials": 1,+ "maskedMaterials": 0,+ "blendedMaterials": 0,+ "singleSidedMaterials": 1,+ "doubleSidedMaterials": 0,+ "texturedMaterials": 1,+ "materialExtensionCount": 0,+ "materialExtensionsUsed": "",+ "imageCount": 3,+ "maxImageDimension": 1024,+ "decodedImageBytesRgba8": 8650752,+ "estimatedGpuBytesWithMipmaps": 11534338,+ "blendedSurfaceAreaRatio": 0+ }+ }+ },+ "rules": [+ {+ "id": "UNIVERSAL_SCENE_CONTENT_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_FINITE_DATA_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_INDEX_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_ZERO_SCALE_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_NODE_NAME_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "UNIVERSAL_ANIMATION_TARGET_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "MATERIAL_PORTABLE_PBR_RULE",+ "mode": "enforce",+ "status": "evaluated"+ },+ {+ "id": "ARCHITECTURE_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ARCHITECTURE_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "CHARACTER_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "CHARACTER_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEHICLE_W6_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VEGETATION_CONTACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VEGETATION_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "PROP_CAPABILITY_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "PROP_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "ENVIRONMENT_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ENVIRONMENT_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "VFX_EXACT_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "VFX_ADVISORY_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "MODULAR_JOIN_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ },+ {+ "id": "ASSET_SCOPE_PROFILE",+ "mode": "observe",+ "status": "notRequested"+ },+ {+ "id": "GEO_PART_SELF_INTERSECTION",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "GEO_PART_CONNECTIVITY",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "REF_COMPARISON",+ "mode": "observe",+ "status": "notEvaluated",+ "reason": "Neutral measurement adapter remains to be qualified; no category fallback is used."+ },+ {+ "id": "SWEEP_SELF_INTERSECTION",+ "mode": "observe",+ "status": "evaluated"+ },+ {+ "id": "HOST_VALIDATION_PROFILE",+ "mode": "enforce",+ "status": "notRequested"+ }+ ],+ "unevaluatedRequirements": []+ },+ "dependencies": [],+ "rebuild": "engine-required"+ },+ "preview": {+ "fidelity": {+ "version": "kiln.view-fidelity.v1",+ "requested": "full-preferred",+ "delivered": "full-material",+ "materialFaithful": true,+ "exactArtifact": true,+ "rendererId": "dawn-d3d12:nvidia-geforce-rtx-3070:D3D12 driver version 32.0.16.1742",+ "inputGlbSha256": "sha256:75f2c2550908103bbd11872a441903c024bcafcfbada4a5890846696eac94521",+ "degraded": false,+ "reasonCodes": []+ },+ "backdrop": "neutral"+ }+}diff --git a/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/source.kiln.js b/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/source.kiln.jsnew file mode 100644index 00000000..b2c451fe--- /dev/null+++ b/packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/source.kiln.js@@ -0,0 +1,990 @@+// Meridian Sanctuary architecture (plan.md sections 3 and 5, assets 14-20).+// One program builds every piece; PIECE selects which one this revision is. Each stone piece+// is one mesh with one material: an atlas of white veined marble, ivory travertine and a+// band of brass, warm-white glow and planting soil, with an emissive map for the glow.+// Masses are coursed, chamfered stones on a cell grid; arches are true round arches.+const meta = { name: 'Meridian architecture' };+const PIECE = 'arcade-bay';++function rng(seed) {+ let s = (seed >>> 0) || 0x9e3779b9;+ return () => { s ^= s << 13; s >>>= 0; s ^= s >>> 17; s ^= s << 5; s >>>= 0; return s / 4294967296; };+}+function hash(str) { let h = 2166136261; for (const ch of str) { h ^= ch.charCodeAt(0); h = Math.imul(h, 16777619); } return h >>> 0; }+const sub = (a, b) => [a[0] - b[0], a[1] - b[1], a[2] - b[2]];+const dot = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2];+const nrm = (a) => { const l = Math.hypot(a[0], a[1], a[2]) || 1; return [a[0] / l, a[1] / l, a[2] / l]; };++// ---------------------------------------------------------------- textures (as the stone kit)+const BAND = 0.047; // top band of quadrant 4: brass | glow | soil+const BAND_COLS = [[0.5, 0.66], [0.66, 0.83], [0.83, 1.0]];+const REG = {+ MA: [0.008, 0.008, 0.492, 0.492], MB: [0.508, 0.008, 0.992, 0.492],+ TA: [0.008, 0.508, 0.492, 0.992], TB: [0.508, 0.5 + BAND + 0.008, 0.992, 0.992],+ BR: [0.506, 0.507, 0.654, 0.5 + BAND - 0.007], GL: [0.672, 0.509, 0.818, 0.5 + BAND - 0.009], SO: [0.836, 0.508, 0.99, 0.5 + BAND - 0.007],+};++function veinPolys(R, x, y, ang, steps, len, halfW, wiggle, seg = 6) {+ const left = [], right = [];+ for (let k = 0; k < steps; k++) {+ ang += (R() - 0.5) * wiggle;+ x += Math.cos(ang) * len; y += Math.sin(ang) * len;+ const t = k / (steps - 1);+ const w = Math.max(1, halfW * (0.35 + 0.65 * Math.sin(Math.PI * t)) * (0.7 + 0.6 * R()));+ const nx = -Math.sin(ang) * w, ny = Math.cos(ang) * w;+ left.push([Math.round(x + nx) + 0, Math.round(y + ny) + 0]);+ right.push([Math.round(x - nx) + 0, Math.round(y - ny) + 0]);+ }+ const polys = [];+ for (let a = 0; a < steps - 1; a += seg) {+ const b = Math.min(steps - 1, a + seg);+ const pts = left.slice(a, b + 1).concat(right.slice(a, b + 1).reverse()).filter((p, i, arr) => i === 0 || p[0] !== arr[i - 1][0] || p[1] !== arr[i - 1][1]);+ if (pts.length >= 3) polys.push(pts);+ }+ return polys;+}+// White veined marble (turn 9, after the reviews of revision 11: veins did not read at eye height):+// a near-white ground with bold grey-gold veins, a soft halo round each, at a scale where a metre+// of floor carries a vein or two.+function marbleSpec(q, seed, baseAng) {+ const s = q / 512, R = rng(seed), ops = [];+ ops.push({ op: 'legacy-v2', spec: { schemaVersion: 2, size: q, usage: 'albedo', layers: [+ { op: 'noise', colorA: 0xf1efea, colorB: 0xfefdfb, scale: 3, octaves: 4, seed },+ { op: 'noise', colorA: 0xdcd6cc, colorB: 0xfaf8f4, scale: 10, octaves: 2, seed: seed + 5, blend: 'overlay', opacity: 0.25 },+ ] } });+ // turn 16 (round 7: thick brown crescent strokes on every tile read as scuffs or cracks): two+ // long veins a patch, each a wide faint halo round a fine warm-grey core with a forked branch,+ // and fainter, finer secondary veins+ for (let i = 0; i < 2; i++) {+ const x = -0.05 * q, y = ((i + 0.25 + R() * 0.5) * q) / 2, ang = baseAng + (R() - 0.5) * 0.3, vs = Math.floor(R() * 1e9);+ for (const p of veinPolys(rng(vs), x, y, ang, 31, q / 19, 10 * s + 1, 0.22)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [222, 216, 206, 255], opacity: 28 });+ for (const p of veinPolys(rng(vs), x, y, ang, 31, q / 19, 1.2 * s + 0.6, 0.22)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [178, 172, 162, 255], opacity: 75 });+ const t = 0.3 + 0.3 * R(), ba = ang + (R() < 0.5 ? -1 : 1) * (0.4 + 0.3 * R());+ for (const p of veinPolys(R, x + t * q * Math.cos(ang), y + t * q * Math.sin(ang), ba, 13, q / 26, 0.9 * s + 0.5, 0.35)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [186, 180, 170, 255], opacity: 60 });+ }+ for (let i = 0; i < 5; i++) {+ const opacity = 30 + Math.floor(R() * 18);+ for (const p of veinPolys(R, R() * q, R() * q, baseAng + (R() - 0.5) * 0.9, 19, q / 30, 0.8 * s + 0.5, 0.5)) ops.push({ op: 'paint', shape: { kind: 'polygon', points: p }, rgba: [200, 194, 186, 255], opacity });+ }+ return { schemaVersion: 3, width: q, height: q, usage: 'albedo', operations: ops };+}+// Ivory travertine (turn 9: it read as flat plaster): bedding bands of varied width and warmth+// across each patch, soft pits of several sizes (fewer tiny dark ones, which sparkled at+// distance), and a tint per patch (warm or cream), so neighbouring blocks differ. band: null, or+// three RGBA colours for the brass, glow and soil columns of the band.+// Turn 13 (the reviews of revision 15: travertine read cool grey in shade and its pits as+// polka dots and dashes): a warmer ivory ground and bedding, and fewer, rounder, paler pits.+function travSpec(q, seed, band, tint = 0) {+ const s = q / 512, R = rng(seed), ops = [], t = (c) => c + tint * 0x030406; // tint > 0: a creamier patch+ ops.push({ op: 'legacy-v2', spec: { schemaVersion: 2, size: q, usage: 'albedo', layers: [+ { op: 'noise', colorA: t(0xe1d0b5), colorB: t(0xf8efdf), scale: 4, octaves: 3, seed }, // turn 16: more value from block to block (was e7d8c0)+ { op: 'stripes', colorA: t(0xe3d2b6), colorB: t(0xf7eedd), count: 14, angleDeg: 90, blend: 'overlay', opacity: 0.45 },+ ] } });+ for (let i = 0; i < 14; i++) { // bedding: a few broad soft bands and fine streaks+ const y = Math.round(R() * q), dy = Math.round((R() - 0.5) * 6 * s), broad = i < 4, light = R() < 0.45;+ ops.push({ op: 'paint', shape: { kind: 'line', from: [-4, y], to: [q + 4, y + dy], width: Math.max(1, Math.round((broad ? 9 + R() * 10 : 1 + R() * 2) * s)) },+ rgba: light ? [250, 244, 232, 255] : [220, 202, 172, 255], opacity: broad ? 55 : 50 });+ }+ const pits = (w, h, rgba, count, area = { x: 0, y: 0, width: q, height: q }) => ops.push({ op: 'stamps',+ shape: { kind: 'ellipse', x: 0, y: 0, width: Math.max(2, Math.round(w * s)), height: Math.max(1, Math.round(h * s)) },+ rgba, count, seed: Math.floor(R() * 4e9), area });+ // turn 16 (round 7: the pits read as a uniform sprinkle of dark dots): long thin pits along the+ // bedding, in five bands where they gather, and a few rounder ones between+ for (let i = 0; i < 5; i++) {+ const bh = Math.round((14 + R() * 26) * s), y0 = Math.round(R() * (q - bh));+ pits(10, 2, [208, 192, 166, 255], 14, { x: 0, y: y0, width: q, height: bh });+ pits(18, 3, [212, 197, 172, 255], 6, { x: 0, y: y0, width: q, height: bh });+ }+ pits(6, 4, [214, 200, 176, 255], 12);+ if (band) {+ const bh = Math.round(BAND * 2 * q);+ BAND_COLS.forEach(([a, b], i) => {+ const x0 = Math.round((a - 0.5) * 2 * q), x1 = Math.round((b - 0.5) * 2 * q);+ ops.push({ op: 'paint', shape: { kind: 'rectangle', x: x0, y: 0, width: x1 - x0, height: bh }, rgba: band[i] });+ });+ }+ return { schemaVersion: 3, width: q, height: q, usage: 'albedo', operations: ops };+}+function ormSpec(oq, roughA, roughB, seed, band) {+ const ops = [{ op: 'legacy-v2', spec: { schemaVersion: 2, size: oq, usage: 'metallicRoughness', layers: [+ { op: 'noise', colorA: roughA << 8, colorB: roughB << 8, scale: 5, octaves: 3, seed }] } }];+ if (band) {+ const bh = Math.max(1, Math.round(BAND * 2 * oq));+ [[0, 82, 255, 255], [0, 110, 0, 255], [0, 245, 0, 255]].forEach((rgba, i) => {+ const [a, b] = BAND_COLS[i], x0 = Math.round((a - 0.5) * 2 * oq), x1 = Math.round((b - 0.5) * 2 * oq);+ ops.push({ op: 'paint', shape: { kind: 'rectangle', x: x0, y: 0, width: x1 - x0, height: bh }, rgba });+ });+ }+ return { schemaVersion: 3, width: oq, height: oq, usage: 'metallicRoughness', operations: ops };+}+async function atlas(edge, usage, specs) {+ const q = edge / 2, names = ['marble-a', 'marble-b', 'trav-a', 'trav-b'], pos = [[0, 0], [q, 0], [0, q], [q, q]];+ return textureAtlas({ schemaVersion: 1, width: edge, height: edge, usage, pack: { edge: 1024, gutter: 0 },+ regions: specs.map((spec, i) => ({ name: names[i], content: { x: pos[i][0], y: pos[i][1], width: q, height: q }, gutter: 0, source: { kind: 'procedural', spec } })) });+}+// Emissive map: black except the glow column, which falls off from a warm-white core to a deep+// amber rim in both directions, so a niche's back wall (which maps the whole column) glows in+// its middle and dims toward its reveals. Under the Neutral grade (revision 13) at strength GLOW+// the core shows about #fef0db and the rim about #fad5a6 (tonemap.mjs --grade neutral glow).+const GLOW = 3.5;+function glowMap(n) {+ const [a, b] = BAND_COLS[1], x0 = Math.round(a * n), x1 = Math.round(b * n), y0 = n / 2, h = Math.round(BAND * n), w = x1 - x0;+ const ring = (f, rgb, kind = 'ellipse') => { const dx = Math.round((w * (1 - f)) / 2), dy = Math.round((h * (1 - f)) / 2);+ return { op: 'paint', shape: { kind, x: x0 + dx, y: y0 + dy, width: w - 2 * dx, height: h - 2 * dy }, rgba: [...rgb, 255] }; };+ // turn 16 (round 7: the slots and the vault read apricot, about 253, 222, 190): a warm-white+ // core (#fff1e0 and paler) over a pale gold rim+ const stops = [[1, [196, 160, 118]], [0.86, [212, 180, 140]], [0.74, [226, 198, 162]], [0.63, [238, 214, 182]], [0.52, [246, 226, 198]],+ [0.42, [251, 234, 212]], [0.32, [254, 240, 222]], [0.23, [255, 244, 230]], [0.14, [255, 247, 236]]];+ return proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'emissive', background: [0, 0, 0, 255],+ operations: [ring(1, [176, 138, 96], 'rectangle'), ...stops.map(([f, c]) => ring(f, c))] });+}+async function stoneMaterial(edge, glow) {+ const q = edge / 2, oq = edge / 8, grey = [128, 128, 128, 255];+ // The planting column is a leafy groundcover green (it was soil brown, which read as dark+ // troughs from below on inverted pieces and as brown rails along the arcades from the air).+ const albedo = await atlas(edge, 'albedo', [marbleSpec(q, 101, 0.55), marbleSpec(q, 202, -0.5), travSpec(q, 303, null),+ travSpec(q, 404, [[188, 148, 82, 255], [255, 228, 184, 255], [84, 112, 58, 255]], 1)]);+ const flat = { schemaVersion: 3, width: q, height: q, usage: 'albedo', background: grey, operations: [] };+ const height = await atlas(edge, 'albedo', [flat, flat, travSpec(q, 303, null), travSpec(q, 404, [grey, grey, grey])]);+ const orm = await atlas(edge / 4, 'metallicRoughness', [ormSpec(oq, 0x20, 0x34, 5, false), ormSpec(oq, 0x22, 0x36, 6, false),+ ormSpec(oq, 0xae, 0xda, 7, false), ormSpec(oq, 0xb0, 0xdc, 8, true)]);+ const opts = { albedo, normal: normalMapFromHeight(height, { strength: 3 }), metallicRoughness: orm, roughness: 1, metalness: 1 };+ if (glow) Object.assign(opts, { emissive: glowMap(1024), emissiveIntensity: glow });+ return pbrMaterial(opts);+}++// ---------------------------------------------------------------- mesh building+function makeBuilder() {+ const P = [], N = [], T = [], I = [];+ const push = (verts, norms, uvs, n) => {+ let s = [0, 0, 0]; // Newell normal: robust winding even with a degenerate corner+ for (let i = 0; i < verts.length; i++) {+ const a = verts[i], b = verts[(i + 1) % verts.length];+ s = [s[0] + (a[1] - b[1]) * (a[2] + b[2]), s[1] + (a[2] - b[2]) * (a[0] + b[0]), s[2] + (a[0] - b[0]) * (a[1] + b[1])];+ }+ if (Math.hypot(...s) < 1e-12) return;+ let vs = verts, ns = norms, us = uvs;+ if (dot(s, n) < 0) { vs = verts.slice().reverse(); ns = norms.slice().reverse(); us = uvs.slice().reverse(); }+ const base = P.length / 3;+ vs.forEach((v, i) => { P.push(v[0], v[1], v[2]); N.push(...ns[i]); T.push(us[i][0], us[i][1]); });+ for (let i = 1; i + 1 < vs.length; i++) I.push(base, base + i, base + i + 1);+ };+ return {+ poly(verts, n, uvs) { push(verts, verts.map(() => n), uvs, n); },+ polyN(verts, norms, uvs) { push(verts, norms, uvs, nrm(norms.reduce((a, b) => [a[0] + b[0], a[1] + b[1], a[2] + b[2]], [0, 0, 0]))); },+ geometry() { return meshGeo({ positions: P, normals: N, uvs: T, indices: I }); },+ };+}++// trav-a and marble-a draw only from the travertine and marble patches away from the brass /+// glow / soil band, so large faces seen from far off cannot pick up the band in their mips.+const DENS = { marble: 0.25, trav: 0.19, 'trav-a': 0.12, 'marble-a': 0.2 };+function pickWindow(R, kind, fw, fh, dens, square) {+ if (kind === 'brass' || kind === 'glow' || kind === 'soil') {+ const [r0, s0, r1, s1] = REG[kind === 'brass' ? 'BR' : kind === 'glow' ? 'GL' : 'SO'];+ return { u0: r0, v0: s0, du: r1 - r0, dv: s1 - s0, rot: 0 };+ }+ const key = kind === 'marble' ? (R() < 0.5 ? 'MA' : 'MB') : kind === 'marble-a' ? 'MA' : kind === 'trav-a' ? 'TA' : (R() < 0.5 ? 'TA' : 'TB');+ const [r0, s0, r1, s1] = REG[key];+ const rot = square ? Math.floor(R() * 4) : (R() < 0.5 ? 0 : 2);+ let ww = fw * dens, wh = fh * dens;+ if (rot % 2) [ww, wh] = [wh, ww];+ ww = Math.min(ww, r1 - r0); wh = Math.min(wh, s1 - s0);+ return { u0: r0 + R() * (r1 - r0 - ww), v0: s0 + R() * (s1 - s0 - wh), du: ww, dv: wh, rot };+}+function uvOf(w, a, b) {+ let s = a, t = 1 - b;+ if (w.rot === 1) [s, t] = [t, 1 - s]; else if (w.rot === 2) [s, t] = [1 - s, 1 - t]; else if (w.rot === 3) [s, t] = [1 - t, s];+ return [w.u0 + s * w.du, w.v0 + t * w.dv];+}++// A chamfered box stone emitting only faces, edges and corners touching an exposed side.+// st: { lo, hi, c, kind, exp: {px..nz}, faceKind?: {face: kind}, dens? }+const PARAM = [[2, 1], [0, 2], [0, 1]];+const fkey = (ax, s) => (s > 0 ? 'p' : 'n') + 'xyz'[ax];+function emitStone(B, R, st) {+ const { lo, hi, c, exp } = st, fk = st.faceKind || {};+ const size = [hi[0] - lo[0], hi[1] - lo[1], hi[2] - lo[2]];+ const wins = {};+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const f = fkey(ax, s); if (!exp[f]) continue;+ const kind = fk[f] || st.kind, [pa, pb] = PARAM[ax];+ wins[f] = pickWindow(R, kind, size[pa], size[pb], st.dens || DENS[kind] || 0.2, ax === 1 && Math.abs(size[pa] - size[pb]) < 0.01);+ }+ const order = ['py', 'px', 'nx', 'pz', 'nz', 'ny'];+ const uvFor = (f, v) => { const ax = 'xyz'.indexOf(f[1]), [pa, pb] = PARAM[ax];+ return uvOf(wins[f], (v[pa] - lo[pa]) / size[pa], (v[pb] - lo[pb]) / size[pb]); };+ const emit = (verts, n, fs) => { const f = order.find((k) => fs.includes(k) && exp[k]); if (f) B.poly(verts, n, verts.map((v) => uvFor(f, v))); };+ const C = (i, s) => (s > 0 ? hi[i] : lo[i]), E = st.E || {};+ // turn 10: the depth of the edge between faces f and g (seal() sets it where only one shows);+ // a vertex on a face that does not show takes the depth of the showing face's edge+ const dep = (f, g) => (f + g in E ? E[f + g] : g + f in E ? E[g + f] : c);+ const V = (ax, sg) => {+ const F = fkey(ax, sg[ax]);+ return [0, 1, 2].map((i) => {+ if (i === ax) return C(i, sg[i]);+ const G = fkey(i, sg[i]), K = fkey(3 - ax - i, sg[3 - ax - i]);+ return C(i, sg[i]) - sg[i] * (exp[F] ? dep(F, G) : exp[G] ? dep(G, F) : dep(K, G));+ });+ };+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const f = fkey(ax, s); if (!exp[f]) continue;+ const [a1, a2] = [0, 1, 2].filter((i) => i !== ax);+ const pts = [[-1, -1], [1, -1], [1, 1], [-1, 1]].map(([p, q]) => { const sg = [0, 0, 0]; sg[ax] = s; sg[a1] = p; sg[a2] = q; return V(ax, sg); });+ const n = [0, 0, 0]; n[ax] = s;+ emit(pts, n, [f]);+ }+ if (c <= 0) return;+ for (let a = 0; a < 3; a++) for (let b = a + 1; b < 3; b++) for (const sa of [-1, 1]) for (const sb of [-1, 1]) {+ const fa = fkey(a, sa), fb = fkey(b, sb); if ((!exp[fa] && !exp[fb]) || dep(fa, fb) <= 0) continue;+ const o = [0, 1, 2].find((i) => i !== a && i !== b);+ const sg = (so) => { const g = [0, 0, 0]; g[a] = sa; g[b] = sb; g[o] = so; return g; };+ const n = [0, 0, 0]; n[a] = sa; n[b] = sb;+ emit([V(a, sg(-1)), V(a, sg(1)), V(b, sg(1)), V(b, sg(-1))], nrm(n), [fa, fb]);+ }+ for (const sx of [-1, 1]) for (const sy of [-1, 1]) for (const sz of [-1, 1]) {+ const fs = [fkey(0, sx), fkey(1, sy), fkey(2, sz)]; if (!fs.some((f) => exp[f])) continue;+ const g = [sx, sy, sz], open = [0, 1, 2].filter((i) => exp[fs[i]]);+ if (open.length === 1) { // a joint crossing on a face: run the corner down to the joint point, which closes the pinhole four bevels leave+ const e = open[0], [a, b] = [0, 1, 2].filter((i) => i !== e), d = Math.max(dep(fs[e], fs[a]), dep(fs[e], fs[b]));+ if (d <= 0) continue;+ const P = [0, 1, 2].map((i) => (i === e ? C(i, g[i]) - g[i] * d : C(i, g[i])));+ emit([V(e, g), V(a, g), P, V(b, g)], nrm(g), fs);+ } else emit([V(0, g), V(1, g), V(2, g)], nrm(g), fs);+ }+}++// turn 10: sealed joints (glb-cracks.mjs, on the reviews of revision 12: sky still showed through+// the gateway's niche corners and the joint under its first cornice, and the sun leaked through+// the arcade and planter joints in dashed lines onto shaded paving). Every edge where one face of+// a stone shows and the other does not gets one depth, the same as the stone across the joint:+// - at an inner corner (the cell diagonally across both faces is solid: a niche's back corners,+// a wall under a projecting band), at a hidden join, or against a stone without bevels (brass,+// shafts, custom geometry), none: the face runs flush, where the bevel used to open a slot+// into the hollow behind;+// - at a joint between two faces that both show, the bevel, which course() makes one size for+// every stone (marble 1 cm against travertine 2 cm left a slot between the two halves of a+// groove).+// The stone across is looked for at a quarter, half and three quarters along the edge: courses+// stagger by half a stone, so a stone's midpoint lies on the joint of the course beside it.+function seal(S) {+ const grid = new Map(), fl = Math.floor, key = (p) => `${fl(p[0])},${fl(p[1])},${fl(p[2])}`;+ for (const st of S) for (let i = fl(st.lo[0]); i <= fl(st.hi[0]); i++) for (let j = fl(st.lo[1]); j <= fl(st.hi[1]); j++) for (let k = fl(st.lo[2]); k <= fl(st.hi[2]); k++) {+ const kk = `${i},${j},${k}`; if (!grid.has(kk)) grid.set(kk, []); grid.get(kk).push(st);+ }+ const at = (p, own) => (grid.get(key(p)) || []).find((t) => t !== own && p.every((v, i) => v > t.lo[i] && v < t.hi[i]));+ const e = 1e-3, dirs = ['px', 'nx', 'py', 'ny', 'pz', 'nz'];+ for (const st of S) {+ st.E = {};+ const lim = (i, s) => (s > 0 ? st.hi[i] : st.lo[i]);+ for (const F of dirs) {+ if (!st.exp[F]) continue;+ const ax = 'xyz'.indexOf(F[1]), s = F[0] === 'p' ? 1 : -1;+ for (const G of dirs) {+ const bx = 'xyz'.indexOf(G[1]); if (bx === ax || st.exp[G]) continue;+ if ((st.flush && st.flush[G]) || (st.inner && st.inner[F + G]) || !(st.c > 0)) { st.E[F + G] = 0; continue; }+ const t = G[0] === 'p' ? 1 : -1, o = 3 - ax - bx;+ let depth = st.c, found = false, flush = false;+ for (const f of [0.25, 0.5, 0.75]) {+ const p = [0, 0, 0], q = [0, 0, 0];+ p[o] = q[o] = st.lo[o] + f * (st.hi[o] - st.lo[o]);+ p[bx] = q[bx] = lim(bx, t) + t * e; // across the joint+ p[ax] = lim(ax, s) - s * e; q[ax] = lim(ax, s) + s * e; // under the face; diagonally across it+ if (at(q, st)) { flush = true; break; } // an inner corner+ const N = at(p, st);+ if (!N) continue;+ found = true;+ if (!N.exp[F] || !(N.c > 0)) { flush = true; break; } // its face does not show here, or has no bevel+ depth = Math.max(depth, N.c);+ }+ st.E[F + G] = flush || !found ? 0 : depth;+ }+ }+ }+}++// turn 13: one texel density (the technical review of revision 15: travertine stretched on tall+// faces). A face's texture window is its size times its density, capped at the atlas region, so+// a face larger than the region stretched it: the plain shafts under the rim towers, pylons and+// foundations (30 - 110 m at density 0.04 - 0.05) by up to nine times, the arcade cornice stones+// (a whole 4.8 m span) by 2.5. A stone whose window would be capped by more than 15 % splits+// into equal parts, each within one window; the plain shafts take the big-face density (0.12)+// and a bevel, so they read as tall courses. Parts meet in joints that seal() closes.+const REGION = 0.48, SHAFT_DENS = 0.12;+function splitStones(S) {+ const out = [], fixed = (k) => k === 'brass' || k === 'glow' || k === 'soil';+ for (const st of S) {+ const kinds = [st.kind, ...Object.values(st.faceKind || {})];+ if (kinds.some(fixed)) { out.push(st); continue; }+ const shaft = st.dens !== undefined && st.dens < SHAFT_DENS;+ const dens = Math.max(...kinds.map((k) => (st.dens !== undefined ? Math.max(st.dens, SHAFT_DENS) : DENS[k] || 0.2)));+ const size = [0, 1, 2].map((i) => st.hi[i] - st.lo[i]);+ const n = [0, 1, 2].map((i) => {+ const shows = [0, 1, 2].some((ax) => ax !== i && (st.exp[fkey(ax, 1)] || st.exp[fkey(ax, -1)]));+ const r = (size[i] * dens) / REGION;+ return shows && r > 1.15 ? Math.ceil(r - 1e-9) : 1;+ });+ if (n.every((v) => v === 1)) { out.push(shaft ? { ...st, dens: SHAFT_DENS } : st); continue; }+ for (let a = 0; a < n[0]; a++) for (let b = 0; b < n[1]; b++) for (let d = 0; d < n[2]; d++) {+ const idx = [a, b, d], outer = (f) => { const i = 'xyz'.indexOf(f[1]); return f[0] === 'p' ? idx[i] === n[i] - 1 : idx[i] === 0; };+ const exp = {}, flush = {}, inner = {}, faceKind = {};+ for (const [f, v] of Object.entries(st.exp)) if (v && outer(f)) exp[f] = true;+ for (const [f, v] of Object.entries(st.flush || {})) if (outer(f)) flush[f] = v;+ for (const [fg, v] of Object.entries(st.inner || {})) if (outer(fg.slice(2))) inner[fg] = v;+ for (const [f, k] of Object.entries(st.faceKind || {})) if (exp[f]) faceKind[f] = k;+ if (!Object.keys(exp).length) continue;+ out.push({ ...st, lo: [0, 1, 2].map((i) => st.lo[i] + (size[i] * idx[i]) / n[i]), hi: [0, 1, 2].map((i) => st.lo[i] + (size[i] * (idx[i] + 1)) / n[i]),+ exp, flush, inner, faceKind, ...(shaft ? { dens: SHAFT_DENS, c: 0.02 } : {}) });+ }+ }+ return out;+}++// One course of coursed masonry on a cell grid. state(x, y, z) returns 'solid', 'empty',+// 'phantom' (solid for neighbours, never drawn: custom geometry or a hidden join), 'spout',+// or 'slot:<face>' (an open slot whose back wall, facing <face>, glows). Faces next to+// open cells are exposed; slot and spout reveals are marble.+const isOpen = (s) => s === 'empty' || s === 'spout' || s.startsWith('slot');+function course(S, y0, y1, xCuts, zCutsFor, state, kindOf) {+ const e = 1e-4, ym = (y0 + y1) / 2;+ for (let i = 0; i + 1 < xCuts.length; i++) {+ const xa = xCuts[i], xb = xCuts[i + 1]; if (xb - xa < 1e-4) continue;+ const zc = zCutsFor(xa, xb, y0, y1);+ for (let j = 0; j + 1 < zc.length; j++) {+ const za = zc[j], zb = zc[j + 1]; if (zb - za < 1e-4) continue;+ const xm = (xa + xb) / 2, zm = (za + zb) / 2;+ if (state(xm, ym, zm) !== 'solid') continue;+ const nb = { px: state(xb + e, ym, zm), nx: state(xa - e, ym, zm), pz: state(xm, ym, zb + e), nz: state(xm, ym, za - e), py: state(xm, y1 + e, zm), ny: state(xm, y0 - e, zm) };+ const exp = {}, faceKind = {}, flush = {};+ for (const [f, s] of Object.entries(nb)) {+ if (s === 'phantom') flush[f] = true;+ if (!isOpen(s)) continue;+ exp[f] = true;+ if (s.startsWith('slot')) faceKind[f] = s.slice(5) === f ? 'glow' : 'marble';+ else if (s === 'spout') faceKind[f] = 'marble';+ }+ if (!Object.keys(exp).length) continue;+ // turn 10: inner corners against cells that are solid or custom geometry (seal() finds those+ // against other stones)+ const inner = {}, clo = [xa, y0, za], chi = [xb, y1, zb], cm = [xm, ym, zm];+ for (const f of Object.keys(exp)) {+ const ax = 'xyz'.indexOf(f[1]), s = f[0] === 'p' ? 1 : -1;+ for (const g of ['px', 'nx', 'py', 'ny', 'pz', 'nz']) {+ const bx = 'xyz'.indexOf(g[1]); if (bx === ax || exp[g] || flush[g]) continue;+ const t = g[0] === 'p' ? 1 : -1, q = cm.slice();+ q[ax] = s > 0 ? chi[ax] + e : clo[ax] - e; q[bx] = t > 0 ? chi[bx] + e : clo[bx] - e;+ if (!isOpen(state(q[0], q[1], q[2]))) inner[f + g] = true;+ }+ }+ const kind = kindOf(xm, ym, zm, exp, faceKind);+ // turn 9: larger bevels so the edges catch the light; no bevel toward custom geometry or+ // hidden joins (phantom), whose faces carry no matching bevel, so the groove there opened+ // onto the hollow behind and showed the sky (the gateway's string courses). Turn 10: one+ // size, 1.5 cm, for marble and travertine (seal()).+ S.push({ lo: [xa, y0, za], hi: [xb, y1, zb], c: 0.015, kind, exp, faceKind, flush, inner });+ }+ }+}+// Sorted cut list: the given special cuts plus stone breaks every `len` metres from lo to hi+// (the first at len * (1 - shift), so shift 0.5 staggers alternate courses), skipping breaks+// within `gap` of another cut.+function cuts(lo, hi, special, len, shift, gap = 0.3) {+ const list = [lo, hi, ...special.filter((v) => v > lo + 1e-6 && v < hi - 1e-6)];+ for (let p = lo + len * (1 - shift); p < hi - gap; p += len) if (list.every((v) => Math.abs(v - p) > gap)) list.push(p);+ return [...new Set(list.map((v) => Math.round(v * 1e4) / 1e4))].sort((a, b) => a - b);+}++// ---------------------------------------------------------------- round arches+// Arches lie in the XY plane, centred at (cx, ys) on the springline, with depth along Z.+// Angles run from 0 (+X) over the crown (PI/2) to PI (-X).+const at = (cx, ys, r, a, z) => [cx + r * Math.cos(a), ys + r * Math.sin(a), z];+const steps = (a0, a1, n) => Array.from({ length: n + 1 }, (_, i) => a0 + ((a1 - a0) * i) / n);++// Wall face at z = zf around an arched opening: the region between the arc of radius r and+// the rectangle [x0, x1] x [ys, yt], as quads from the arc to their radial projection.+function spandrel(B, R, o) {+ const { cx, ys, r, x0, x1, yt, zf, nz, a0 = 0, a1 = Math.PI, n = 12, kind = 'trav', dens = 0.12 } = o;+ const corners = [Math.atan2(yt - ys, x1 - cx), Math.atan2(yt - ys, x0 - cx)].filter((a) => a > a0 + 1e-6 && a < a1 - 1e-6);+ const angs = [...steps(a0, a1, n), ...corners].sort((p, q) => p - q);+ const hit = (a) => {+ const c = Math.cos(a), s = Math.sin(a);+ let t = Infinity;+ if (c > 1e-9) t = Math.min(t, (x1 - cx) / c);+ if (c < -1e-9) t = Math.min(t, (x0 - cx) / c);+ if (s > 1e-9) t = Math.min(t, (yt - ys) / s);+ return [cx + t * c, ys + t * s, zf];+ };+ const w = pickWindow(R, kind, x1 - x0, yt - ys, dens, false);+ const uv = (p) => uvOf(w, (p[0] - x0) / (x1 - x0), (p[1] - ys) / (yt - ys));+ for (let k = 0; k + 1 < angs.length; k++) {+ const a = angs[k], b = angs[k + 1];+ if (b - a < 1e-9) continue;+ const v = [at(cx, ys, r, a, zf), at(cx, ys, r, b, zf), hit(b), hit(a)];+ B.poly(v, [0, 0, nz], v.map(uv));+ }+}+// Flat annular sector at z = zf between radii r0 < r1, split into k stones with their own windows.+function ringFace(B, R, o) {+ const { cx, ys, r0, r1, zf, nz, a0 = 0, a1 = Math.PI, n = 16, kind = 'marble', k = 1 } = o;+ for (let s = 0; s < k; s++) {+ const sa = a0 + ((a1 - a0) * s) / k, sb = a0 + ((a1 - a0) * (s + 1)) / k, m = Math.max(1, Math.round(n / k));+ const w = pickWindow(R, kind, ((r0 + r1) / 2) * (sb - sa), r1 - r0, DENS[kind] || 0.25, false);+ steps(sa, sb, m).forEach((a, i, arr) => {+ if (i === 0) return;+ const p = arr[i - 1], up = (p - sa) / (sb - sa), ua = (a - sa) / (sb - sa);+ B.poly([at(cx, ys, r0, p, zf), at(cx, ys, r0, a, zf), at(cx, ys, r1, a, zf), at(cx, ys, r1, p, zf)], [0, 0, nz],+ [uvOf(w, up, 0), uvOf(w, ua, 0), uvOf(w, ua, 1), uvOf(w, up, 1)]);+ });+ }+}+// Cylindrical band of radius r from z0 to z1 with smooth normals, facing the centre when inward.+function band(B, R, o) {+ const { cx, ys, r, z0, z1, a0 = 0, a1 = Math.PI, n = 16, inward = true, kind = 'marble', k = 1 } = o;+ const nAt = (a) => (inward ? [-Math.cos(a), -Math.sin(a), 0] : [Math.cos(a), Math.sin(a), 0]);+ for (let s = 0; s < k; s++) {+ const sa = a0 + ((a1 - a0) * s) / k, sb = a0 + ((a1 - a0) * (s + 1)) / k, m = Math.max(1, Math.round(n / k));+ const w = pickWindow(R, kind, r * (sb - sa), Math.abs(z1 - z0), DENS[kind] || 0.25, false);+ steps(sa, sb, m).forEach((a, i, arr) => {+ if (i === 0) return;+ const p = arr[i - 1], up = (p - sa) / (sb - sa), ua = (a - sa) / (sb - sa);+ B.polyN([at(cx, ys, r, p, z0), at(cx, ys, r, a, z0), at(cx, ys, r, a, z1), at(cx, ys, r, p, z1)], [nAt(p), nAt(a), nAt(a), nAt(p)],+ [uvOf(w, up, 0), uvOf(w, ua, 0), uvOf(w, ua, 1), uvOf(w, up, 1)]);+ });+ }+}+// Archivolt of k projecting marble voussoirs on the face z = zf (projecting p toward nz), with+// fine joints between stones and an optional larger, deeper keystone at the crown.+function voussoirs(B, R, o) {+ const { cx, ys, r0, r1, zf, nz, p, k, gap = 0.006, key = null, n = 2, inner = true } = o;+ for (let s = 0; s < k; s++) {+ const isKey = key && s === (k - 1) / 2, R1 = isKey ? r1 + key.dr : r1, zt = zf + nz * (isKey ? p + key.dp : p);+ const g = gap / ((r0 + R1) / 2), sa = (Math.PI * s) / k + g, sb = (Math.PI * (s + 1)) / k - g;+ ringFace(B, R, { cx, ys, r0, r1: R1, zf: zt, nz, a0: sa, a1: sb, n });+ band(B, R, { cx, ys, r: R1, z0: zf, z1: zt, a0: sa, a1: sb, n, inward: false });+ if (inner) band(B, R, { cx, ys, r: r0, z0: zf, z1: zt, a0: sa, a1: sb, n, inward: true });+ for (const [a, sg] of [[sa, -1], [sb, 1]]) {+ const w = pickWindow(R, 'marble', R1 - r0, Math.abs(zt - zf), DENS.marble, false);+ B.poly([at(cx, ys, r0, a, zf), at(cx, ys, R1, a, zf), at(cx, ys, R1, a, zt), at(cx, ys, r0, a, zt)], [-Math.sin(a) * sg, Math.cos(a) * sg, 0],+ [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ }+ }+}+// The two halves of a spandrel, each with its own texture window.+function spandrels(B, R, o) {+ spandrel(B, R, { ...o, x0: o.cx, a0: 0, a1: Math.PI / 2 });+ spandrel(B, R, { ...o, x1: o.cx, a0: Math.PI / 2, a1: Math.PI });+}+// Courses from a list of boundaries, breaking stones every `len` metres along both axes and+// shifting alternate courses by half a stone for running bond. A course that projects past the+// course below or above also breaks where that neighbour ends: a stone straddling the step+// would test its neighbour at its middle, find stone, and leave its projecting underside (or+// top) undrawn, a slit that shows the sky.+function courses(S, ys, half, special, state, kindOf, len) {+ for (let i = 0; i + 1 < ys.length; i++) {+ const y0 = ys[i], y1 = ys[i + 1], ym = (y0 + y1) / 2, [hx, hz] = half(ym), sp = special(ym), shift = i % 2 ? 0.5 : 0;+ const nb = [i > 0 ? half((ys[i - 1] + y0) / 2) : null, i + 2 < ys.length ? half((y1 + ys[i + 2]) / 2) : null].filter(Boolean);+ const steps = (k, h) => nb.map((n) => n[k]).filter((v) => v < h - 1e-6).flatMap((v) => [-v, v]);+ course(S, y0, y1, cuts(-hx, hx, [...(sp.x || []), ...steps(0, hx)], len, shift), () => cuts(-hz, hz, [...(sp.z || []), ...steps(1, hz)], len, shift), state, kindOf);+ }+}++// ---------------------------------------------------------------- pieces+// Arcade span, pier centre to pier centre (x -2.4..2.4), faces at z +/-0.6, floor at y = 0:+// a round arch (soffit r 1.8, springing at 5.2 from the pier impost) with one stepped order+// (r 2.1), an archivolt of 13 voussoirs and a keystone, string course, frieze, cornice and a+// planting trough for ivy along the top.+function arcadeArch(S, R, B) {+ const ys = 5.2;+ for (const nz of [1, -1]) {+ spandrels(B, R, { cx: 0, ys, r: 2.1, x0: -2.4, x1: 2.4, yt: 7.75, zf: 0.6 * nz, nz, n: 9, dens: 0.12 });+ ringFace(B, R, { cx: 0, ys, r0: 1.8, r1: 2.1, zf: 0.45 * nz, nz, n: 18, k: 9 });+ band(B, R, { cx: 0, ys, r: 2.1, z0: 0.45 * nz, z1: 0.6 * nz, n: 18, k: 3 });+ voussoirs(B, R, { cx: 0, ys, r0: 2.1, r1: 2.4, zf: 0.6 * nz, nz, p: 0.07, k: 13, key: { dr: 0.1, dp: 0.05 } });+ }+ band(B, R, { cx: 0, ys, r: 1.8, z0: -0.45, z1: 0.45, n: 18, k: 3 });+ // Round 8: the span closes at both ends. The wall between the springing and the entablature+ // was open at x = +/-2.4 and the entablature ran off into 'phantom', so a span seen alone, or+ // at the end of a run, showed its cornice, string course and trough hollow from the side and+ // the sky through its wall. The caps face each other where spans meet, back to back, so a+ // run shows no new surface. Their own window source keeps every other texture patch as it was.+ const Rc = rng(hash('arcade-end-cap'));+ for (const sx of [1, -1]) {+ const w = pickWindow(Rc, 'trav', 1.2, 7.75 - ys, 0.12, false);+ const v = [[2.4 * sx, ys, -0.6], [2.4 * sx, ys, 0.6], [2.4 * sx, 7.75, 0.6], [2.4 * sx, 7.75, -0.6]];+ B.poly(v, [sx, 0, 0], [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ // the seat on the pier: soffit order 1.8 - 2.1 (z +/-0.45) and the wall beyond it (z +/-0.6),+ // so a span lifted off its pier shows a floor under its springing, not the wall's hollow+ for (const [xa, xb, hz0] of [[1.8, 2.1, 0.45], [2.1, 2.4, 0.6]]) {+ const ws = pickWindow(Rc, 'marble', xb - xa, 2 * hz0, 0.25, false), x0 = xa * sx, x1 = xb * sx;+ B.poly([[x0, ys, -hz0], [x1, ys, -hz0], [x1, ys, hz0], [x0, ys, hz0]], [0, -1, 0],+ [uvOf(ws, 0, 0), uvOf(ws, 1, 0), uvOf(ws, 1, 1), uvOf(ws, 0, 1)]);+ }+ }+ const hz = (y) => (y < 7.9 ? 0.66 : y < 8.6 ? 0.6 : y < 8.75 ? 0.72 : y < 9.0 ? 0.85 : 0.6);+ const state = (x, y, z) => {+ if (Math.abs(x) > 2.4) return 'empty';+ if (y < 7.75) return Math.abs(z) <= 0.6 ? 'phantom' : 'empty';+ if (y > 9.4 || Math.abs(z) > hz(y)) return 'empty';+ if (y > 9.33 && Math.abs(z) < 0.42) return 'empty';+ return 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ // turn 13: the trough floor is travertine, not soil: turned over in the hanging courts it+ // faced down as a flat green strip (all four reviews of revision 15); the ivy hangs from+ // placements of its own+ if (y > 9.0 && Math.abs(z) < 0.42) return 'trav';+ return y < 7.9 || y > 8.6 ? 'marble' : 'trav';+ };+ courses(S, [7.75, 7.9, 8.6, 8.75, 9.0, 9.33, 9.4], (y) => [2.4, hz(y)], (y) => ({ x: [0], z: y > 9.0 ? [-0.42, 0.42] : [] }), state, kindOf, 99);+}++// Arcade pier 1.2 m square to the impost at 5.0-5.2 m, on a marble plinth; the slot variant+// has a warm glowing niche on its court and outer faces (turn 9: one 0.52 x 1.55 m niche 0.2 m+// deep, where a 3.1 m hairline slot read as LED tape).+function arcadePier(S, slot) {+ const half = (y) => (y < 0.35 ? 0.7 : y < 5.0 ? 0.6 : 0.68);+ const inSlot = (y) => slot && y > 1.9 && y < 3.45;+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > 5.2) return 'empty';+ const h = half(y);+ if (Math.abs(x) > h || Math.abs(z) > h) return 'empty';+ if (inSlot(y) && Math.abs(x) < 0.26 && Math.abs(z) > 0.4) return z > 0 ? 'slot:pz' : 'slot:nz';+ return 'solid';+ };+ // one tall course holds the niche, so its glowing back is a single face+ courses(S, slot ? [0, 0.35, 1.125, 1.9, 3.45, 4.225, 5.0, 5.2] : [0, 0.35, 1.125, 1.9, 2.675, 3.45, 4.225, 5.0, 5.2], (y) => [half(y), half(y)],+ (y) => (inSlot(y) || inSlot(y + 0.8) || inSlot(y - 0.8) ? { x: [-0.26, 0.26], z: [-0.4, 0.4] } : {}), state, (x, y) => (y < 0.35 || y > 5.0 ? 'marble' : 'trav'), 1.2); // turn 16: the courses over and under the niche cut at its edges+}++// Pylon 1.8 m square and 12.6 m tall, proud of the arcade so it closes the arch modules'+// cornices and troughs: ends each arcade run and marks every terrace step, with marble bands+// at both impost levels and a glowing niche on each face (turn 9: one 0.6 x 1.8 m niche 0.2 m+// deep at walking height, where two tall slots per face read as LED tape). A plain shaft+// continues it down the foundation face into the cloud, as on the rim towers.+function pylon(S) {+ const ys = [0, 0.5, 1.4, 2.3, 4.1, 5.0, 5.25, 5.967, 6.683, 7.4, 7.65, 8.44, 9.23, 10.02, 10.81, 11.6, 11.85, 12.05, 12.45, 12.6]; // 2.3 - 4.1 one course: the niche's+ const half = (y) => (y < 0.5 ? 1.0 : y < 5.0 ? 0.9 : y < 5.25 ? 0.96 : y < 7.4 ? 0.9 : y < 7.65 ? 0.96 : y < 11.6 ? 0.9 : y < 11.85 ? 1.02 : y < 12.05 ? 1.1 : y < 12.45 ? 0.75 : 0.8);+ const inSlot = (y) => y > 2.3 && y < 4.1;+ const marble = (y) => y < 0.5 || (y > 5.0 && y < 5.25) || (y > 7.4 && y < 7.65) || (y > 11.6 && y < 12.05) || y > 12.45;+ const state = (x, y, z) => {+ if (y < 0) return Math.abs(x) <= 0.9 && Math.abs(z) <= 0.9 ? 'phantom' : 'empty';+ if (y > 12.6) return 'empty';+ const h = half(y), ax = Math.abs(x), az = Math.abs(z);+ if (ax > h || az > h) return 'empty';+ if (inSlot(y) && ax < 0.3 && az > h - 0.2) return z > 0 ? 'slot:pz' : 'slot:nz';+ if (inSlot(y) && az < 0.3 && ax > h - 0.2) return x > 0 ? 'slot:px' : 'slot:nx';+ return 'solid';+ };+ courses(S, ys, (y) => [half(y), half(y)], (y) => (inSlot(y) || inSlot(y + 0.95) || inSlot(y - 0.95) ? { x: [-0.3, 0.3, -0.7, 0.7], z: [-0.3, 0.3, -0.7, 0.7] } : {}), // turn 16: also over and under the niche+ state, (x, y) => (marble(y) ? 'marble' : 'trav'), 1.8);+ // turn 8: the shaft runs to -110, below the cloud deck (now 80 m down), to dissolve in it+ S.push({ lo: [-0.9, -110, -0.9], hi: [0.9, 0, 0.9], c: 0, kind: 'trav', dens: 0.04, exp: { px: true, nx: true, pz: true, nz: true } });+}++// Rim tower 4 m square rising 24 m above its terrace, with a plain shaft dissolving into the+// cloud below, marble bands and cornice, and a glowing niche in each face of both lower stages+// (turn 9: 0.9 x 2.4 m and 0.3 m deep, where 6 m hairline slots read as LED tape). tower-slot+// keeps the 32 m shaft (it also hangs from an inverted court, shaft up); tower-rim, for the rim+// towers, runs it to -110 under the lowered cloud deck.+// turn 14: extra stages (each 7.45 m: a storey with its glowing niches and a marble band) go in+// under the plain top stage; tower-gate, the rim towers either side of the gateway, has two+// (39 m), so from the head of F2 (04) they fill the frame's upper corners as the hero's flanking+// towers do.+function tower(S, shaft = 32, extra = 0) {+ const E = 7.45 * extra, top = 21.3 + E;+ const ys = [-0.6, 0.4, 1.6, 2.8, 5.2, 6.4, 7.6, 7.85, 9.05, 10.25, 12.65, 13.85, 15.05, 15.3];+ for (let k = 0; k < extra; k++) { const b = 15.3 + 7.45 * k; ys.push(b + 1.2, b + 2.4, b + 4.8, b + 6.0, b + 7.2, b + 7.45); }+ ys.push(...[16.5, 17.7, 18.9, 20.1, 21.3, 21.6, 21.9, 22.65, 23.4, 23.7, 24.0].map((v) => +(v + E).toFixed(3))); // each niche in one course+ const bandAt = (y) => [7.6, 15.05, ...Array.from({ length: extra }, (_, k) => 15.05 + 7.45 * (k + 1))].some((b) => y > b && y < b + 0.25);+ const half = (y) => (y < 0.4 ? 2.12 : y < top ? (bandAt(y) ? 2.08 : 2.0) : y < top + 0.3 ? 2.15 : y < top + 0.6 ? 2.3 : y < top + 2.1 ? 1.85 : y < top + 2.4 ? 1.95 : 1.2);+ const inSlot = (y) => (y > 2.8 && y < 5.2) || (y > 10.25 && y < 12.65) || Array.from({ length: extra }, (_, k) => 15.3 + 7.45 * k).some((b) => y > b + 2.4 && y < b + 4.8);+ const marble = (y) => y < 0.4 || bandAt(y) || (y > top && y < top + 0.6) || y > top + 2.1;+ const state = (x, y, z) => {+ const ax = Math.abs(x), az = Math.abs(z);+ if (y < -0.6) return ax <= 1.9 && az <= 1.9 ? 'phantom' : 'empty';+ if (y > 24 + E) return 'empty';+ const h = half(y);+ if (ax > h || az > h) return 'empty';+ if (inSlot(y) && ax < 0.45 && az > h - 0.3) return z > 0 ? 'slot:pz' : 'slot:nz';+ if (inSlot(y) && az < 0.45 && ax > h - 0.3) return x > 0 ? 'slot:px' : 'slot:nx';+ return 'solid';+ };+ // turn 16 (C: sky showed through the top of the niches, a 63 px blue wedge in h6): the courses+ // over and under each niche are cut at its edges too, so the stones closing it are its own+ // and show their faces into it+ const nearSlot = (y) => inSlot(y) || inSlot(y + 1.25) || inSlot(y - 1.25);+ courses(S, ys, (y) => [half(y), half(y)], (y) => (nearSlot(y) ? { x: [-0.45, 0.45, -1.7, 1.7], z: [-0.45, 0.45, -1.7, 1.7] } : {}),+ state, (x, y) => (marble(y) ? 'marble' : 'trav'), 2.0);+ if (shaft > 0.6) S.push({ lo: [-1.9, -shaft, -1.9], hi: [1.9, -0.6, 1.9], c: 0, kind: 'trav', dens: 0.04, exp: { px: true, nx: true, pz: true, nz: true } });+ else S.push({ lo: [-1.9, -0.6, -1.9], hi: [1.9, -0.5, 1.9], c: 0, kind: 'trav', dens: 0.12, exp: { ny: true } }); // turn 15: no shaft, a closing course under the plinth+}++// Cascade tower 4 m square and 6.4 m tall standing against a terrace wall (-Z) whose top is+// 3.4 m above the tower's base, with a recessed spout for the waterfall on its +Z face and a+// marble-rimmed planting top. Its back is closed above the wall top.+function cascade(S) {+ const half = (y) => (y < 0.6 ? 2.08 : y < 5.4 ? 2.0 : y < 5.6 ? 2.1 : 2.0);+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (z < -2.0) return y < 3.0 ? 'phantom' : 'empty';+ if (y > 6.4) return 'empty';+ const h = half(y), ax = Math.abs(x);+ if (ax > h || z > h) return 'empty';+ if (y > 4.2 && y < 5.4 && ax < 0.9 && z > 1.65) return 'spout'; // turn 9: the spout's back glowed (it read as a black slit); turn 16 (A, D: the falls poured out of lamp boxes) it is marble again+ if (y > 6.2 && ax < 1.65 && Math.abs(z) < 1.65) return 'empty';+ return 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ if (y > 5.6 && y < 6.2 && Math.abs(x) < 1.65 && Math.abs(z) < 1.65) { fk.py = 'soil'; return 'trav'; }+ return y < 0.6 || y > 5.4 ? 'marble' : 'trav';+ };+ courses(S, [0, 0.6, 1.8, 3.0, 4.2, 5.4, 5.6, 6.2, 6.4], (y) => [half(y), half(y)],+ (y) => (y > 3.0 && y < 5.6 ? { x: [-0.9, 0.9], z: [1.65] } : y > 5.6 ? { x: [-1.65, 1.65], z: [-1.65, 1.65] } : {}), state, kindOf, 2.0); // turn 16: the courses over and under the spout cut at its edges too+}++// The gateway, rebuilt in turn 7 on the hero's silhouette: 31 m wide, 12 m deep and 98.6 m+// above its threshold (front at +Z), three stacked stages under a plain stepped cornice and a+// crown that steps in through three tiers.+// - Main arch: 12 m wide and 28 m to its crown (2.3:1), springing at 22 m behind three stepped+// marble orders and a voussoir archivolt; the passage vault glows warm white between ribs.+// - Second arch: 9 m wide and 23.5 m tall, open to the sky, with a glowing ribbed soffit.+// - Lantern: 7 m wide; its reveals, order band and soffit glow.+// - Piers: a tall glowing slot on every face at each stage; small glowing niches in the crown.+// The passage walls are travertine with small bevels (rough, so the bevels do not mirror the+// sky as the marble ones did); the threshold is one seamless marble floor.+function gateway(S, R, B) {+ const seq = (a, b, n) => Array.from({ length: n }, (_, i) => +(a + ((b - a) * (i + 1)) / n).toFixed(4));+ const YS1 = 22.0, YS2 = 52.0, YS3 = 78.0;+ // turn 9: glowing niches 1 m wide and 0.3 m deep, each in one double-height course (so its+ // glowing back is one face), stacked three to a stage on the piers' faces and one to a stage+ // on the sides, where full-stage hairline slots read as LED tape+ const s1 = seq(0.6, 21.6, 17), s2 = seq(33.0, 52.0, 16), s3 = seq(64.0, 78.0, 12);+ const nicheF = [[s1[2], s1[4]], [s1[6], s1[8]], [s1[10], s1[12]], [s2[1], s2[3]], [s2[5], s2[7]], [s2[9], s2[11]], [s3[1], s3[3]], [s3[5], s3[7]]];+ const nicheS = [[s1[6], s1[8]], [s2[5], s2[7]], [s3[5], s3[7]]];+ const merged = new Set([s1[3], s1[7], s1[11], s2[2], s2[6], s2[10], s3[2], s3[6]]);+ const ys = [0, 0.6, ...s1, 22.0, ...seq(22.0, 31.0, 8), 31.6, 33.0, ...s2, ...seq(52.0, 59.0, 6),+ ...seq(59.0, 61.0, 2), 61.6, ...seq(61.6, 64.0, 2), ...s3, ...seq(78.0, 83.0, 4), ...seq(83.0, 86.0, 3), 86.4, 86.9, 87.4,+ ...seq(87.4, 91.0, 3), 91.4, ...seq(91.4, 95.0, 3), 95.4, ...seq(95.4, 98.0, 2), 98.6, 37.15].filter((y) => !merged.has(y)).sort((a, b) => a - b);+ const half0 = (y) => (y < 0.6 ? [15.7, 5.9] : y < 21.6 ? [15.5, 5.7] : y < 22.0 ? [15.65, 5.85] : y < 31.0 ? [15.5, 5.7] : y < 31.6 ? [15.8, 6.0]+ : y < 61.0 ? [15.0, 5.5] : y < 61.6 ? [15.3, 5.8] : y < 86.0 ? [14.6, 5.3] : y < 86.4 ? [14.9, 5.6] : y < 86.9 ? [15.2, 5.9] : y < 87.4 ? [15.5, 6.2]+ : y < 91.0 ? [12.4, 5.0] : y < 91.4 ? [12.7, 5.3] : y < 95.0 ? [9.4, 4.4] : y < 95.4 ? [9.7, 4.7] : y < 98.0 ? [6.2, 3.6] : [6.5, 3.9]);+ // turn 14 (the reviews of revision 15: a campanile with a grid of window-like slots, not the+ // hero's portal; widen the massing with stepped flanking piers that carry planted ledges, and+ // one or two full-height glowing slits per pier):+ // - front piers either side of the main arch, 9.4 - 15.5 m out, stand 3.5 m proud of the+ // front face up to 37.75 m, over the arch's crown and the string course, banded with the+ // body's marble courses and capped by a marble coping that is their planted ledge (the+ // planters, cypresses and ivy are placements); each carries one glowing slit 1.8 - 34.2 m+ // - the first stage steps out into two tiers of wings, so the base reads broad: to 19.5 m+ // either side up to 12.95 m, then to 18 m up to 19.13 m, full depth, each tier under a+ // marble coping course, a tall slit in each wing face+ // - elsewhere in the first two stages each pier's outer 1.9 m stands 0.45 m proud of its face,+ // a pilaster running the stage's height+ // - the body's faces take one tall glowing slit per stage where the front piers leave them open+ const PIL = 13.6, PROUD = 0.45, pilY = (y) => (y > 0.6 && y < 31.0) || (y > 33.0 && y < 61.0);+ const FP = { x0: 9.4, x1: 15.5, top: s2[3], cope: 37.15, z: 9.2 };+ const fpZ = (y) => (y < 0.6 ? 9.4 : (y > 21.6 && y < 22.0) || (y > 31.0 && y < 31.6) || y > FP.cope ? 9.5 : FP.z);+ const W1 = [19.5, s1[9]], W2 = [18.0, s1[14]];+ const wingX = (y) => (y < W1[1] ? W1[0] : y < W2[1] ? W2[0] : 0);+ const half = (y) => { const [hx, hz] = half0(y); return [Math.max(hx, wingX(y)), y < FP.top ? fpZ(y) : pilY(y) ? hz + PROUD : hz]; };+ const open1 = (az) => (az > 5.2 ? 7.5 : az > 4.6 ? 7.0 : az > 4.0 ? 6.5 : 6.0); // passage and its orders+ const open2 = (az) => (az > 4.9 ? 5.2 : az > 4.3 ? 4.85 : 4.5); // second arch+ const open3 = (az) => (az > 4.7 ? 4.0 : 3.5); // lantern+ const inN = (list, y) => list.some(([a, b]) => y > a && y < b);+ // the tall slits, 1 m wide and 0.3 m deep: [x0, x1, y0, y1, face (1 front, -1 back, 0 both)];+ // their glowing backs are drawn as one panel each (below), so the glow runs the slit's whole+ // height instead of restarting in every course+ const SLITS = [[11.35, 12.35, s1[1], s1[14], -1], [11.35, 12.35, s2[1], s2[13], -1], [11.35, 12.35, s2[4], s2[13], 1],+ [11.35, 12.35, s3[1], s3[9], 0], [17.0, 18.0, s1[1], s1[8], 0]];+ const PSLIT = [11.95, 12.95, s1[1], s2[0]]; // in the front piers' faces+ const inSlit = (ax, y, z) => SLITS.some(([x0, x1, y0, y1, f]) => (!f || f === Math.sign(z)) && ax > x0 && ax < x1 && y > y0 && y < y1);+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > 98.6) return 'empty';+ const [hx, hz1] = half(y), ax = Math.abs(x), az = Math.abs(z), hz = half0(y)[1];+ if (ax > hx || az > hz1) return 'empty';+ if (az > hz) { // proud of the body's face: a front pier, or a pilaster+ if (z > 0 && y < FP.top && ax > FP.x0 && ax < FP.x1) {+ if (z > fpZ(y)) return 'empty';+ if (ax > PSLIT[0] && ax < PSLIT[1] && y > PSLIT[2] && y < PSLIT[3]) { if (z > FP.z - 0.3) return 'empty'; if (z > FP.z - 0.6) return 'phantom'; }+ return 'solid';+ }+ return pilY(y) && ax > PIL && ax < half0(y)[0] && az < hz + PROUD ? 'solid' : 'empty';+ }+ if (y < 87.4) {+ if (inSlit(ax, y, z)) { if (az > hz - 0.3) return 'empty'; if (az > hz - 0.6) return 'phantom'; }+ if (ax > hx - 0.3 && az < 0.5 && inN(nicheS, y)) return x > 0 ? 'slot:px' : 'slot:nx';+ }+ if (y < YS1) return ax < open1(az) ? 'empty' : 'solid';+ if (y < 31.0) return ax < 8.6 ? 'phantom' : 'solid';+ if (y < 33.0) return 'solid'; // string course and the second arch's sill+ if (y < YS2) return ax < open2(az) ? 'empty' : 'solid';+ if (y < 59.0) return ax < 6.2 ? 'phantom' : 'solid';+ if (y < 64.0) return 'solid';+ if (y < YS3) return ax < open3(az) ? (x > 0 ? 'slot:nx' : 'slot:px') : 'solid'; // the lantern's reveals glow+ if (y < 83.0) return ax < 4.8 ? 'phantom' : 'solid';+ if (y > 91.4 && y < 95.0 && ax < 1.8 && az > 3.6) return z > 0 ? 'slot:pz' : 'slot:nz';+ return 'solid';+ };+ const marbleY = (y) => y < 0.6 || (y > 21.6 && y < 22.0) || (y > 31.0 && y < 31.6) || (y > 61.0 && y < 61.6) || (y > 86.0 && y < 87.4)+ || (y > 91.0 && y < 91.4) || (y > 95.0 && y < 95.4) || y > 98.0;+ const kindOf = (x, y, z) => {+ const ax = Math.abs(x);+ if (marbleY(y) || (y > 33.0 && y < 59.0 && ax < 6.2) || (y > 64.0 && y < 83.0 && ax < 4.8)) return 'marble';+ if (ax > 15.5 && ((y > s1[8] && y < W1[1]) || (y > s1[13] && y < W2[1]))) return 'marble'; // the wings' copings+ if (y > FP.cope && z > half0(y)[1]) return 'marble'; // the front piers' copings+ return 'trav';+ };+ // the faces of the courses above and below: with the piers and pilasters a course's extent is+ // no longer its face, so the coursing's steps miss a band's 0.15 m projection and its underside+ // went undrawn (cracks at the main arch's springing, glb-cracks.mjs)+ const nearFaces = (y) => { const i = ys.findIndex((v) => v > y); return [i > 1 ? (ys[i - 2] + ys[i - 1]) / 2 : y, i + 1 < ys.length ? (ys[i] + ys[i + 1]) / 2 : y].map((m) => half0(m)[1]); };+ const special = (y) => {+ const [hx] = half(y), hx0 = half0(y)[0], hz = half0(y)[1], x = [], z = [];+ if (y < 87.4) { x.push(11.35, 12.35, hx0 - 0.3); z.push(hz - 0.3, hz - 0.6, 0.5); }+ if (y < 61.6) z.push(...nearFaces(y));+ if (pilY(y)) { x.push(PIL); z.push(hz, hz + PROUD); }+ if (y < FP.top) { x.push(FP.x0, FP.x1, PSLIT[0], PSLIT[1]); z.push(hz, FP.z - 0.6, FP.z - 0.3, FP.z); }+ if (wingX(y)) x.push(hx0, ...(y < W1[1] ? [17.0, 18.0, W2[0]] : []), hx - 0.3);+ if (y < YS1) { x.push(6.0, 6.5, 7.0, 7.5); z.push(4.0, 4.6, 5.2); }+ else if (y < 31.0) x.push(8.6);+ else if (y > 33.0 && y < YS2) { x.push(4.5, 4.85, 5.2); z.push(4.3, 4.9); }+ else if (y > YS2 && y < 59.0) x.push(6.2);+ else if (y > 64.0 && y < YS3) { x.push(3.5, 4.0); z.push(4.7); }+ else if (y > YS3 && y < 83.0) x.push(4.8);+ else if (y > 91.4 && y < 95.0) { x.push(1.8); z.push(3.6); }+ return { x: x.flatMap((v) => [-v, v]), z: z.flatMap((v) => [-v, v]) };+ };+ courses(S, ys, half, special, state, kindOf, 2.0); // turn 10: the passage walls keep the common bevel (their 6 mm met 2 cm and opened slots)+ // the slits' glowing backs, one panel per slit+ const glowPanel = (x0, x1, y0, y1, sx, zb, sz) => {+ const w = pickWindow(R, 'glow', x1 - x0, y1 - y0, 1, false);+ B.poly([[sx * x0, y0, zb], [sx * x1, y0, zb], [sx * x1, y1, zb], [sx * x0, y1, zb]], [0, 0, sz],+ [uvOf(w, 0, 0), uvOf(w, 1, 0), uvOf(w, 1, 1), uvOf(w, 0, 1)]);+ };+ for (const [x0, x1, y0, y1, f] of SLITS) for (const sx of [-1, 1]) for (const sz of f ? [f] : [-1, 1]) glowPanel(x0, x1, y0, y1, sx, sz * (half0((y0 + y1) / 2)[1] - 0.3), sz);+ for (const sx of [-1, 1]) glowPanel(PSLIT[0], PSLIT[1], PSLIT[2], PSLIT[3], sx, FP.z - 0.3, 1);+ // Threshold: a seamless marble floor through the passage, 2 cm proud of the deck and running+ // under the walls and reveals, so no deck joint shows in it.+ for (const [z0, z1] of [[-5.9, -1.9], [-1.9, 1.9], [1.9, 5.9]]) {+ S.push({ lo: [-7.6, 0, z0], hi: [7.6, 0.02, z1], c: 0, kind: 'marble', exp: { py: true, pz: z1 > 5, nz: z0 < -5 } });+ }++ for (const nz of [1, -1]) {+ // main arch: spandrels up to the string course, a voussoir archivolt, three stepped orders+ spandrels(B, R, { cx: 0, ys: YS1, r: 7.5, x0: -8.6, x1: 8.6, yt: 31.0, zf: 5.7 * nz, nz, n: 20, dens: 0.06 });+ voussoirs(B, R, { cx: 0, ys: YS1, r0: 7.5, r1: 8.4, zf: 5.7 * nz, nz, p: 0.22, k: 27, key: { dr: 0.6, dp: 0.16 } });+ for (const [r0, r1, zf, zo] of [[7.0, 7.5, 5.2, 5.7], [6.5, 7.0, 4.6, 5.2], [6.0, 6.5, 4.0, 4.6]]) {+ ringFace(B, R, { cx: 0, ys: YS1, r0, r1, zf: zf * nz, nz, n: 44, k: 21 });+ band(B, R, { cx: 0, ys: YS1, r: r1, z0: zf * nz, z1: zo * nz, n: 44, k: 5 });+ }+ // second arch, open to the sky: two orders+ spandrels(B, R, { cx: 0, ys: YS2, r: 5.2, x0: -6.2, x1: 6.2, yt: 59.0, zf: 5.5 * nz, nz, n: 16, dens: 0.08 });+ voussoirs(B, R, { cx: 0, ys: YS2, r0: 5.2, r1: 5.9, zf: 5.5 * nz, nz, p: 0.18, k: 21, key: { dr: 0.4, dp: 0.12 } });+ for (const [r0, r1, zf, zo] of [[4.85, 5.2, 4.9, 5.5], [4.5, 4.85, 4.3, 4.9]]) {+ ringFace(B, R, { cx: 0, ys: YS2, r0, r1, zf: zf * nz, nz, n: 36, k: 15 });+ band(B, R, { cx: 0, ys: YS2, r: r1, z0: zf * nz, z1: zo * nz, n: 36, k: 4 });+ }+ // lantern: a marble order whose band glows+ spandrels(B, R, { cx: 0, ys: YS3, r: 4.0, x0: -4.8, x1: 4.8, yt: 83.0, zf: 5.3 * nz, nz, n: 14, dens: 0.1 });+ voussoirs(B, R, { cx: 0, ys: YS3, r0: 4.0, r1: 4.6, zf: 5.3 * nz, nz, p: 0.16, k: 17, key: { dr: 0.3, dp: 0.1 } });+ ringFace(B, R, { cx: 0, ys: YS3, r0: 3.5, r1: 4.0, zf: 4.7 * nz, nz, n: 30, k: 11 });+ band(B, R, { cx: 0, ys: YS3, r: 4.0, z0: 4.7 * nz, z1: 5.3 * nz, n: 30, kind: 'glow' });+ }+ // Soffits: glowing panels between marble ribs in the passage and the second arch; the+ // lantern glows all through.+ const vault = (y0, r, zEnd, ribs, w, n) => {+ const zc = [-zEnd, ...ribs.flatMap((zr) => [zr - w, zr + w]), zEnd];+ for (let i = 0; i + 1 < zc.length; i += 2) band(B, R, { cx: 0, ys: y0, r, z0: zc[i], z1: zc[i + 1], n, kind: 'glow' });+ for (const zr of ribs) {+ band(B, R, { cx: 0, ys: y0, r: r - 0.15, z0: zr - w, z1: zr + w, n, k: 9 });+ for (const sg of [-1, 1]) ringFace(B, R, { cx: 0, ys: y0, r0: r - 0.15, r1: r, zf: zr + w * sg, nz: sg, n, k: 9 });+ // turn 10: the rib's ends, where it springs from the walls (they were open to the sky)+ const wnd = pickWindow(R, 'marble', 0.15, 2 * w, DENS.marble, false);+ for (const a of [0, Math.PI]) B.poly([at(0, y0, r - 0.15, a, zr - w), at(0, y0, r, a, zr - w), at(0, y0, r, a, zr + w), at(0, y0, r - 0.15, a, zr + w)],+ [0, -1, 0], [uvOf(wnd, 0, 0), uvOf(wnd, 1, 0), uvOf(wnd, 1, 1), uvOf(wnd, 0, 1)]);+ }+ };+ vault(YS1, 6.0, 4.0, [-2.4, -0.8, 0.8, 2.4], 0.2, 44);+ vault(YS2, 4.5, 4.3, [-1.4, 1.4], 0.18, 36);+ band(B, R, { cx: 0, ys: YS3, r: 3.5, z0: -4.7, z1: 4.7, n: 30, kind: 'glow' });+}++// Planter for the cypresses and shrubs: a recessed brass strip at the foot, a marble plinth, a+// coursed ivory travertine body and a marble rim 0.12 m wide over a soil top 6 cm down.+function planter(S, hx, hz, h) {+ const half = (y) => (y < 0.05 ? [hx, hz] : y < 0.15 ? [hx + 0.03, hz + 0.03] : y < h - 0.12 ? [hx, hz] : [hx + 0.04, hz + 0.04]);+ const inside = (x, z) => Math.abs(x) < hx - 0.12 && Math.abs(z) < hz - 0.12;+ const state = (x, y, z) => {+ if (y < 0) return 'phantom';+ if (y > h) return 'empty';+ const [a, b] = half(y);+ if (Math.abs(x) > a || Math.abs(z) > b) return 'empty';+ return y > h - 0.06 && inside(x, z) ? 'empty' : 'solid';+ };+ const kindOf = (x, y, z, exp, fk) => {+ if (y > h - 0.12 && y < h - 0.06 && inside(x, z)) { fk.py = 'soil'; return 'trav'; }+ return y < 0.05 ? 'brass' : y < 0.15 || y > h - 0.12 ? 'marble' : 'trav';+ };+ const mid = (0.15 + h - 0.12) / 2;+ courses(S, [0, 0.05, 0.15, +mid.toFixed(3), +(h - 0.12).toFixed(3), +(h - 0.06).toFixed(3), h], (y) => half(y),+ (y) => (y > h - 0.12 ? { x: [-(hx - 0.12), hx - 0.12], z: [-(hz - 0.12), hz - 0.12] } : {}), state, kindOf, 0.8);+}++// Floating cube, 1 m with a 2 cm bevel, polished white marble; placements scale it from a block+// you could almost touch to monoliths. cube-mirror (in build) is the same block as a mirror.+const CUBE = { lo: [-0.5, -0.5, -0.5], hi: [0.5, 0.5, 0.5], c: 0.02, kind: 'marble-a', dens: 0.5, exp: { px: true, nx: true, py: true, ny: true, pz: true, nz: true } };+function cubeMarble(S) { S.push({ ...CUBE, exp: { ...CUBE.exp } }); }+// The mirror cube's mesh: each face spans its whole texture (a mirror inside a brass border),+// and the 2 cm bevels and corners sample the border, so the frame runs round every edge.+function mirrorCube(B) {+ const h = 0.5, c = 0.04, rim = [0.015, 0.5]; // turn 16: a bevel twice as wide, to catch the sun (round 7: flat faces)+ const V = (g, ax) => [0, 1, 2].map((i) => (i === ax ? g[i] * h : g[i] * (h - c)));+ for (let ax = 0; ax < 3; ax++) for (const s of [-1, 1]) {+ const [a1, a2] = [0, 1, 2].filter((i) => i !== ax), n = [0, 0, 0];+ n[ax] = s;+ const gs = [[-1, -1], [1, -1], [1, 1], [-1, 1]].map(([p, q]) => { const g = [0, 0, 0]; g[ax] = s; g[a1] = p; g[a2] = q; return g; });+ B.poly(gs.map((g) => V(g, ax)), n, [[0, 0], [1, 0], [1, 1], [0, 1]]);+ }+ for (let a = 0; a < 3; a++) for (let b = a + 1; b < 3; b++) for (const sa of [-1, 1]) for (const sb of [-1, 1]) {+ const o = [0, 1, 2].find((i) => i !== a && i !== b), n = [0, 0, 0];+ const g = (so) => { const t = [0, 0, 0]; t[a] = sa; t[b] = sb; t[o] = so; return t; };+ n[a] = sa; n[b] = sb;+ B.poly([V(g(-1), a), V(g(1), a), V(g(1), b), V(g(-1), b)], nrm(n), [rim, rim, rim, rim]);+ }+ for (const sx of [-1, 1]) for (const sy of [-1, 1]) for (const sz of [-1, 1]) B.poly([V([sx, sy, sz], 0), V([sx, sy, sz], 1), V([sx, sy, sz], 2)], nrm([sx, sy, sz]), [rim, rim, rim]);+}++// Floating isle: a marble deck 24 m square over an inverted ziggurat of coursed ivory travertine+// with marble bands, narrowing in steps to a 4.4 m keel 18.4 m down. Decks, arcades and+// planting from the kit stand on top.+function isle(S) {+ const halves = [12, 11.3, 10.5, 9.6, 8.6, 7.6, 6.5, 5.4, 4.3, 3.2, 2.2], tops = [0, -0.4]; // course boundaries from the deck down+ for (let k = 1; k < halves.length; k++) tops.push(+(-0.4 - 1.8 * k).toFixed(2));+ const course = (y) => Math.max(0, tops.findIndex((v, i) => i + 1 < tops.length && y <= v && y >= tops[i + 1]));+ const half = (y) => { const h = halves[Math.min(halves.length - 1, course(y))]; return [h, h]; };+ const state = (x, y, z) => {+ if (y > 0 || y < tops[tops.length - 1]) return 'empty';+ const [h] = half(y);+ return Math.abs(x) <= h && Math.abs(z) <= h ? 'solid' : 'empty';+ };+ const kindOf = (x, y) => (y > -0.4 || course(y) % 4 === 3 ? 'marble-a' : 'trav-a');+ // turn 10: courses() takes the boundaries from the bottom up; given them from the top down it+ // found no step's underside, so the keel showed the sky between its courses+ courses(S, tops.slice().reverse(), half, () => ({}), state, kindOf, 2.4);+}++// Far monolith (turn 9, rule 6's far layer): a colossal coursed travertine stele, 10 x 40 x 10 m+// at scale 1 (placements scale it two to five times), on a stepped marble plinth under a+// stepped cap, with a marble band every sixth course; stones 2.5 m long in 1.6 m courses with+// 6 cm bevels, so at a few hundred metres it reads as built masonry, not a plain block. It+// floats, so its underside is drawn too.+function monolith(S) {+ const ys = [0, 0.8];+ for (let y = 1.6; y < 38.4 + 1e-6; y += 1.6) ys.push(+y.toFixed(2));+ ys.push(39.2, 40);+ const half = (y) => (y < 0.8 ? 5.6 : y < 1.6 ? 5.3 : y < 38.4 ? 5.0 : y < 39.2 ? 5.3 : 4.6);+ const state = (x, y, z) => (y < 0 || y > 40 || Math.abs(x) > half(y) || Math.abs(z) > half(y) ? 'empty' : 'solid');+ const band = (y) => y < 1.6 || y > 38.4 || Math.floor((y - 1.6) / 1.6) % 6 === 5;+ courses(S, ys, (y) => [half(y), half(y)], () => ({}), state, (x, y) => (band(y) ? 'marble-a' : 'trav-a'), 2.5);+ for (const st of S) st.c = 0.06;+}++// turn 15 (round 5: the arcade tops ran as one flat line; staggered pavilions should break it):+// an open belvedere on a coursed shaft standing up out of the cloud sea. A marble plinth 4.8 m+// square, four travertine corner piers 0.8 m square, on every side a round arch 3 m wide+// springing at 2.9 m under a marble archivolt, a marble entablature from 4.8 to 5.95 m and a roof+// stepping in three times to a marble finial at 7.6 m; the shaft, 3.4 m square, runs 60 m down.+// The arches of the x-facing sides are drawn through a proxy that turns them a quarter about y.+function pavilion(S, R, B) {+ const H = 2.3, P = 0.8, ys = 2.9, r = 1.5, yt = 4.8, open = { px: true, nx: true, pz: true, nz: true };+ S.push({ lo: [-H - 0.1, -0.3, -H - 0.1], hi: [H + 0.1, 0, H + 0.1], c: 0.02, kind: 'marble', dens: 0.25, exp: { py: true, ny: true, ...open } });+ S.push({ lo: [-1.7, -60, -1.7], hi: [1.7, -0.3, 1.7], c: 0.02, kind: 'trav', dens: 0.12, exp: open });+ for (const sx of [-1, 1]) for (const sz of [-1, 1]) {+ S.push({ lo: [sx > 0 ? H - P : -H, 0, sz > 0 ? H - P : -H], hi: [sx > 0 ? H : -H + P, yt, sz > 0 ? H : -H + P], c: 0.02, kind: 'trav', dens: 0.19, exp: open });+ }+ for (const [y0, y1, h, kind] of [[yt, 5.2, 2.45, 'marble'], [5.2, 5.75, 2.35, 'trav'], [5.75, 5.95, 2.6, 'marble'], [5.95, 6.3, 2.1, 'trav'], [6.3, 6.65, 1.6, 'trav'],+ [6.65, 7.0, 1.1, 'marble'], [7.0, 7.6, 0.35, 'marble']]) S.push({ lo: [-h, y0, -h], hi: [h, y1, h], c: 0.015, kind, dens: kind === 'marble' ? 0.25 : 0.19, exp: { py: true, ny: true, ...open } });+ const turned = { poly: (v, n, uv) => B.poly(v.map(([x, y, z]) => [z, y, -x]), [n[2], n[1], -n[0]], uv),+ polyN: (v, ns, uv) => B.polyN(v.map(([x, y, z]) => [z, y, -x]), ns.map((n) => [n[2], n[1], -n[0]]), uv) };+ for (const BB of [B, turned]) for (const s of [-1, 1]) {+ spandrels(BB, R, { cx: 0, ys, r, x0: -1.5, x1: 1.5, yt, zf: H * s, nz: s, n: 12, dens: 0.12 }); // outer face+ spandrels(BB, R, { cx: 0, ys, r, x0: -1.5, x1: 1.5, yt, zf: (H - P) * s, nz: -s, n: 12, dens: 0.12 }); // inner face+ voussoirs(BB, R, { cx: 0, ys, r0: r, r1: r + 0.3, zf: H * s, nz: s, p: 0.06, k: 9, key: { dr: 0.12, dp: 0.04 } });+ band(BB, R, { cx: 0, ys, r, z0: (H - P) * s, z1: H * s, n: 16 });+ }+}++// A piece's stones and faces moved dx along x, into another piece's mesh.+function putShifted(S, R, B, fn, dx) {+ const S2 = [], shift = (v) => [v[0] + dx, v[1], v[2]];+ fn(S2, R, { poly: (v, n, uv) => B.poly(v.map(shift), n, uv), polyN: (v, ns, uv) => B.polyN(v.map(shift), ns, uv) });+ for (const st of S2) S.push({ ...st, lo: shift(st.lo), hi: shift(st.hi) });+}++// Review only (never saved): three arches on their piers between two pylons, in one mesh.+function previewArcade(S, R, B) {+ const put = (fn, dx) => putShifted(S, R, B, fn, dx);+ for (const dx of [-4.8, 0, 4.8]) put((S2, R2, B2) => arcadeArch(S2, R2, B2), dx);+ put((S2) => arcadePier(S2, true), -2.4);+ put((S2) => arcadePier(S2, false), 2.4);+ for (const dx of [-7.2, 7.2]) put((S2) => pylon(S2), dx);+}++// Turn 15: one bay of the arcade in one mesh, the plain pier at x = 0 and its arch on the +x+// side (x -0.7 .. 4.8), so the inverted sanctuary's arcades take one placement a bay.+function arcadeBay(S, R, B) {+ putShifted(S, R, B, (S2) => arcadePier(S2, false), 0);+ putShifted(S, R, B, (S2, R2, B2) => arcadeArch(S2, R2, B2), 2.4);+}++const PIECES = {+ 'preview-arcade': { glow: GLOW, build: previewArcade },+ 'arcade-arch': { glow: 0, build: arcadeArch },+ 'arcade-pier': { glow: 0, build: (S) => arcadePier(S, false) },+ 'arcade-pier-slot': { glow: GLOW, build: (S) => arcadePier(S, true) },+ 'arcade-pylon': { glow: GLOW, build: pylon },+ 'tower-slot': { glow: GLOW, build: (S) => tower(S) },+ 'tower-rim': { glow: GLOW, build: (S) => tower(S, 110) },+ 'tower-gate': { glow: GLOW, build: (S) => tower(S, 110, 2) }, // turn 14: the T3 rim towers beside the gateway, two storeys taller+ 'cascade-tower': { glow: GLOW, build: cascade },+ 'gateway': { glow: GLOW, build: gateway },+ 'planter-sq': { glow: 0, build: (S) => planter(S, 0.8, 0.8, 0.9) },+ 'planter-long': { glow: 0, build: (S) => planter(S, 2.0, 0.6, 0.7) },+ 'cube-marble': { glow: 0, build: cubeMarble },+ 'isle-base': { glow: 0, build: isle },+ 'monolith': { glow: 0, build: monolith },+ 'pavilion': { glow: 0, build: pavilion }, // turn 15+ 'tower-hang': { glow: GLOW, build: (S) => tower(S, 0.6, 1) }, // turn 15: a rim tower one storey taller with no shaft, to hang from the inverted sanctuary+ 'arcade-bay': { glow: 0, build: arcadeBay }, // turn 15+};++async function build() {+ const root = createRoot(PIECE);+ if (PIECE === 'orb') { // a true mirror: white metal, roughness 0.02, smooth normals+ const white = proceduralTexture({ schemaVersion: 2, size: 4, usage: 'albedo', layers: [{ op: 'solid', color: 0xf2f4f6 }] });+ createPart('orb', sphereGeo(2.25, 96, 64), pbrMaterial({ albedo: white, roughness: 0.02, metalness: 1 }), { parent: root });+ return root;+ }+ // the floating cube as a true mirror with a hairline brass edge (turn 9: the frame read as a crate);+ // cube-mirror-court (turn 11) is the same cube under its own name, for the court's reflection probe+ if (PIECE === 'cube-mirror' || PIECE === 'cube-mirror-court' || PIECE === 'cube-mirror-far') { // turn 16: cube-mirror-far, the same cube for the far ones' sky reflection+ const n = 64, f = 1, inner = { kind: 'rectangle', x: f, y: f, width: n - 2 * f, height: n - 2 * f };+ const albedo = proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'albedo', background: [236, 212, 156, 255], // turn 16: a paler gold bevel (was 212, 176, 104)+ operations: [{ op: 'paint', shape: inner, rgba: [238, 240, 243, 255] }] });+ const mr = proceduralTexture({ schemaVersion: 3, width: n, height: n, usage: 'metallicRoughness', background: [0, 64, 255, 255], // turn 16: bevel roughness 0.25 (was 0.35)+ operations: [{ op: 'paint', shape: inner, rgba: [0, 5, 255, 255] }] }); // turn 13: roughness 0.02 (was 0.04)+ const B = makeBuilder();+ mirrorCube(B);+ createPart('cube_mirror', B.geometry(), pbrMaterial({ albedo, metallicRoughness: mr, roughness: 1, metalness: 1 }), { parent: root });+ return root;+ }+ const piece = PIECES[PIECE], R = rng(hash(PIECE)), B = makeBuilder(), S0 = [];+ piece.build(S0, R, B);+ const S = splitStones(S0);+ seal(S);+ for (const st of S) emitStone(B, R, st);+ createPart(PIECE.replace(/-/g, '_'), B.geometry(), await stoneMaterial(1024, piece.glow), { parent: root });+ return root;+}diff --git a/site/scripts/holodeck-spec.mjs b/site/scripts/holodeck-spec.mjsindex 397531c7..0d001f77 100644--- a/site/scripts/holodeck-spec.mjs+++ b/site/scripts/holodeck-spec.mjs@@ -5,7 +5,7 @@*/export const HOLODECK_ID = 'holodeck';-export const HOLODECK_RELEASE = 'holodeck-20261026-01';+export const HOLODECK_RELEASE = 'holodeck-20261028-02';/*** The oldest Kiln that imports the packs' revision bundles, named in each pack README. Raise it only when the bundle* format needs a newer Kiln: a value that followed every Kiln release would change every pack ZIP and its key.@@ -99,11 +99,11 @@ export const HOLODECK_PLANNED = [];/*** Owner approval, by gallery slug and the exact revision approved. On 2026-10-23 the owner approved the 47 staged* Courtyard, Cove and Tidemark cards as staged, and their packs for delivery, then the 41 new Crescent Cove cards as- * staged. On 2026-10-24 the owner approved the 55 new Winter Mountainside Cabin cards as staged. On 2026-10-25 the owner approved Crescent Cove's revision 17 palms (tall, lean, arch, young) and fallen fronds as staged. On 2026-10-25 the owner authorized repairing and deploying the seven winter tree bark-winding successors. On 2026-10-25 the owner also approved the 45 new Meridian Sanctuary cards as staged. On 2026-10-26 the owner approved the Cove seating revision whose throw clears the canopy mast and seat ledge as staged. The approval covers these revisions only: a new card, or a new revision of one of these, awaits review until it is recorded here. A pack is available+ * staged. On 2026-10-24 the owner approved the 55 new Winter Mountainside Cabin cards as staged. On 2026-10-25 the owner approved Crescent Cove's revision 17 palms (tall, lean, arch, young) and fallen fronds as staged. On 2026-10-25 the owner authorized repairing and deploying the seven winter tree bark-winding successors. On 2026-10-25 the owner also approved the 45 new Meridian Sanctuary cards as staged. On 2026-10-26 the owner approved the Cove seating revision whose throw clears the canopy mast and seat ledge as staged. On 2026-10-28 the owner approved the Meridian arcade arch and arcade bay revisions whose end faces and springing seats are closed, as staged. The approval covers these revisions only: a new card, or a new revision of one of these, awaits review until it is recorded here. A pack is available* when every asset it lists is approved.*/export const HOLODECK_APPROVAL = {- recordedAt: '2026-10-26',+ recordedAt: '2026-10-28',revisions: {'cove-structure': 'r_2387ce274123402dbdafd818e6fb0043','cove-canopy': 'r_df0485467228414780cfa44c0f2e32ad',@@ -261,7 +261,7 @@ export const HOLODECK_APPROVAL = {'meridian-arcade-pylon': 'r_269d44f66ec944079983349b9dc2cb5a','meridian-arcade-pier': 'r_e09059fd12874fbea948389061ee8736','meridian-arcade-pier-slot': 'r_23415f3bcad34dbea52c9b930878be28',- 'meridian-arcade-arch': 'r_e9e14002aa444492805007f0bf30dfee',+ 'meridian-arcade-arch': 'r_0ee353009dba467da1a001ce093dcdc0','meridian-tower-slot': 'r_c4851c428d0e4931a2983eea9d6e1d8d','meridian-cascade-tower': 'r_90ab6b974ebb41c4a72e5062a24334fb','meridian-gateway': 'r_c33d46440935478180576e38ffa20662',@@ -287,7 +287,7 @@ export const HOLODECK_APPROVAL = {'meridian-cypress-broad': 'r_65d968a6e4a34968bfaed1504cf759ba','meridian-cypress-slim': 'r_4cb4690620ab4a2aa57cf69cd06255e5','meridian-tower-gate': 'r_dac22ca376b745ceab2346845e4c16a6',- 'meridian-arcade-bay': 'r_60cc31247cad446a95672bddc01ae520',+ 'meridian-arcade-bay': 'r_d12e35c947c840d5911f9e3df01fe9e2','meridian-pavilion': 'r_3745cc9353f44c1b8d3102d59c9f9d46','meridian-balustrade-4': 'r_eb66bdfce33449e386b9792df125142d','meridian-cube-mirror-far': 'r_1b9bef4f0c2d46ae8bdd1261f64b4c71',diff --git a/site/src/data/commons-build.json b/site/src/data/commons-build.jsonindex f2be1ca5..589c8f5f 100644--- a/site/src/data/commons-build.json+++ b/site/src/data/commons-build.json@@ -158,7 +158,7 @@"packs/holodeck/objects/c481459806153efda700bc57d9cbf659dc638fd92547f334f300f0c0b6d97602/meridian-arcade-pylon.glb","packs/holodeck/objects/6de9585966f35013cee56b3de9c936322892a0d95f07f17fc2dce92b6680b88f/meridian-arcade-pier.glb","packs/holodeck/objects/a38f32e2e67c8cc0abf88939f236da370d5c7181634075713afa6165cfbaa36c/meridian-arcade-pier-slot.glb",- "packs/holodeck/objects/d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a/meridian-arcade-arch.glb",+ "packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb","packs/holodeck/objects/ba43779293fcc631283fb1bce03a5061fee4249dd682d222d826b0bcfd548679/meridian-tower-slot.glb","packs/holodeck/objects/304b3731cdeab654c3f5827a36406ffdfacb966331336842b8365b8a73faafaf/meridian-cascade-tower.glb","packs/holodeck/objects/2d309596a95f989bcf575058e227f6e2ca916df77a0f3996fd78a326f5e76af9/meridian-gateway.glb",@@ -184,7 +184,7 @@"packs/holodeck/objects/4e1701b85a88489db574391fabc25ac9d1860639ce9a73cb421946fd8dc2c0b4/meridian-cypress-broad.glb","packs/holodeck/objects/963b91704cecf26f6041fa9fbbfd324d14f847a6a7b6dd18b8e9fe50742a4ca8/meridian-cypress-slim.glb","packs/holodeck/objects/45895a8c9bd14763281d25a95b9a84353e191996b5cf7e43ce82638380fa1ed1/meridian-tower-gate.glb",- "packs/holodeck/objects/b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1/meridian-arcade-bay.glb",+ "packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb","packs/holodeck/objects/28ad88347a9eb2d5c943d9c397d4a4f3af8125432a0eeda77f4da597a7067219/meridian-pavilion.glb","packs/holodeck/objects/afca29899c682afbcdc08e6a00ab9cff72e67a9d39ec0034c6d5e2f4e7b940b8/meridian-balustrade-4.glb","packs/holodeck/objects/3f2c302d07380e20fafe794a56f7f3b7ca0ecc886529accb6fee7eed0bece6f4/meridian-cube-mirror-far.glb",@@ -4855,24 +4855,6 @@"exactRevision": true,"rig": "review-neutral-v1"},- {- "src": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview.webp",- "width": 1920,- "height": 1080,- "alt": "Meridian Sanctuary from above: a marble causeway between mirror pools and terraces climbing to the gate tower, over a sea of cloud.",- "srcsetWebp": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-320.webp 320w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-480.webp 480w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-672.webp 672w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-768.webp 768w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1024.webp 1024w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1440.webp 1440w",- "srcsetAvif": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-320.avif 320w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-480.avif 480w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-672.avif 672w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-768.avif 768w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1024.avif 1024w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1440.avif 1440w",- "inputPath": "media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview.png"- },- {- "src": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.webp",- "width": 1920,- "height": 1080,- "alt": "Arriving at Meridian Sanctuary: the causeway runs between mirror pools and cypresses toward the gate tower and its mirror orb.",- "srcsetWebp": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-320.webp 320w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-480.webp 480w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-672.webp 672w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-768.webp 768w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1024.webp 1024w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1440.webp 1440w",- "srcsetAvif": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-320.avif 320w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-480.avif 480w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-672.avif 672w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-768.avif 768w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1024.avif 1024w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1440.avif 1440w",- "inputPath": "media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.png"- },{"src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261026-01/cove-seating.webp","width": 1024,@@ -4923,6 +4905,72 @@"sourceRevisionId": "r_900d94fea90f4b8486bc7aa81e84fec7","exactRevision": true,"rig": "review-neutral-v1"+ },+ {+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch.webp",+ "width": 1024,+ "height": 1024,+ "alt": "A 4.8 m round arch with a stepped order, archivolt, cornice and an ivy trough along its top.",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch.png",+ "sourceRevisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "exactRevision": true,+ "rig": "review-neutral-v1"+ },+ {+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay.webp",+ "width": 1024,+ "height": 1024,+ "alt": "One arcade bay in a single mesh: a plain pier carrying its arch.",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay.png",+ "sourceRevisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "exactRevision": true,+ "rig": "review-neutral-v1"+ },+ {+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.webp",+ "width": 1024,+ "height": 1024,+ "alt": "A 4.8 m round arch with a stepped order, archivolt, cornice and an ivy trough along its top.",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.png",+ "sourceRevisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "exactRevision": true,+ "rig": "review-neutral-v1"+ },+ {+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.webp",+ "width": 1024,+ "height": 1024,+ "alt": "One arcade bay in a single mesh: a plain pier carrying its arch.",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.png",+ "sourceRevisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "exactRevision": true,+ "rig": "review-neutral-v1"+ },+ {+ "src": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.webp",+ "width": 1920,+ "height": 1080,+ "alt": "Meridian Sanctuary from above: a marble causeway between mirror pools and terraces climbing to the gate tower, over a sea of cloud.",+ "srcsetWebp": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-320.webp 320w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-480.webp 480w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-672.webp 672w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-768.webp 768w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1024.webp 1024w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1440.webp 1440w",+ "srcsetAvif": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-320.avif 320w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-480.avif 480w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-672.avif 672w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-768.avif 768w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1024.avif 1024w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1440.avif 1440w",+ "inputPath": "media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.png"+ },+ {+ "src": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.webp",+ "width": 1920,+ "height": 1080,+ "alt": "Arriving at Meridian Sanctuary: the causeway runs between mirror pools and cypresses toward the gate tower and its mirror orb.",+ "srcsetWebp": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-320.webp 320w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-480.webp 480w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-672.webp 672w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-768.webp 768w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1024.webp 1024w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1440.webp 1440w",+ "srcsetAvif": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-320.avif 320w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-480.avif 480w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-672.avif 672w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-768.avif 768w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1024.avif 1024w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1440.avif 1440w",+ "inputPath": "media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.png"}],"archives": [diff --git a/site/src/data/holodeck-shots.json b/site/src/data/holodeck-shots.jsonindex a2fb0b52..0b099b68 100644--- a/site/src/data/holodeck-shots.json+++ b/site/src/data/holodeck-shots.json@@ -358,19 +358,19 @@"holodeck-meridian-sanctuary": [{"view": "meridian-sanctuary-overview",- "src": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview.webp",+ "src": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.webp","width": 1920,"height": 1080,"alt": "Meridian Sanctuary from above: a marble causeway between mirror pools and terraces climbing to the gate tower, over a sea of cloud.",- "srcsetWebp": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-320.webp 320w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-480.webp 480w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-672.webp 672w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-768.webp 768w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1024.webp 1024w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1440.webp 1440w",- "srcsetAvif": "/media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-320.avif 320w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-480.avif 480w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-672.avif 672w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-768.avif 768w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1024.avif 1024w, /media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview-1440.avif 1440w",- "inputPath": "media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview.png",- "bytes": 1784873,- "sha256": "9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428",+ "srcsetWebp": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-320.webp 320w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-480.webp 480w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-672.webp 672w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-768.webp 768w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1024.webp 1024w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1440.webp 1440w",+ "srcsetAvif": "/media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-320.avif 320w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-480.avif 480w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-672.avif 672w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-768.avif 768w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1024.avif 1024w, /media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview-1440.avif 1440w",+ "inputPath": "media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.png",+ "bytes": 1792190,+ "sha256": "e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be","capture": {"tool": "scripts/capture-holodeck-shots.mjs","world": "https://holodeck.kilnstudio.tools/worlds/meridian-sanctuary/",- "manifestSha256": "43e79b04a8017fe1a51d961ae08af8700fd050dd93632caa5df8a61214e51074",+ "manifestSha256": "59af4bec4e6c19ee8735e7aa40eceac0ee4add3ef1c74245eb3d66a3cc3ca030","camera": {"position": [14,@@ -386,25 +386,25 @@"cove": true},"backend": "WebGPU",- "browser": "Chrome/150.0.7871.128",- "capturedAt": "2026-10-26T01:25:07.397Z"+ "browser": "Chrome/156.0.8078.48",+ "capturedAt": "2026-10-28T15:59:47.028Z"}},{"view": "meridian-sanctuary-arrival",- "src": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.webp",+ "src": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.webp","width": 1920,"height": 1080,"alt": "Arriving at Meridian Sanctuary: the causeway runs between mirror pools and cypresses toward the gate tower and its mirror orb.",- "srcsetWebp": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-320.webp 320w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-480.webp 480w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-672.webp 672w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-768.webp 768w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1024.webp 1024w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1440.webp 1440w",- "srcsetAvif": "/media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-320.avif 320w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-480.avif 480w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-672.avif 672w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-768.avif 768w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1024.avif 1024w, /media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival-1440.avif 1440w",- "inputPath": "media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.png",- "bytes": 1974817,- "sha256": "3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0",+ "srcsetWebp": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-320.webp 320w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-480.webp 480w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-672.webp 672w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-768.webp 768w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1024.webp 1024w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1440.webp 1440w",+ "srcsetAvif": "/media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-320.avif 320w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-480.avif 480w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-672.avif 672w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-768.avif 768w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1024.avif 1024w, /media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival-1440.avif 1440w",+ "inputPath": "media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.png",+ "bytes": 1974966,+ "sha256": "fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d","capture": {"tool": "scripts/capture-holodeck-shots.mjs","world": "https://holodeck.kilnstudio.tools/worlds/meridian-sanctuary/",- "manifestSha256": "43e79b04a8017fe1a51d961ae08af8700fd050dd93632caa5df8a61214e51074",+ "manifestSha256": "59af4bec4e6c19ee8735e7aa40eceac0ee4add3ef1c74245eb3d66a3cc3ca030","camera": {"position": [14,@@ -420,8 +420,8 @@"cove": true},"backend": "WebGPU",- "browser": "Chrome/150.0.7871.128",- "capturedAt": "2026-10-26T01:26:06.286Z"+ "browser": "Chrome/156.0.8078.48",+ "capturedAt": "2026-10-28T16:00:25.736Z"}}]diff --git a/site/src/data/holodeck.json b/site/src/data/holodeck.jsonindex dbeee74f..a6b0346e 100644--- a/site/src/data/holodeck.json+++ b/site/src/data/holodeck.json@@ -1,7 +1,7 @@{"schemaVersion": 1,"id": "holodeck",- "release": "holodeck-20261026-01",+ "release": "holodeck-20261028-02","base": "https://assets.kilnstudio.tools/","licence": {"spdx": "CC0-1.0",@@ -367,11 +367,11 @@"assetCount": 53,"source": {"kind": "holodeck-example",- "ref": "main",- "commit": "5ccad52d3e816602d1c1802177c4aed7d3926d3b",+ "ref": "046b70ded7009fd5291b8a9d8949a61469a960e0",+ "commit": "046b70ded7009fd5291b8a9d8949a61469a960e0","path": "examples/meridian-sanctuary","sourceRevision": 27,- "worldSha256": "911fe13d1121caccc90ae8d9549307ac4f07cf2506daa726f63a7d8cc7ad5db2"+ "worldSha256": "f1b53cdd6f9f4433eaf57abbb8d477333164d3f9db78c45afdf2c6d2f67dcb3f"},"assets": ["cove-structure",@@ -432,18 +432,18 @@{"profile": "runtime","label": "Runtime assets",- "path": "packs/holodeck/objects/1f4a7563c799708a886be6118318578c85f0c78a1f68c76a80657256db20fcaf/holodeck-meridian-sanctuary-runtime.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/1f4a7563c799708a886be6118318578c85f0c78a1f68c76a80657256db20fcaf/holodeck-meridian-sanctuary-runtime.zip",- "bytes": 17983388,- "sha256": "1f4a7563c799708a886be6118318578c85f0c78a1f68c76a80657256db20fcaf"+ "path": "packs/holodeck/objects/20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697/holodeck-meridian-sanctuary-runtime.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697/holodeck-meridian-sanctuary-runtime.zip",+ "bytes": 18007135,+ "sha256": "20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697"},{"profile": "editable","label": "Full Kiln assets (remixable)",- "path": "packs/holodeck/objects/4855a402497de9954d13548ca6d8f78f5d2a8c2fb76d2d3c33df97a2f6deb361/holodeck-meridian-sanctuary-editable.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/4855a402497de9954d13548ca6d8f78f5d2a8c2fb76d2d3c33df97a2f6deb361/holodeck-meridian-sanctuary-editable.zip",- "bytes": 28526734,- "sha256": "4855a402497de9954d13548ca6d8f78f5d2a8c2fb76d2d3c33df97a2f6deb361"+ "path": "packs/holodeck/objects/e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc/holodeck-meridian-sanctuary-editable.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc/holodeck-meridian-sanctuary-editable.zip",+ "bytes": 28588439,+ "sha256": "e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc"}]}@@ -12916,42 +12916,42 @@],"collection": "project","assetId": "a_71cef64b7f8143478db7afd63d553974",- "revisionId": "r_e9e14002aa444492805007f0bf30dfee",- "parentRevision": "r_d412b7188d4344c78498ab6fb0be1076",- "sourcePath": "packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_e9e14002aa444492805007f0bf30dfee/source.kiln.js",- "sourceSha256": "162bc29bb236379c28cf731a77fe52dcaa8905176f21a093cf25efc19f5303b1",+ "revisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "parentRevision": "r_e9e14002aa444492805007f0bf30dfee",+ "sourcePath": "packs/holodeck/sources/project/a_71cef64b7f8143478db7afd63d553974/r_0ee353009dba467da1a001ce093dcdc0/source.kiln.js",+ "sourceSha256": "aaa8c16569b07cb433704d94dd361ca3b5eca867e46f8fdd153bbd05b30628be","runtimeModelDownload": {- "path": "packs/holodeck/objects/d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a/meridian-arcade-arch.glb",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a/meridian-arcade-arch.glb",- "bytes": 446728,- "sha256": "d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a"+ "path": "packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb",+ "bytes": 493604,+ "sha256": "7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41"},"runtimeDownload": {- "path": "packs/holodeck/objects/c5145c98f4b15255fcbd9cb959e42bd954b044d2f62770482d927b6b332b53c5/meridian-arcade-arch-runtime.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/c5145c98f4b15255fcbd9cb959e42bd954b044d2f62770482d927b6b332b53c5/meridian-arcade-arch-runtime.zip",- "bytes": 279485,- "sha256": "c5145c98f4b15255fcbd9cb959e42bd954b044d2f62770482d927b6b332b53c5"+ "path": "packs/holodeck/objects/0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c/meridian-arcade-arch-runtime.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c/meridian-arcade-arch-runtime.zip",+ "bytes": 291256,+ "sha256": "0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c"},"editableDownload": {- "path": "packs/holodeck/objects/cdf75bb530a79195eb39b9b89b9b181d4351c0c45fcd1fa14a2b3d2f9bb397ab/meridian-arcade-arch-editable.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/cdf75bb530a79195eb39b9b89b9b181d4351c0c45fcd1fa14a2b3d2f9bb397ab/meridian-arcade-arch-editable.zip",- "bytes": 479531,- "sha256": "cdf75bb530a79195eb39b9b89b9b181d4351c0c45fcd1fa14a2b3d2f9bb397ab"+ "path": "packs/holodeck/objects/225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555/meridian-arcade-arch-editable.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555/meridian-arcade-arch-editable.zip",+ "bytes": 519322,+ "sha256": "225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555"},"poster": {- "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch.webp",+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.webp","width": 1024,"height": 1024,"alt": "A 4.8 m round arch with a stepped order, archivolt, cornice and an ivy trough along its top.",- "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-1024.webp 1024w",- "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch-1024.avif 1024w",- "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch.png",- "sourceRevisionId": "r_e9e14002aa444492805007f0bf30dfee",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.png",+ "sourceRevisionId": "r_0ee353009dba467da1a001ce093dcdc0","exactRevision": true,"rig": "review-neutral-v1"},"metrics": {- "triangles": 1604,+ "triangles": 2056,"meshes": 1,"materials": 1,"bounds": [@@ -14974,42 +14974,42 @@],"collection": "project","assetId": "a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6",- "revisionId": "r_60cc31247cad446a95672bddc01ae520",- "parentRevision": "r_205d267f0d22467ba12953656d47e268",- "sourcePath": "packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_60cc31247cad446a95672bddc01ae520/source.kiln.js",- "sourceSha256": "19ea35e682ab0761fc4e479b9e0dc85a75a947fe6b97020d8d9e0a59c1ba000f",+ "revisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "parentRevision": "r_60cc31247cad446a95672bddc01ae520",+ "sourcePath": "packs/holodeck/sources/project/a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6/r_d12e35c947c840d5911f9e3df01fe9e2/source.kiln.js",+ "sourceSha256": "836d25f97336a6ebd482f4249e673ccac934ddaf8d83a319e05ce31178a44b8f","runtimeModelDownload": {- "path": "packs/holodeck/objects/b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1/meridian-arcade-bay.glb",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1/meridian-arcade-bay.glb",- "bytes": 562192,- "sha256": "b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1"+ "path": "packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb",+ "bytes": 609064,+ "sha256": "578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945"},"runtimeDownload": {- "path": "packs/holodeck/objects/2b769a5d2619a7b636f34d7977f17ccb9c0fce43c1894775324d5310099d066b/meridian-arcade-bay-runtime.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/2b769a5d2619a7b636f34d7977f17ccb9c0fce43c1894775324d5310099d066b/meridian-arcade-bay-runtime.zip",- "bytes": 303187,- "sha256": "2b769a5d2619a7b636f34d7977f17ccb9c0fce43c1894775324d5310099d066b"+ "path": "packs/holodeck/objects/73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e/meridian-arcade-bay-runtime.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e/meridian-arcade-bay-runtime.zip",+ "bytes": 315174,+ "sha256": "73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e"},"editableDownload": {- "path": "packs/holodeck/objects/d0c950ac0fdf58f6f3a898a85a2e819c222494ae133fe8ee26bb1085a44e8a83/meridian-arcade-bay-editable.zip",- "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/d0c950ac0fdf58f6f3a898a85a2e819c222494ae133fe8ee26bb1085a44e8a83/meridian-arcade-bay-editable.zip",- "bytes": 468011,- "sha256": "d0c950ac0fdf58f6f3a898a85a2e819c222494ae133fe8ee26bb1085a44e8a83"+ "path": "packs/holodeck/objects/4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c/meridian-arcade-bay-editable.zip",+ "url": "https://assets.kilnstudio.tools/packs/holodeck/objects/4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c/meridian-arcade-bay-editable.zip",+ "bytes": 491712,+ "sha256": "4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c"},"poster": {- "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay.webp",+ "src": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.webp","width": 1024,"height": 1024,"alt": "One arcade bay in a single mesh: a plain pier carrying its arch.",- "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-1024.webp 1024w",- "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay-1024.avif 1024w",- "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay.png",- "sourceRevisionId": "r_60cc31247cad446a95672bddc01ae520",+ "srcsetWebp": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-320.webp 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-480.webp 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-672.webp 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-768.webp 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-1024.webp 1024w",+ "srcsetAvif": "/media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-320.avif 320w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-480.avif 480w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-672.avif 672w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-768.avif 768w, /media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay-1024.avif 1024w",+ "inputPath": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.png",+ "sourceRevisionId": "r_d12e35c947c840d5911f9e3df01fe9e2","exactRevision": true,"rig": "review-neutral-v1"},"metrics": {- "triangles": 2676,+ "triangles": 3128,"meshes": 1,"materials": 1,"bounds": [diff --git a/site/src/data/mirror-manifest.json b/site/src/data/mirror-manifest.jsonindex 789d75b1..364f4760 100644--- a/site/src/data/mirror-manifest.json+++ b/site/src/data/mirror-manifest.json@@ -5721,21 +5721,6 @@"bytes": 454621,"sha256": "ccd7083da345c0ed246ac04713b4278a8ae03e2fb4ec67cae16d28a38cec353f"},- {- "path": "packs/holodeck/objects/d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a/meridian-arcade-arch.glb",- "bytes": 446728,- "sha256": "d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a"- },- {- "path": "packs/holodeck/objects/c5145c98f4b15255fcbd9cb959e42bd954b044d2f62770482d927b6b332b53c5/meridian-arcade-arch-runtime.zip",- "bytes": 279485,- "sha256": "c5145c98f4b15255fcbd9cb959e42bd954b044d2f62770482d927b6b332b53c5"- },- {- "path": "packs/holodeck/objects/cdf75bb530a79195eb39b9b89b9b181d4351c0c45fcd1fa14a2b3d2f9bb397ab/meridian-arcade-arch-editable.zip",- "bytes": 479531,- "sha256": "cdf75bb530a79195eb39b9b89b9b181d4351c0c45fcd1fa14a2b3d2f9bb397ab"- },{"path": "packs/holodeck/objects/ba43779293fcc631283fb1bce03a5061fee4249dd682d222d826b0bcfd548679/meridian-tower-slot.glb","bytes": 1107564,@@ -6111,21 +6096,6 @@"bytes": 644670,"sha256": "49f8a0d34ea8d7359f7762ef134b837fcc3b246f6e5e1d7168cab97a5e39f8ca"},- {- "path": "packs/holodeck/objects/b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1/meridian-arcade-bay.glb",- "bytes": 562192,- "sha256": "b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1"- },- {- "path": "packs/holodeck/objects/2b769a5d2619a7b636f34d7977f17ccb9c0fce43c1894775324d5310099d066b/meridian-arcade-bay-runtime.zip",- "bytes": 303187,- "sha256": "2b769a5d2619a7b636f34d7977f17ccb9c0fce43c1894775324d5310099d066b"- },- {- "path": "packs/holodeck/objects/d0c950ac0fdf58f6f3a898a85a2e819c222494ae133fe8ee26bb1085a44e8a83/meridian-arcade-bay-editable.zip",- "bytes": 468011,- "sha256": "d0c950ac0fdf58f6f3a898a85a2e819c222494ae133fe8ee26bb1085a44e8a83"- },{"path": "packs/holodeck/objects/28ad88347a9eb2d5c943d9c397d4a4f3af8125432a0eeda77f4da597a7067219/meridian-pavilion.glb","bytes": 596736,@@ -6426,16 +6396,6 @@"bytes": 1355291,"sha256": "51dcc2b18fabdca9e4e1ae56b0ff57220dbef8fef8980683b60d5ed716c133b2"},- {- "path": "media/holodeck/scenes/9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428/meridian-sanctuary-overview.png",- "bytes": 1784873,- "sha256": "9e90aab4202763d940e434353ae46c52c2b047bed5e5cbff45807a5b8a2f5428"- },- {- "path": "media/holodeck/scenes/3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0/meridian-sanctuary-arrival.png",- "bytes": 1974817,- "sha256": "3e8fe557bd28f440fab434f2fbd8f6800a8e6f35a608805069641a9fe3cc2de0"- },{"path": "packs/holodeck/objects/f88be1cf02e1f5416c82a072e2e598a448fd49370d948f02f42b0c9c356d99c8/cove-seating.glb","bytes": 890560,@@ -6491,16 +6451,6 @@"bytes": 57058340,"sha256": "d284200f0102d8a8146543c2db17bb931e40d8c70f922a05afda6adcbdc0404c"},- {- "path": "packs/holodeck/objects/1f4a7563c799708a886be6118318578c85f0c78a1f68c76a80657256db20fcaf/holodeck-meridian-sanctuary-runtime.zip",- "bytes": 17983388,- "sha256": "1f4a7563c799708a886be6118318578c85f0c78a1f68c76a80657256db20fcaf"- },- {- "path": "packs/holodeck/objects/4855a402497de9954d13548ca6d8f78f5d2a8c2fb76d2d3c33df97a2f6deb361/holodeck-meridian-sanctuary-editable.zip",- "bytes": 28526734,- "sha256": "4855a402497de9954d13548ca6d8f78f5d2a8c2fb76d2d3c33df97a2f6deb361"- },{"path": "media/rig/review-neutral-v1/holodeck/holodeck-20261026-01/cove-seating.png","bytes": 1309104,@@ -6525,6 +6475,76 @@"path": "media/rig/review-neutral-v1/holodeck/gallery-20261026-01/winter-wmc-sofa-wool.png","bytes": 1933920,"sha256": "668e1e55ae5a6118d0e602da2a145d2f177d1db00436c064176ee13385e76c99"+ },+ {+ "path": "packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb",+ "bytes": 493604,+ "sha256": "7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41"+ },+ {+ "path": "packs/holodeck/objects/0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c/meridian-arcade-arch-runtime.zip",+ "bytes": 291256,+ "sha256": "0a11d51e794b673853125a31c15a56cf9f0cc1ff30b2f885a1938cc15699634c"+ },+ {+ "path": "packs/holodeck/objects/225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555/meridian-arcade-arch-editable.zip",+ "bytes": 519322,+ "sha256": "225058bd022588696cabb710b710e8a3b94bf07abafda04343b778b35dc96555"+ },+ {+ "path": "packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb",+ "bytes": 609064,+ "sha256": "578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945"+ },+ {+ "path": "packs/holodeck/objects/73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e/meridian-arcade-bay-runtime.zip",+ "bytes": 315174,+ "sha256": "73d01e782d65b6be4fd12bc3f518f875e9867468d1a017c6dcb0bc440022302e"+ },+ {+ "path": "packs/holodeck/objects/4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c/meridian-arcade-bay-editable.zip",+ "bytes": 491712,+ "sha256": "4c79abb34825226723222a757723a45e635d271762f1a513ef8881e1d0be1b9c"+ },+ {+ "path": "packs/holodeck/objects/20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697/holodeck-meridian-sanctuary-runtime.zip",+ "bytes": 18007135,+ "sha256": "20981bae997b52c9692c1dca8bcf5e295f35afb1b1b9aad73e94502f79d12697"+ },+ {+ "path": "packs/holodeck/objects/e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc/holodeck-meridian-sanctuary-editable.zip",+ "bytes": 28588439,+ "sha256": "e3eecaa67cd1a72e5b3d41a7d18a9dbfdf0ead69f7e8096140c60c6141bd6cdc"+ },+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-arch.png",+ "bytes": 1827206,+ "sha256": "9d383ea3f5dc320c8ef224d01d01c718295560e9d08cd6a4839e1003b8e0c13d"+ },+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-01/meridian-arcade-bay.png",+ "bytes": 1535604,+ "sha256": "46653bf3e462b16e6530041710e76468ad2bb35edd32da08104960980f3f79dd"+ },+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.png",+ "bytes": 1827206,+ "sha256": "9d383ea3f5dc320c8ef224d01d01c718295560e9d08cd6a4839e1003b8e0c13d"+ },+ {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.png",+ "bytes": 1535604,+ "sha256": "46653bf3e462b16e6530041710e76468ad2bb35edd32da08104960980f3f79dd"+ },+ {+ "path": "media/holodeck/scenes/e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be/meridian-sanctuary-overview.png",+ "bytes": 1792190,+ "sha256": "e7d6636b7ce48dadbe55275cc7ec52cd8959de2f4f04b8966ba709ddd29c76be"+ },+ {+ "path": "media/holodeck/scenes/fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d/meridian-sanctuary-arrival.png",+ "bytes": 1974966,+ "sha256": "fcb5b7444adbd92180e943b0207ef923c222134c340b5cda4f281494d352f71d"}]}diff --git a/site/src/data/rig-posters.json b/site/src/data/rig-posters.jsonindex e8ec9753..7bb214e6 100644--- a/site/src/data/rig-posters.json+++ b/site/src/data/rig-posters.json@@ -255,6 +255,78 @@"sha256:b37a3a228e102d2a8165cabc0b0ac8056080355b108e4d8614bd49b9dcd35ee3"]}+ },+ {+ "id": "holodeck-2026-10-28-f4b37aa9",+ "pack": "holodeck",+ "renderedOn": "2026-10-28",+ "engine": {+ "commit": "1bef3c6aa1acf808a78b8365ab728f6918b7acd9",+ "subject": "Place mating parts against the faceted surface, not the nominal one (#308)",+ "dirty": true+ },+ "service": {+ "url": "http://127.0.0.1:8417",+ "protocol": "kiln.render-service.v2",+ "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "backend": "vulkan",+ "adapter": {+ "vendor": "nvidia",+ "architecture": "turing",+ "device": "nvidia-geforce-gtx-1660-ti-with-max-q-design",+ "description": "NVIDIA: 615.78.08 615.78.8.0"+ },+ "sourceFingerprint": "sha256:d974d635ff5d3503d2373406186535fa437de9e753cfdeddce3eb46c68f0ad18",+ "buildFingerprint": "sha256:b37a3a228e102d2a8165cabc0b0ac8056080355b108e4d8614bd49b9dcd35ee3",+ "dependencies": {+ "three": "0.186.1",+ "webgpu": "0.6.2",+ "pngjs": "7.0.0"+ },+ "captureIdentity": [+ "kiln.capture-producer.v1",+ "sha256:528fd11776f87f20f6a64fd00011b56d79f9670b54d75261bebeb3c0f467c99a",+ "56c06397-12fe-4681-89f8-138d84dc339a",+ "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "sha256:b37a3a228e102d2a8165cabc0b0ac8056080355b108e4d8614bd49b9dcd35ee3"+ ]+ }+ },+ {+ "id": "holodeck-2026-10-28-e999b228",+ "pack": "holodeck",+ "renderedOn": "2026-10-28",+ "engine": {+ "commit": "527d407f470318ba73ec7e170d8774f72a098add",+ "subject": "fix(site): Holodeck Meridian pack follows the closed arcade arch and bay",+ "dirty": false+ },+ "service": {+ "url": "http://127.0.0.1:8417",+ "protocol": "kiln.render-service.v2",+ "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "backend": "vulkan",+ "adapter": {+ "vendor": "nvidia",+ "architecture": "turing",+ "device": "nvidia-geforce-gtx-1660-ti-with-max-q-design",+ "description": "NVIDIA: 615.78.08 615.78.8.0"+ },+ "sourceFingerprint": "sha256:d974d635ff5d3503d2373406186535fa437de9e753cfdeddce3eb46c68f0ad18",+ "buildFingerprint": "sha256:b37a3a228e102d2a8165cabc0b0ac8056080355b108e4d8614bd49b9dcd35ee3",+ "dependencies": {+ "three": "0.186.1",+ "webgpu": "0.6.2",+ "pngjs": "7.0.0"+ },+ "captureIdentity": [+ "kiln.capture-producer.v1",+ "sha256:528fd11776f87f20f6a64fd00011b56d79f9670b54d75261bebeb3c0f467c99a",+ "56c06397-12fe-4681-89f8-138d84dc339a",+ "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "sha256:b37a3a228e102d2a8165cabc0b0ac8056080355b108e4d8614bd49b9dcd35ee3"+ ]+ }}]},@@ -8283,32 +8355,6 @@},"rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.71.09 615.71.9.0"},- "holodeck:meridian-arcade-arch": {- "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-arch.png",- "width": 1024,- "height": 1024,- "bytes": 1688867,- "sha256": "3273933075459ea063a67d863a5993b17ea6ba009c91208f9488201475d46b53",- "assetId": "a_71cef64b7f8143478db7afd63d553974",- "revisionId": "r_e9e14002aa444492805007f0bf30dfee",- "glb": {- "member": "packs/holodeck/objects/d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a/meridian-arcade-arch.glb",- "bytes": 446728,- "sha256": "d547e61ae92a3e8d57be1e1465ab3290750c5804594592345775740b9b49f57a",- "triangles": 1604- },- "view": {- "direction": [- 0.7,- 0.5,- 0.7- ],- "padding": 1.05,- "projection": "orthographic",- "halfHeight": 3.395627256012831- },- "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.71.09 615.71.9.0"- },"holodeck:meridian-tower-slot": {"path": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-tower-slot.png","width": 1024,@@ -8959,32 +9005,6 @@},"rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.71.09 615.71.9.0"},- "holodeck:meridian-arcade-bay": {- "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-arcade-bay.png",- "width": 1024,- "height": 1024,- "bytes": 1485623,- "sha256": "bb9f88bd0ef7694487438d7b5251a40aa5ee1c1aaaafb824e3a90651b44e00ec",- "assetId": "a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6",- "revisionId": "r_60cc31247cad446a95672bddc01ae520",- "glb": {- "member": "packs/holodeck/objects/b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1/meridian-arcade-bay.glb",- "bytes": 562192,- "sha256": "b4dbb30eaa108e6846cdd3d16afa94bed46ff8443c2362757161fab926fb78a1",- "triangles": 2676- },- "view": {- "direction": [- 0.7,- 0.5,- 0.7- ],- "padding": 1.05,- "projection": "orthographic",- "halfHeight": 6.233374841542135- },- "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.71.09 615.71.9.0"- },"holodeck:meridian-pavilion": {"path": "media/rig/review-neutral-v1/holodeck/holodeck-20261025-02/meridian-pavilion.png","width": 1024,@@ -9140,6 +9160,60 @@"halfHeight": 4.864653758057277},"rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.71.09 615.71.9.0"+ },+ "holodeck:meridian-arcade-arch": {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-arch.png",+ "width": 1024,+ "height": 1024,+ "bytes": 1827206,+ "sha256": "9d383ea3f5dc320c8ef224d01d01c718295560e9d08cd6a4839e1003b8e0c13d",+ "assetId": "a_71cef64b7f8143478db7afd63d553974",+ "revisionId": "r_0ee353009dba467da1a001ce093dcdc0",+ "glb": {+ "member": "packs/holodeck/objects/7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41/meridian-arcade-arch.glb",+ "bytes": 493604,+ "sha256": "7ab8460d62cf9a315f832d9e5bb89c086e0af1b446f5e591173927a07ab6ad41",+ "triangles": 2056+ },+ "view": {+ "direction": [+ 0.7,+ 0.5,+ 0.7+ ],+ "padding": 1.05,+ "projection": "orthographic",+ "halfHeight": 3.395627256012831+ },+ "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "run": "holodeck-2026-10-28-e999b228"+ },+ "holodeck:meridian-arcade-bay": {+ "path": "media/rig/review-neutral-v1/holodeck/holodeck-20261028-02/meridian-arcade-bay.png",+ "width": 1024,+ "height": 1024,+ "bytes": 1535604,+ "sha256": "46653bf3e462b16e6530041710e76468ad2bb35edd32da08104960980f3f79dd",+ "assetId": "a_ebda3dd3bf5f41d6ad0dea5b6a9c3ef6",+ "revisionId": "r_d12e35c947c840d5911f9e3df01fe9e2",+ "glb": {+ "member": "packs/holodeck/objects/578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945/meridian-arcade-bay.glb",+ "bytes": 609064,+ "sha256": "578da67a603f4f959d9a4a8754448e9d773314294d8090a2730e4b9853c5e945",+ "triangles": 3128+ },+ "view": {+ "direction": [+ 0.7,+ 0.5,+ 0.7+ ],+ "padding": 1.05,+ "projection": "orthographic",+ "halfHeight": 6.233374841542135+ },+ "rendererId": "dawn-vulkan:nvidia-geforce-gtx-1660-ti-with-max-q-design:NVIDIA: 615.78.08 615.78.8.0",+ "run": "holodeck-2026-10-28-e999b228"}}}