Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Accept the line-art size growth with a size note (#285)

Nguyen Xuan An19eb71cafdf4
diff --git a/bench/size/budgets.json b/bench/size/budgets.json
index 944b185f..ebe1decc 100644
--- a/bench/size/budgets.json
+++ b/bench/size/budgets.json
@@ -1,12 +1,12 @@
{
- "archiveBytes": 756323,
+ "archiveBytes": 749600,
"goals": {
"lit-box": 50000,
"gltf-box": 80000,
"agent-scene": 100000
},
"budgets": {
- "entry:core": 90589,
+ "entry:core": 90530,
"entry:model": 14400,
"entry:nature": 13200,
"entry:motion": 15260,
@@ -34,10 +34,10 @@
"entry:ground-bounce": 9460,
"entry:path-tracer": 17110,
"entry:texture-set": 900,
- "entry:agent-scene": 81971,
- "entry:agent-scene+lazy": 275514,
- "entry:agent-asset": 113271,
- "entry:agent-asset+lazy": 286782,
+ "entry:agent-scene": 81730,
+ "entry:agent-scene+lazy": 269730,
+ "entry:agent-asset": 113050,
+ "entry:agent-asset+lazy": 281030,
"entry:hdri": 3300,
"entry:camera-effects": 8600,
"entry:water-reflection": 27030,
@@ -46,14 +46,13 @@
"entry:material-layer-shaders": 21400,
"entry:light-linking": 19720,
"entry:cascaded-shadows": 28595,
- "scene:lit-box": 67572,
- "scene:gltf-box": 91890,
- "scene:gltf-box+lazy": 95217,
- "scene:agent-scene": 112421,
- "scene:agent-scene+lazy": 305967,
+ "scene:lit-box": 67520,
+ "scene:gltf-box": 91830,
+ "scene:gltf-box+lazy": 95160,
+ "scene:agent-scene": 112150,
+ "scene:agent-scene+lazy": 300160,
"entry:coplanar-overlap": 2960,
"entry:view-transform": 2120,
- "entry:view-transform-shader": 20980,
- "entry:line-art": 23974
+ "entry:view-transform-shader": 20980
}
}
diff --git a/changes/285.size.md b/changes/285.size.md
new file mode 100644
index 00000000..afecce23
--- /dev/null
+++ b/changes/285.size.md
@@ -0,0 +1,11 @@
+- entry:core: the toon feature flag in the renderer and the material snapshot, about 50 bytes
+- scene:lit-box: the same toon feature flag in core, about 50 bytes
+- scene:gltf-box: the same toon feature flag in core
+- scene:gltf-box+lazy: the same toon feature flag in core
+- entry:agent-scene: environment.lines and material toon in the recipe and the lazy line-art loader
+- entry:agent-scene+lazy: the line-art addon loads lazily for a recipe that uses environment.lines or toon
+- entry:agent-asset: the same recipe fields and lazy loader as agent-scene
+- entry:agent-asset+lazy: the line-art addon loads lazily, as in agent-scene
+- scene:agent-scene: the same recipe fields and lazy loader as entry:agent-scene
+- scene:agent-scene+lazy: the line-art addon loads lazily, as in entry:agent-scene
+- archive: the line-art addon and docs/line-art.md ship in the package