3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
Merge remote-tracking branch 'origin/main' into m-1735-cycles-orange
Nguyen Xuan Ane266d1f0ee93
diff --cc tests/agent-explosion.test.jsindex 6477e37d,152fb30e..a83b2dc2--- a/tests/agent-explosion.test.js+++ b/tests/agent-explosion.test.js@@@ -305,10 -298,14 +306,22 @@@ test('bad sparks and motionBlur valuesfor (const [operation, pattern] of cases) assert.throws(() => applyBlast(operation), pattern, JSON.stringify(operation));});+test('the fireball emits by the Blender flame remap, 1500 K to 3000 K, at every size and fuel (#1735)', () => {+ for (const extra of [{ size: 2.5 }, { size: 10 }, { fuel: 'oily' }]) {+ const volume = applyBlast(blast(extra)).recipe.environment.localVolumes[0];+ assert.deepEqual(volume.flameTemperature, { ignition: 1.5, maximum: 3 });+ assert.equal(volume.temperatureScale, 1000);+ }+});+++ test('the blast dust and rubble sampled at a later time are ranked against a box floor, so no coplanar pair is left (#2054)', () => {+ const recipe = setRecipe();+ delete recipe.physics;+ recipe.nodes = [{ id: 'floor', geometry: 'slab', material: 'stone', translation: [0, -0.05, 0], scale: [6, 0.1, 6] }];+ const { scene } = applyBlast(blast({ start: 0.5, seed: 7, fuel: 'oily', shake: 0.4 }), recipe);+ scene.sampleMotion(1.2);+ const blastParts = scene.parts.filter(part => part.name.startsWith('blast-'));+ assert.ok(blastParts.some(part => part.name === 'blast-dust'), 'the sampled dust part exists');+ const pairs = findCoplanarOverlaps(scene.parts).overlaps.map(overlap => [overlap.first?.name ?? overlap.larger?.name, overlap.second?.name ?? overlap.smaller?.name]);+ assert.deepEqual(pairs, []);+ });