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: default new worlds to neutral studio v2 (#45)
Matthew Kissinger57044ca39678
diff --git a/src/composer/agent/prompt.ts b/src/composer/agent/prompt.tsindex 20af2aca..355f20b9 100644--- a/src/composer/agent/prompt.ts+++ b/src/composer/agent/prompt.ts@@ -69,7 +69,7 @@ Honor the user's complete world intent; do not narrow the scene into a terrain-o- scene_world_set_presentation replaces persisted camera/grid/lighting/receipt PARAMETERS only. Do not send artifactBinding; the Engine binds the exact post-edit world SHA-256 at render/package time.- Camera order is output order. Each id and grid cell must be unique; camera aspect must equal cellWidth/cellHeight.- Limits: 1-12 cameras, grid up to 4x3, cells up to 4096x4096, and cameras x cellWidth x cellHeight must not exceed 16,777,216 total pixels.-- Use the supported neutral-studio-v1 lighting profile unless the host advertises another versioned ID.+- Use the host's default supported versioned lighting profile. Preserve an existing historical profile unless the user explicitly requests a newly rendered presentation.## Collision, traversal, and terrain- scene_world_set_collision selects one object's explicit asset-local policy: none, bounds, selected authored-submesh GLB nodeNames, or deterministic generated-mesh bounds-box. Authored nodes are resolved only through the host's hash-bound geometry port; artifact modes require the host publisher. Do not invent paths, URLs, or hashes.diff --git a/src/composer/presentation-default.test.ts b/src/composer/presentation-default.test.tsindex afd92e7f..fd38f912 100644--- a/src/composer/presentation-default.test.ts+++ b/src/composer/presentation-default.test.ts@@ -21,7 +21,7 @@ describe('default PresentationDocumentV1', () => {expect(parameters).toMatchObject({schemaVersion: 'kiln.presentation.v1',grid: { columns: 3, rows: 1, cellWidth: 512, cellHeight: 512 },- lightingPresetId: 'neutral-studio-v1',+ lightingPresetId: 'neutral-studio-v2',receiptPolicy: {requirePerCameraOutputSha256: true,requireOutputSetSha256: true,diff --git a/src/composer/presentation.ts b/src/composer/presentation.tsindex ff1c7396..67aaa47e 100644--- a/src/composer/presentation.ts+++ b/src/composer/presentation.ts@@ -183,7 +183,7 @@ export const DEFAULT_PRESENTATION_PARAMETERS_V1 = deepFreeze(parsePresentationParametersV1({schemaVersion: PRESENTATION_DOCUMENT_V1_SCHEMA_VERSION,grid: { columns: 3, rows: 1, cellWidth: 512, cellHeight: 512 },- lightingPresetId: 'neutral-studio-v1',+ lightingPresetId: 'neutral-studio-v2',receiptPolicy: {requirePerCameraOutputSha256: true,requireOutputSetSha256: true,