castle-web-cli 0.4.204 → 0.4.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/agent-failures.d.ts +3 -1
  2. package/dist/agent-failures.js +19 -0
  3. package/dist/agent-prompts.js +2 -1
  4. package/dist/agent.d.ts +3 -2
  5. package/dist/agent.js +19 -10
  6. package/dist/castle-host/host.d.ts +17 -0
  7. package/dist/castle-host/host.js +551 -4
  8. package/dist/devSessionStorage.js +65 -4
  9. package/dist/effortSupport.d.ts +7 -0
  10. package/dist/effortSupport.js +31 -0
  11. package/dist/init.js +13 -3
  12. package/dist/platformDoc.js +6 -1
  13. package/dist/serve.js +35 -2
  14. package/dist/shell/assets/{index-DHzA0-Sj.js → index-hWQTC8q6.js} +5 -5
  15. package/dist/shell/index.html +1 -1
  16. package/dist/vitePlugins.js +19 -1
  17. package/kits/base/CLAUDE.md +2 -0
  18. package/kits/base/castle.json +1 -1
  19. package/kits/base/sdk/README.md +131 -0
  20. package/kits/base/sdk/agent.d.ts +6 -0
  21. package/kits/base/sdk/agent.js +70 -0
  22. package/kits/base/sdk/castle.d.ts +4 -0
  23. package/kits/base/sdk/castle.js +2 -0
  24. package/kits/base/sdk/commands.d.ts +106 -0
  25. package/kits/base/sdk/commands.js +21 -0
  26. package/kits/base/sdk/decks.d.ts +7 -0
  27. package/kits/base/sdk/decks.js +31 -0
  28. package/kits/base/sdk/runtime.d.ts +4 -2
  29. package/kits/base/sdk/runtime.js +51 -40
  30. package/kits/base/sdk/server/storage.d.ts +44 -0
  31. package/kits/base/sdk/server/storage.js +54 -0
  32. package/kits/base/sdk/transport.d.ts +5 -1
  33. package/kits/base/sdk/transport.js +106 -23
  34. package/kits/multiplayer-2d/castle.json +4 -4
  35. package/kits/multiplayer-2d/code/client/poses.js +7 -0
  36. package/kits/multiplayer-2d/code/server/limits.js +3 -0
  37. package/kits/multiplayer-2d/code/server/ownership.js +36 -8
  38. package/kits/multiplayer-2d/code/systems/multiplayer.js +23 -2
  39. package/kits/multiplayer-3d/CLAUDE.md +12 -1
  40. package/kits/multiplayer-3d/castle.json +4 -4
  41. package/kits/multiplayer-3d/code/client/avatars.js +7 -1
  42. package/kits/multiplayer-3d/code/client/poses.js +61 -1
  43. package/kits/multiplayer-3d/code/client/steer.js +383 -0
  44. package/kits/multiplayer-3d/code/server/limits.js +3 -0
  45. package/kits/multiplayer-3d/code/server/ownership.js +114 -18
  46. package/kits/multiplayer-3d/code/server/world.js +12 -4
  47. package/kits/multiplayer-3d/code/systems/multiplayer.js +315 -34
  48. package/kits/physics-3d/CLAUDE.md +65 -7
  49. package/kits/physics-3d/castle.json +3 -3
  50. package/kits/physics-3d/docs/pxmodel-format.md +916 -15
  51. package/kits/physics-3d/engine3d/PxModelEditor.jsx +2 -2
  52. package/kits/physics-3d/engine3d/artobjects.js +218 -0
  53. package/kits/physics-3d/engine3d/blob.js +1058 -0
  54. package/kits/physics-3d/engine3d/branches.js +300 -0
  55. package/kits/physics-3d/engine3d/cage.js +496 -0
  56. package/kits/physics-3d/engine3d/cageops.js +516 -0
  57. package/kits/physics-3d/engine3d/frame.js +669 -0
  58. package/kits/physics-3d/engine3d/look.js +675 -0
  59. package/kits/physics-3d/engine3d/materialpresets.js +486 -0
  60. package/kits/physics-3d/engine3d/modelEditorWorld.js +3 -2
  61. package/kits/physics-3d/engine3d/modelrefs.js +120 -0
  62. package/kits/physics-3d/engine3d/motion.js +560 -0
  63. package/kits/physics-3d/engine3d/objtext.js +37 -0
  64. package/kits/physics-3d/engine3d/optimize.js +1083 -0
  65. package/kits/physics-3d/engine3d/paint.js +674 -0
  66. package/kits/physics-3d/engine3d/partgeometry.js +467 -0
  67. package/kits/physics-3d/engine3d/paths.js +324 -0
  68. package/kits/physics-3d/engine3d/pxmodel.js +429 -26
  69. package/kits/physics-3d/engine3d/scatter.js +102 -0
  70. package/kits/physics-3d/engine3d/sculpt.js +1148 -0
  71. package/kits/physics-3d/engine3d/surfacedetail.js +267 -0
  72. package/kits/physics-3d/engine3d/sweep.js +480 -0
  73. package/kits/physics-3d/engine3d/thumbnails.js +6 -4
  74. package/kits/physics-3d/engine3d/world3d.js +119 -17
  75. package/kits/physics-3d/eslint.config.js +13 -0
  76. package/kits/physics-3d/models/parts/axe.pxmodel +40 -0
  77. package/kits/physics-3d/models/parts/backpack.pxmodel +47 -0
  78. package/kits/physics-3d/models/parts/barrel.pxmodel +22 -0
  79. package/kits/physics-3d/models/parts/bedroll.pxmodel +28 -0
  80. package/kits/physics-3d/models/parts/belt-pouch.pxmodel +22 -0
  81. package/kits/physics-3d/models/parts/bolt.pxmodel +10 -0
  82. package/kits/physics-3d/models/parts/bracer.pxmodel +26 -0
  83. package/kits/physics-3d/models/parts/chain-span.pxmodel +12 -0
  84. package/kits/physics-3d/models/parts/chimney.pxmodel +11 -0
  85. package/kits/physics-3d/models/parts/crate.pxmodel +44 -0
  86. package/kits/physics-3d/models/parts/crystal.pxmodel +22 -0
  87. package/kits/physics-3d/models/parts/door-arched.pxmodel +12 -0
  88. package/kits/physics-3d/models/parts/engine-block.pxmodel +39 -0
  89. package/kits/physics-3d/models/parts/exhaust-pipe.pxmodel +30 -0
  90. package/kits/physics-3d/models/parts/fence-span.pxmodel +10 -0
  91. package/kits/physics-3d/models/parts/fender.pxmodel +19 -0
  92. package/kits/physics-3d/models/parts/headlight.pxmodel +24 -0
  93. package/kits/physics-3d/models/parts/hood.pxmodel +17 -0
  94. package/kits/physics-3d/models/parts/horned-helmet.pxmodel +37 -0
  95. package/kits/physics-3d/models/parts/jerry-can.pxmodel +26 -0
  96. package/kits/physics-3d/models/parts/ladder.pxmodel +10 -0
  97. package/kits/physics-3d/models/parts/lamp.pxmodel +20 -0
  98. package/kits/physics-3d/models/parts/lantern.pxmodel +30 -0
  99. package/kits/physics-3d/models/parts/leaf-cluster.pxmodel +21 -0
  100. package/kits/physics-3d/models/parts/offroad-tire.pxmodel +48 -0
  101. package/kits/physics-3d/models/parts/pauldron.pxmodel +26 -0
  102. package/kits/physics-3d/models/parts/rivet.pxmodel +8 -0
  103. package/kits/physics-3d/models/parts/rock.pxmodel +21 -0
  104. package/kits/physics-3d/models/parts/roll-bar-light.pxmodel +26 -0
  105. package/kits/physics-3d/models/parts/round-shield.pxmodel +31 -0
  106. package/kits/physics-3d/models/parts/saddlebag.pxmodel +30 -0
  107. package/kits/physics-3d/models/parts/spoked-wheel.pxmodel +39 -0
  108. package/kits/physics-3d/models/parts/staff.pxmodel +33 -0
  109. package/kits/physics-3d/models/parts/stepping-stones.pxmodel +8 -0
  110. package/kits/physics-3d/models/parts/stone-base.pxmodel +10 -0
  111. package/kits/physics-3d/models/parts/sword.pxmodel +33 -0
  112. package/kits/physics-3d/models/parts/window-lit.pxmodel +13 -0
  113. package/kits/physics-3d/models/parts/wizard-hat.pxmodel +28 -0
  114. package/kits/physics-3d/models/templates/biped-stout.pxmodel +59 -0
  115. package/kits/physics-3d/models/templates/biped-tall.pxmodel +63 -0
  116. package/kits/physics-3d/models/templates/quadruped.pxmodel +52 -0
  117. package/kits/physics-3d/scripts/render/filmstrip.js +217 -0
  118. package/kits/physics-3d/scripts/render/index.html +20 -0
  119. package/kits/physics-3d/scripts/render/sheet.js +411 -0
  120. package/kits/physics-3d/scripts/render.mjs +646 -0
  121. package/kits/real-time/castle.json +2 -2
  122. package/kits/real-time/code/client/ownership.js +14 -4
  123. package/kits/real-time/code/client/smooth.js +2 -2
  124. package/kits/real-time/code/server/session.js +20 -4
  125. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Fence Span",
4
+ "triangles": 700,
5
+ "parts": [
6
+ { "id": "post", "kind": "cylinder", "radius": 0.05, "height": 1.0, "segments": 6, "flat": true, "position": [-0.7, 0.47, 0], "color": "#6e4a2c", "roughness": 0.9, "repeat": { "count": 3, "offset": [0.7, 0, 0], "jitter": { "position": [0.02, 0.04, 0.02], "rotate": [3, 20, 3], "color": 0.06, "seed": 4 } }, "paint": [{ "pattern": "grime", "color": "#4f3a28", "amount": 0.4, "scale": 6, "below": 0.2 }] },
7
+ { "id": "cap", "kind": "cone", "radius": 0.055, "height": 0.08, "segments": 6, "flat": true, "position": [-0.7, 1.01, 0], "color": "#5f4027", "roughness": 0.9, "repeat": { "count": 3, "offset": [0.7, 0, 0] } },
8
+ { "id": "rail", "size": [1.56, 0.07, 0.035], "round": 0.008, "roundSegments": 1, "position": [0, 0.35, 0.06], "color": "#80593a", "roughness": 0.85, "repeat": { "count": 2, "offset": [0, 0.42, 0], "jitter": { "position": [0.03, 0.03, 0], "rotate": [0, 1, 2.5], "color": 0.06, "seed": 2 } }, "paint": [{ "pattern": "edges", "color": "#a07a55", "amount": 0.5, "width": 0.01 }] }
9
+ ]
10
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Fender",
4
+ "triangles": 500,
5
+ "parts": [
6
+ {
7
+ "id": "guard", "kind": "torus", "radius": 0.47, "tube": 0.012, "arc": 165, "rotation": [0, 90, -15], "scale": [1, 1, 14], "segments": 24,
8
+ "material": "worn-paint", "materialColor": "#b8322a"
9
+ },
10
+ {
11
+ "id": "flap", "size": [0.3, 0.16, 0.012], "round": 0.004, "position": [0, -0.2, -0.452], "rotation": [-4, 0, 0],
12
+ "material": "rubber"
13
+ },
14
+ {
15
+ "id": "stay", "kind": "cylinder", "radius": 0.01, "height": 0.36, "position": [0.165, 0.225, 0.13], "rotation": [30, 0, 0], "segments": 6, "mirror": "x",
16
+ "color": "#2a2c30", "metalness": 0.6, "roughness": 0.4
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Headlight",
4
+ "triangles": 600,
5
+ "parts": [
6
+ {
7
+ "id": "bucket", "kind": "lathe", "position": [0, 0, -0.12], "rotation": [90, 0, 0], "segments": 16,
8
+ "profile": [[0, 0], [0.04, 0.005], [0.07, 0.03], [0.086, 0.07], [0.09, 0.11], [0.09, 0.12]],
9
+ "color": "#51565e", "metalness": 0.2, "roughness": 0.4
10
+ },
11
+ { "id": "rim", "kind": "torus", "radius": 0.088, "tube": 0.011, "position": [0, 0, 0.002], "segments": 18, "material": "chrome" },
12
+ {
13
+ "id": "lens", "kind": "lathe", "rotation": [90, 0, 0], "position": [0, 0, -0.006], "segments": 16,
14
+ "profile": [[0.082, 0], [0.075, 0.01], [0.05, 0.02], [0, 0.024]],
15
+ "color": "#fff1c8", "emissive": "#ffd77a", "emissiveIntensity": 1.1, "roughness": 0.15, "clearcoat": 1
16
+ },
17
+ {
18
+ "id": "visor", "kind": "torus", "radius": 0.094, "tube": 0.008, "arc": 180, "position": [0, 0, 0.012], "scale": [1, 1, 3], "segments": 12,
19
+ "color": "#51565e", "metalness": 0.2, "roughness": 0.4
20
+ },
21
+ { "id": "ear", "size": [0.04, 0.03, 0.05], "round": 0.008, "position": [0.1, 0, -0.07], "mirror": "x", "color": "#2a2c30", "metalness": 0.6, "roughness": 0.4 },
22
+ { "id": "earBolt", "kind": "cylinder", "radius": 0.012, "height": 0.02, "position": [0.125, 0, -0.07], "rotation": [0, 0, 90], "segments": 6, "mirror": "x", "material": "chrome" }
23
+ ]
24
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Hood",
4
+ "triangles": 1200,
5
+ "parts": [
6
+ {
7
+ "id": "hood", "kind": "blob", "symmetric": "x", "blend": 0.06, "resolution": 32,
8
+ "color": "#5b4f73", "roughness": 0.9,
9
+ "shapes": [
10
+ { "sphere": [0, 0.02, -0.02], "radius": [0.195, 0.215, 0.205] },
11
+ { "capsule": [[0, 0.1, -0.12], [0, 0.0, -0.3]], "radius": 0.085, "radiusEnd": 0.02 },
12
+ { "sphere": [0, -0.2, -0.03], "radius": [0.27, 0.08, 0.23], "blend": 0.1 },
13
+ { "sphere": [0, -0.03, 0.2], "radius": [0.135, 0.165, 0.14], "subtract": true, "blend": 0.03, "color": "#2b2433" }
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Horned Helmet",
4
+ "triangles": 1050,
5
+ "parts": [
6
+ {
7
+ "id": "dome", "kind": "lathe", "scale": [1, 1, 1.05],
8
+ "profile": [[0.162, -0.01], [0.166, 0.04], [0.158, 0.09], [0.134, 0.14], [0.09, 0.18], [0.04, 0.198], [0, 0.202]],
9
+ "color": "#aeb4ba", "metalness": 0.45, "roughness": 0.4,
10
+ "paint": [{ "pattern": "grime", "color": "#5d5850", "amount": 0.3, "scale": 7 }]
11
+ },
12
+ {
13
+ "id": "band", "kind": "torus", "radius": 0.168, "tube": 0.017, "position": [0, 0.01, 0], "rotation": [90, 0, 0], "scale": [1, 1.05, 1],
14
+ "color": "#a57c3c", "metalness": 0.85, "roughness": 0.35
15
+ },
16
+ {
17
+ "id": "crest", "kind": "sweep", "up": [1, 0, 0], "profile": [[0.0, -0.014], [0.012, -0.01], [0.016, 0], [0.012, 0.01], [0.0, 0.014]],
18
+ "path": [[0, 0.03, 0.18], [0, 0.15, 0.145], [0, 0.207, 0.02], [0, 0.18, -0.12], [0, 0.03, -0.18]],
19
+ "color": "#a57c3c", "metalness": 0.85, "roughness": 0.35
20
+ },
21
+ {
22
+ "id": "noseGuard", "kind": "extrude", "position": [0, 0.01, 0.178], "rotation": [-6, 0, 0],
23
+ "outline": [[-0.02, 0.03], [0.02, 0.03], [0.014, -0.07], [0, -0.085], [-0.014, -0.07]],
24
+ "depth": 0.012, "bevel": 0.004, "color": "#9ea4aa", "metalness": 0.45, "roughness": 0.4
25
+ },
26
+ {
27
+ "id": "horn", "kind": "sweep", "mirror": "x", "smooth": true, "scaleEnd": 0.1,
28
+ "profile": [[0.042, 0.0], [0.021, 0.0364], [-0.021, 0.0364], [-0.042, 0.0], [-0.021, -0.0364], [0.021, -0.0364]],
29
+ "path": [[0.135, 0.09, 0], [0.22, 0.11, 0.01], [0.29, 0.18, 0.03], [0.31, 0.28, 0.07]],
30
+ "color": "#e8dcc0", "roughness": 0.6
31
+ },
32
+ {
33
+ "id": "hornRing", "kind": "torus", "radius": 0.04, "tube": 0.01, "position": [0.17, 0.095, 0.004], "rotation": [0, 90, 14], "mirror": "x",
34
+ "color": "#a57c3c", "metalness": 0.85, "roughness": 0.35
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Jerry Can",
4
+ "parts": [
5
+ {
6
+ "id": "body", "size": [0.345, 0.44, 0.165], "round": 0.02, "position": [0, 0.22, 0],
7
+ "color": "#55612f", "roughness": 0.6, "metalness": 0.2,
8
+ "paint": [
9
+ { "pattern": "grime", "color": "#3c3a26", "amount": 0.4, "scale": 6, "below": -0.1 },
10
+ { "pattern": "edges", "color": "#8f927e", "amount": 0.6, "width": 0.012 }
11
+ ]
12
+ },
13
+ { "id": "seam", "parent": "body", "size": [0.355, 0.012, 0.172], "round": 0.004, "position": [0, 0, 0], "color": "#4b5629", "roughness": 0.6, "metalness": 0.2 },
14
+ { "id": "crossA", "parent": "body", "size": [0.035, 0.44, 0.012], "round": 0.006, "rotation": [0, 0, 37], "position": [0, 0, 0.083], "color": "#5d6a34", "roughness": 0.6, "metalness": 0.2, "mirror": "z" },
15
+ { "id": "crossB", "parent": "body", "size": [0.035, 0.44, 0.012], "round": 0.006, "rotation": [0, 0, -37], "position": [0, 0, 0.083], "color": "#5d6a34", "roughness": 0.6, "metalness": 0.2, "mirror": "z" },
16
+ { "id": "shoulder", "parent": "body", "size": [0.33, 0.02, 0.15], "round": 0.008, "position": [0, 0.225, 0], "color": "#4f5a2b", "roughness": 0.6, "metalness": 0.2 },
17
+ {
18
+ "id": "handles", "kind": "frame", "parent": "body", "radius": 0.011, "round": 0.015, "color": "#4b5629", "roughness": 0.6, "metalness": 0.2,
19
+ "nodes": { "a": [-0.1, 0.23, 0], "b": [-0.1, 0.285, 0], "c": [0, 0.285, 0], "d": [0, 0.23, 0], "e": [0.1, 0.285, 0], "f": [0.1, 0.23, 0] },
20
+ "edges": [["a", "b"], ["b", "c"], ["c", "d"], ["c", "e"], ["e", "f"]]
21
+ },
22
+ { "id": "spout", "parent": "body", "kind": "cylinder", "radius": 0.024, "height": 0.05, "rotation": [0, 0, -30], "position": [0.14, 0.24, 0], "color": "#4f5a2b", "roughness": 0.55, "metalness": 0.3 },
23
+ { "id": "cap", "parent": "spout", "kind": "cylinder", "radius": 0.028, "height": 0.022, "position": [0, 0.032, 0], "color": "#3d4522", "roughness": 0.5, "metalness": 0.4 },
24
+ { "id": "lever", "parent": "cap", "size": [0.012, 0.012, 0.05], "round": 0.004, "position": [-0.022, -0.004, 0], "rotation": [0, 0, 20], "color": "#3d4522", "roughness": 0.5, "metalness": 0.4 }
25
+ ]
26
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Ladder",
4
+ "triangles": 700,
5
+ "parts": [
6
+ { "id": "rail", "size": [0.06, 2.0, 0.05], "round": 0.01, "roundSegments": 1, "position": [0.22, 1.0, 0], "color": "#7a5434", "roughness": 0.85, "mirror": "x", "paint": [{ "pattern": "edges", "color": "#a07a55", "amount": 0.5, "width": 0.01 }] },
7
+ { "id": "rung", "kind": "cylinder", "radius": 0.02, "height": 0.48, "segments": 6, "rotation": [0, 0, 90], "position": [0, 0.25, 0], "color": "#8a6140", "roughness": 0.85, "repeat": { "count": 7, "offset": [0, 0.26, 0], "jitter": { "rotate": [0, 0, 4], "color": 0.06, "seed": 1 } } },
8
+ { "id": "lash", "size": [0.075, 0.03, 0.065], "position": [0.22, 0.25, 0], "color": "#b39a6a", "roughness": 0.9, "mirror": "x", "repeat": { "count": 7, "offset": [0, 0.26, 0] } }
9
+ ]
10
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Headlamp",
4
+ "parts": [
5
+ {
6
+ "id": "housing", "kind": "lathe", "rotation": [90, 0, 0],
7
+ "profile": [[0, 0], [0.045, 0.004], [0.075, 0.025], [0.094, 0.06], [0.1, 0.095], [0.1, 0.105]],
8
+ "color": "#1f2124", "metalness": 0.6, "roughness": 0.35
9
+ },
10
+ { "id": "bezel", "kind": "torus", "radius": 0.095, "tube": 0.011, "position": [0, 0, 0.107], "color": "#d6d9dd", "metalness": 1, "roughness": 0.18 },
11
+ {
12
+ "id": "lens", "kind": "lathe", "rotation": [90, 0, 0], "position": [0, 0, 0.098],
13
+ "profile": [[0.088, 0], [0.08, 0.012], [0.055, 0.022], [0, 0.027]],
14
+ "color": "#f3e2b0", "emissive": "#ffcf6a", "emissiveIntensity": 0.9, "roughness": 0.15, "clearcoat": 1
15
+ },
16
+ { "id": "stem", "kind": "cylinder", "radius": 0.014, "height": 0.1, "position": [0, -0.1, 0.04], "color": "#2a2c30", "metalness": 0.7, "roughness": 0.35 },
17
+ { "id": "knuckle", "kind": "sphere", "radius": 0.022, "position": [0, -0.07, 0.04], "color": "#2a2c30", "metalness": 0.7, "roughness": 0.35 },
18
+ { "id": "foot", "size": [0.06, 0.012, 0.05], "round": 0.004, "position": [0, -0.155, 0.04], "color": "#2a2c30", "metalness": 0.7, "roughness": 0.35 }
19
+ ]
20
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Lantern",
4
+ "parts": [
5
+ {
6
+ "id": "base", "kind": "lathe",
7
+ "profile": [[0, 0], [0.075, 0], [0.08, 0.008], [0.08, 0.03], [0.07, 0.04], [0.055, 0.045], [0, 0.045]],
8
+ "color": "#3a3632", "metalness": 0.7, "roughness": 0.45
9
+ },
10
+ {
11
+ "id": "globe", "kind": "lathe", "position": [0, 0.045, 0],
12
+ "profile": [[0.045, 0], [0.062, 0.03], [0.068, 0.07], [0.06, 0.12], [0.04, 0.155], [0.03, 0.165]],
13
+ "color": "#ffd79a", "emissive": "#ffae42", "emissiveIntensity": 1.6, "roughness": 0.15, "clearcoat": 1
14
+ },
15
+ { "id": "flame", "kind": "sphere", "radius": 0.022, "scale": [1, 1.8, 1], "position": [0, 0.115, 0], "color": "#fff4d0", "emissive": "#ffe2a0", "emissiveIntensity": 3 },
16
+ {
17
+ "id": "guard", "kind": "tube", "radius": 0.0045, "color": "#3a3632", "metalness": 0.7, "roughness": 0.45,
18
+ "path": [[0.066, 0.04, 0], [0.078, 0.1, 0], [0.074, 0.16, 0], [0.05, 0.21, 0]],
19
+ "repeat": { "count": 4, "rotate": [0, 90, 0] }
20
+ },
21
+ { "id": "guardRing", "kind": "torus", "radius": 0.077, "tube": 0.004, "rotation": [90, 0, 0], "position": [0, 0.12, 0], "color": "#3a3632", "metalness": 0.7, "roughness": 0.45 },
22
+ {
23
+ "id": "cap", "kind": "lathe", "position": [0, 0.205, 0],
24
+ "profile": [[0, 0], [0.07, 0], [0.072, 0.008], [0.05, 0.035], [0.025, 0.05], [0.02, 0.07], [0, 0.07]],
25
+ "color": "#3a3632", "metalness": 0.7, "roughness": 0.45
26
+ },
27
+ { "id": "eye", "kind": "torus", "radius": 0.016, "tube": 0.0045, "position": [0, 0.29, 0], "color": "#3a3632", "metalness": 0.7, "roughness": 0.45 },
28
+ { "id": "bail", "kind": "torus", "radius": 0.09, "tube": 0.004, "arc": 180, "position": [0, 0.21, 0], "rotation": [0, 90, 0], "color": "#4a4540", "metalness": 0.75, "roughness": 0.4 }
29
+ ]
30
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Leaf Cluster",
4
+ "parts": [
5
+ { "id": "core", "kind": "sphere", "radius": 0.15, "noise": 0.3, "seed": 2, "color": "#2f4a22", "roughness": 0.9 },
6
+ {
7
+ "id": "leaf", "kind": "extrude", "smooth": true, "depth": 0.006, "fold": 25, "bend": 25,
8
+ "outline": [[0, 0], [0.03, 0.03], [0.038, 0.07], [0.022, 0.11], [0, 0.135], [-0.022, 0.11], [-0.038, 0.07], [-0.03, 0.03]],
9
+ "rotation": [55, 0, 0], "position": [0, -0.01, 0],
10
+ "color": "#4f8030", "roughness": 0.75,
11
+ "scatter": { "count": 40, "seed": 3, "on": "core", "scale": [0.8, 1.2], "align": true, "spin": true }
12
+ },
13
+ {
14
+ "id": "leafDark", "kind": "extrude", "smooth": true, "depth": 0.006, "fold": 25, "bend": 20,
15
+ "outline": [[0, 0], [0.03, 0.03], [0.038, 0.07], [0.022, 0.11], [0, 0.135], [-0.022, 0.11], [-0.038, 0.07], [-0.03, 0.03]],
16
+ "rotation": [40, 0, 0], "position": [0, -0.02, 0],
17
+ "color": "#3b6a26", "roughness": 0.8,
18
+ "scatter": { "count": 26, "seed": 9, "on": "core", "scale": [0.7, 1.1], "align": true, "spin": true }
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Offroad Tire",
4
+ "parts": [
5
+ {
6
+ "id": "tire", "kind": "sweep", "rotation": [0, 0, 90],
7
+ "helix": { "radius": 0.3, "turns": 1, "height": 0 },
8
+ "profile": [[-0.06, -0.1], [0.05, -0.105], [0.075, -0.075], [0.075, 0.075], [0.05, 0.105], [-0.06, 0.1]], "smooth": true,
9
+ "color": "#26211e", "roughness": 0.95
10
+ },
11
+ {
12
+ "id": "treadA", "kind": "box", "size": [0.075, 0.055, 0.04], "round": 0.008, "rotation": [0, 0, 20], "offset": [0.048, 0, 0.08],
13
+ "color": "#2b2521", "roughness": 0.95,
14
+ "repeat": { "along": "tire", "count": 22, "align": true }
15
+ },
16
+ {
17
+ "id": "treadB", "kind": "box", "size": [0.075, 0.055, 0.04], "round": 0.008, "rotation": [0, 0, -20], "offset": [-0.048, 0, 0.08],
18
+ "color": "#2b2521", "roughness": 0.95,
19
+ "repeat": { "along": "tire", "count": 22, "align": true, "alternate": [0, 8, 0] }
20
+ },
21
+ {
22
+ "id": "shoulder", "kind": "box", "size": [0.03, 0.05, 0.05], "round": 0.008, "offset": [0.1, 0, 0.035],
23
+ "color": "#2b2521", "roughness": 0.95, "mirror": "x",
24
+ "repeat": { "along": "tire", "count": 22, "align": true }
25
+ },
26
+ { "id": "rim", "kind": "cylinder", "radius": 0.245, "height": 0.17, "rotation": [0, 0, 90], "color": "#a7abb0", "metalness": 0.55, "roughness": 0.4 },
27
+ {
28
+ "id": "rimFace", "kind": "lathe", "rotation": [0, 0, -90], "position": [0.085, 0, 0],
29
+ "profile": [[0.245, 0], [0.23, 0.006], [0.17, 0.012], [0.11, 0.03], [0.085, 0.035], [0, 0.035]],
30
+ "color": "#b3b7bc", "metalness": 0.6, "roughness": 0.35
31
+ },
32
+ { "id": "hub", "kind": "cylinder", "radius": 0.07, "height": 0.26, "rotation": [0, 0, 90], "color": "#55585c", "metalness": 0.8, "roughness": 0.3 },
33
+ {
34
+ "id": "hubCap", "kind": "lathe", "rotation": [0, 0, -90], "position": [0.13, 0, 0],
35
+ "profile": [[0.06, 0], [0.058, 0.012], [0.045, 0.024], [0.02, 0.03], [0, 0.031]],
36
+ "color": "#3f4246", "metalness": 0.85, "roughness": 0.3
37
+ },
38
+ {
39
+ "id": "boltRing", "kind": "tube", "position": [0.12, 0, 0], "rotation": [0, 0, 90], "radius": 0.004,
40
+ "helix": { "radius": 0.098, "turns": 1, "height": 0 },
41
+ "color": "#6c6f73", "metalness": 0.8, "roughness": 0.35
42
+ },
43
+ {
44
+ "id": "lugBolt", "kind": "model", "src": "models/parts/bolt.pxmodel", "rotation": [0, 0, -90], "scale": 0.8,
45
+ "repeat": { "along": "boltRing", "count": 8, "align": true }
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Pauldron",
4
+ "triangles": 800,
5
+ "parts": [
6
+ {
7
+ "id": "plate", "kind": "lathe", "rotation": [0, 0, -28], "scale": [1, 1, 1.15], "segments": 16,
8
+ "profile": [[0.12, -0.1], [0.158, -0.1], [0.16, -0.09], [0.14, -0.078], [0.152, -0.074], [0.152, -0.064], [0.126, -0.05], [0.13, -0.045], [0.12, -0.01], [0.095, 0.025], [0.052, 0.05], [0, 0.057]],
9
+ "color": "#a3a9af", "metalness": 0.45, "roughness": 0.4,
10
+ "paint": [{ "pattern": "cavity", "amount": 0.6 }]
11
+ },
12
+ {
13
+ "id": "trim", "kind": "torus", "parent": "plate", "radius": 0.155, "tube": 0.011, "position": [0, -0.097, 0], "rotation": [90, 0, 0], "scale": [1, 1.15, 1], "segments": 20,
14
+ "color": "#a57c3c", "metalness": 0.8, "roughness": 0.35
15
+ },
16
+ {
17
+ "id": "rivet", "kind": "sphere", "parent": "plate", "radius": 0.011, "segments": 6, "position": [0.124, -0.035, 0.0], "scale": [0.6, 1, 1],
18
+ "color": "#a57c3c", "metalness": 0.8, "roughness": 0.35,
19
+ "repeat": { "count": 6, "rotate": [0, 60, 0] }
20
+ },
21
+ {
22
+ "id": "spike", "kind": "cone", "parent": "plate", "radius": 0.022, "height": 0.07, "position": [0, 0.085, 0], "segments": 8,
23
+ "color": "#a57c3c", "metalness": 0.8, "roughness": 0.35
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Rivet",
4
+ "parts": [
5
+ { "id": "dome", "kind": "lathe", "profile": [[0, 0], [0.012, 0], [0.0118, 0.002], [0.0105, 0.005], [0.0075, 0.0072], [0, 0.0082]], "segments": 16, "color": "#b0ada6", "metalness": 0.5, "roughness": 0.4 },
6
+ { "id": "shank", "kind": "cylinder", "radius": 0.005, "height": 0.02, "position": [0, -0.01, 0], "color": "#8b8883", "metalness": 0.85, "roughness": 0.45 }
7
+ ]
8
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Rock",
4
+ "parts": [
5
+ {
6
+ "id": "boulder", "kind": "sphere", "radius": 0.38, "noise": 0.32, "seed": 5, "scale": [1.25, 0.72, 1], "position": [0, 0.19, 0],
7
+ "displace": 0.018, "noiseScale": 9,
8
+ "color": "#85817a", "roughness": 0.95,
9
+ "paint": [
10
+ { "pattern": "cavity", "amount": 0.7, "width": 0.06 },
11
+ { "pattern": "grime", "color": "#6d6a63", "amount": 0.4, "scale": 5 },
12
+ { "pattern": "spots", "color": "#97948b", "size": 0.02, "density": 0.15 },
13
+ { "pattern": "grime", "color": "#667548", "amount": 0.25, "scale": 7, "above": 0.14 }
14
+ ]
15
+ },
16
+ {
17
+ "id": "pebble", "kind": "sphere", "radius": 0.07, "noise": 0.3, "seed": 8, "scale": [1.2, 0.7, 1], "position": [0.42, 0.02, 0.18],
18
+ "color": "#7d7972", "roughness": 0.95, "paint": [{ "pattern": "cavity", "amount": 0.6 }]
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Roll Bar Light",
4
+ "triangles": 600,
5
+ "parts": [
6
+ {
7
+ "id": "housing", "size": [0.52, 0.085, 0.07], "round": 0.02, "position": [0, 0.1, 0],
8
+ "color": "#1c1d20", "metalness": 0.4, "roughness": 0.45
9
+ },
10
+ {
11
+ "id": "reflector", "size": [0.48, 0.058, 0.01], "position": [0, 0.1, 0.033],
12
+ "color": "#c8ccd2", "metalness": 0.7, "roughness": 0.25
13
+ },
14
+ {
15
+ "id": "led", "kind": "cylinder", "radius": 0.02, "height": 0.012, "position": [-0.2, 0.1, 0.038], "rotation": [90, 0, 0], "segments": 8,
16
+ "color": "#ffffff", "emissive": "#fff4d6", "emissiveIntensity": 2.2, "roughness": 0.1,
17
+ "repeat": { "count": 8, "offset": [0.0571, 0, 0] }
18
+ },
19
+ { "id": "fin", "size": [0.5, 0.008, 0.03], "position": [0, 0.13, -0.035], "color": "#1c1d20", "metalness": 0.4, "roughness": 0.45, "repeat": { "count": 4, "offset": [0, -0.02, 0] } },
20
+ { "id": "bracket", "size": [0.018, 0.075, 0.03], "position": [0.16, 0.05, 0], "mirror": "x", "color": "#2a2c30", "metalness": 0.6, "roughness": 0.4 },
21
+ {
22
+ "id": "clamp", "kind": "torus", "radius": 0.035, "tube": 0.008, "position": [0.16, 0, 0], "rotation": [0, 90, 0], "segments": 12, "mirror": "x",
23
+ "color": "#2a2c30", "metalness": 0.6, "roughness": 0.4
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Round Shield",
4
+ "triangles": 1000,
5
+ "parts": [
6
+ {
7
+ "id": "board", "kind": "cylinder", "radius": 0.29, "height": 0.03, "position": [0, 0, 0.015], "rotation": [90, 0, 0],
8
+ "color": "#8a5a34", "roughness": 0.85,
9
+ "paint": [
10
+ { "pattern": "stripes", "colors": ["#8a5a34", "#7a4d2c", "#95653c"], "width": 0.095, "angle": 90, "axis": "y" },
11
+ { "pattern": "stripes", "colors": ["#9c2f25"], "width": 0.19, "angle": 90, "axis": "y" }
12
+ ]
13
+ },
14
+ {
15
+ "id": "rim", "kind": "torus", "radius": 0.29, "tube": 0.02, "position": [0, 0, 0.015], "segments": 28,
16
+ "color": "#6e665c", "metalness": 0.5, "roughness": 0.5,
17
+ "paint": [{ "pattern": "grime", "color": "#6b3a1e", "amount": 0.25, "scale": 8 }]
18
+ },
19
+ {
20
+ "id": "rivet", "kind": "sphere", "radius": 0.013, "segments": 6, "position": [0.25, 0, 0.03], "scale": [1, 1, 0.6],
21
+ "color": "#8a8278", "metalness": 0.7, "roughness": 0.4,
22
+ "repeat": { "count": 10, "rotate": [0, 0, 36] }
23
+ },
24
+ {
25
+ "id": "boss", "kind": "lathe", "position": [0, 0, 0.03], "rotation": [90, 0, 0], "segments": 14,
26
+ "profile": [[0.085, 0], [0.085, 0.01], [0.07, 0.03], [0.04, 0.055], [0, 0.062]],
27
+ "color": "#a39b90", "metalness": 0.5, "roughness": 0.35
28
+ },
29
+ { "id": "grip", "size": [0.16, 0.035, 0.025], "round": 0.01, "position": [0, 0, -0.013], "color": "#3e2a1b", "roughness": 0.8 }
30
+ ]
31
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Saddlebag",
4
+ "triangles": 800,
5
+ "parts": [
6
+ { "id": "yoke", "size": [0.34, 0.012, 0.14], "round": 0.004, "position": [0, -0.006, 0], "material": "leather", "materialColor": "#4e321e" },
7
+ {
8
+ "id": "bag", "size": [0.11, 0.22, 0.3], "round": 0.035, "position": [0.18, -0.12, 0], "mirror": "x",
9
+ "material": "leather", "materialColor": "#7a4e2c"
10
+ },
11
+ {
12
+ "id": "flap", "parent": "bag", "size": [0.016, 0.13, 0.29], "round": 0.007, "position": [0.058, 0.04, 0],
13
+ "material": "leather", "materialColor": "#5e3a20"
14
+ },
15
+ {
16
+ "id": "flapTop", "parent": "bag", "size": [0.12, 0.016, 0.3], "round": 0.007, "position": [0, 0.108, 0],
17
+ "material": "leather", "materialColor": "#5e3a20"
18
+ },
19
+ {
20
+ "id": "strap", "parent": "bag", "size": [0.008, 0.19, 0.026], "position": [0.068, 0.0, 0.08],
21
+ "color": "#3e2a1b", "roughness": 0.8,
22
+ "repeat": { "count": 2, "offset": [0, 0, -0.16] }
23
+ },
24
+ {
25
+ "id": "buckle", "parent": "bag", "size": [0.01, 0.03, 0.034], "position": [0.072, -0.03, 0.08],
26
+ "color": "#c7a25a", "metalness": 0.7, "roughness": 0.4,
27
+ "repeat": { "count": 2, "offset": [0, 0, -0.16] }
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Spoked Wheel",
4
+ "parts": [
5
+ {
6
+ "id": "felloe", "kind": "sweep", "rotation": [0, 0, 90],
7
+ "helix": { "radius": 0.4, "turns": 1, "height": 0 },
8
+ "profile": [[-0.045, -0.035], [0.028, -0.035], [0.028, 0.035], [-0.045, 0.035]],
9
+ "color": "#8a6038", "roughness": 0.85,
10
+ "paint": [{ "pattern": "grime", "color": "#5a3d22", "amount": 0.35, "scale": 8 }]
11
+ },
12
+ {
13
+ "id": "band", "kind": "sweep", "rotation": [0, 0, 90],
14
+ "helix": { "radius": 0.4, "turns": 1, "height": 0 },
15
+ "profile": [[0.026, -0.042], [0.042, -0.042], [0.045, -0.035], [0.045, 0.035], [0.042, 0.042], [0.026, 0.042]],
16
+ "color": "#46423e", "metalness": 0.7, "roughness": 0.55
17
+ },
18
+ {
19
+ "id": "bandRing", "kind": "tube", "position": [0.04, 0, 0], "rotation": [0, 0, 90], "radius": 0.001,
20
+ "helix": { "radius": 0.425, "turns": 1, "height": 0 }, "color": "#46423e"
21
+ },
22
+ {
23
+ "id": "bandRivet", "kind": "model", "src": "models/parts/rivet.pxmodel", "rotation": [0, 0, -90], "scale": 0.8,
24
+ "repeat": { "along": "bandRing", "count": 12, "align": true }
25
+ },
26
+ {
27
+ "id": "spoke", "kind": "cylinder", "radius": 0.02, "radiusTop": 0.014, "height": 0.34, "offset": [0, 0.23, 0], "segments": 10,
28
+ "color": "#9a6f42", "roughness": 0.8,
29
+ "repeat": { "count": 12, "rotate": [30, 0, 0] }
30
+ },
31
+ {
32
+ "id": "hub", "kind": "lathe", "rotation": [0, 0, -90],
33
+ "profile": [[0, -0.13], [0.045, -0.13], [0.07, -0.08], [0.082, -0.02], [0.082, 0.02], [0.07, 0.08], [0.045, 0.13], [0, 0.13]],
34
+ "color": "#7a5230", "roughness": 0.8
35
+ },
36
+ { "id": "hubBand", "kind": "torus", "radius": 0.064, "tube": 0.01, "rotation": [0, 90, 0], "position": [0.085, 0, 0], "color": "#46423e", "metalness": 0.7, "roughness": 0.5, "mirror": "x" },
37
+ { "id": "axleCap", "kind": "cylinder", "radius": 0.03, "height": 0.04, "rotation": [0, 0, 90], "position": [0.14, 0, 0], "color": "#3c3936", "metalness": 0.8, "roughness": 0.4 }
38
+ ]
39
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Staff",
4
+ "triangles": 900,
5
+ "parts": [
6
+ {
7
+ "id": "shaft", "kind": "sweep", "smooth": true, "scaleEnd": 1.25,
8
+ "path": [[0, -0.75, 0], [0.012, -0.35, 0.006], [-0.008, 0.15, 0], [0.01, 0.55, -0.004], [0, 0.72, 0]],
9
+ "profile": [[0.02, 0.0], [0.01, 0.0173], [-0.01, 0.0173], [-0.02, 0.0], [-0.01, -0.0173], [0.01, -0.0173]],
10
+ "material": "wood", "materialColor": "#6b4a2e"
11
+ },
12
+ {
13
+ "id": "wrap", "kind": "sweep", "position": [0, -0.08, 0], "smooth": true,
14
+ "profile": [[0.006, 0.0], [0.003, 0.0052], [-0.003, 0.0052], [-0.006, 0.0], [-0.003, -0.0052], [0.003, -0.0052]],
15
+ "helix": { "radius": 0.025, "turns": 3, "height": 0.16 }, "color": "#3e2a1b", "roughness": 0.8
16
+ },
17
+ {
18
+ "id": "claw", "kind": "sweep", "smooth": true, "scaleEnd": 0.2,
19
+ "path": [[0, 0.7, 0], [0.045, 0.76, 0], [0.058, 0.84, 0], [0.025, 0.91, 0]],
20
+ "profile": [[0.016, 0.0], [0.008, 0.0139], [-0.008, 0.0139], [-0.016, 0.0], [-0.008, -0.0139], [0.008, -0.0139]],
21
+ "material": "wood", "materialColor": "#6b4a2e",
22
+ "repeat": { "count": 3, "rotate": [0, 120, 0] }
23
+ },
24
+ {
25
+ "id": "orb", "kind": "sphere", "radius": 0.042, "position": [0, 0.82, 0], "segments": 12,
26
+ "color": "#9fe6ff", "emissive": "#46c4ff", "emissiveIntensity": 1.4, "roughness": 0.1, "clearcoat": 1
27
+ },
28
+ {
29
+ "id": "ferrule", "kind": "cylinder", "radius": 0.02, "radiusTop": 0.022, "height": 0.05, "position": [0, -0.74, 0], "segments": 8,
30
+ "color": "#8e8a84", "metalness": 0.6, "roughness": 0.4
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Stepping Stones",
4
+ "triangles": 700,
5
+ "parts": [
6
+ { "id": "stone", "kind": "sphere", "radius": 0.22, "noise": 0.25, "seed": 3, "detail": 1, "scale": [1, 0.28, 0.85], "color": "#8a867e", "roughness": 0.95, "repeat": { "along": [[0.05, 0.02, -0.95], [-0.12, 0.02, -0.3], [0.1, 0.02, 0.35], [-0.05, 0.02, 0.95]], "count": 4, "jitter": { "position": [0.05, 0.01, 0.03], "rotate": [3, 60, 3], "scale": 0.15, "color": 0.06, "seed": 5 } }, "paint": [{ "pattern": "cavity", "amount": 0.6 }, { "pattern": "grime", "color": "#6f7a50", "amount": 0.3, "scale": 8 }] }
7
+ ]
8
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Stone Base",
4
+ "triangles": 700,
5
+ "parts": [
6
+ { "id": "plinth", "size": [4.3, 0.3, 3.3], "round": 0.05, "roundSegments": 1, "position": [0, 0.15, 0], "color": "#7f7c75", "roughness": 0.95, "paint": [{ "pattern": "cracks", "color": "#5f5c56", "amount": 0.4, "scale": 2.5, "seed": 2 }, { "pattern": "grime", "color": "#8e8a80", "amount": 0.4, "scale": 2, "above": 0.1 }, { "pattern": "grime", "color": "#6f7a50", "amount": 0.35, "scale": 3, "below": 0.12 }, { "pattern": "cavity", "amount": 0.5 }] },
7
+ { "id": "stone", "kind": "sphere", "radius": 0.26, "noise": 0.15, "seed": 7, "detail": 0, "scale": [1.5, 0.75, 1.1], "color": "#858179", "roughness": 0.95, "repeat": { "along": [[-2.1, 0.07, -1.6], [0, 0.07, -1.66], [2.1, 0.07, -1.6], [2.16, 0.07, 0], [2.1, 0.07, 1.6], [0, 0.07, 1.66], [-2.1, 0.07, 1.6], [-2.16, 0.07, 0], [-2.1, 0.07, -1.6]], "count": 24, "jitter": { "position": [0.03, 0.04, 0.03], "rotate": [5, 25, 5], "scale": 0.2, "color": 0.08, "seed": 3 } }, "paint": [{ "pattern": "cavity", "amount": 0.6 }] },
8
+ { "id": "cornerstone", "kind": "sphere", "radius": 0.3, "noise": 0.3, "seed": 11, "detail": 0, "scale": [1, 0.9, 1], "position": [2.1, 0.18, 1.6], "color": "#7c7870", "roughness": 0.95, "mirror": "x" }
9
+ ]
10
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Sword",
4
+ "triangles": 700,
5
+ "parts": [
6
+ {
7
+ "id": "grip", "kind": "cylinder", "radius": 0.016, "radiusTop": 0.015, "height": 0.14, "segments": 8,
8
+ "color": "#3e2a1b", "roughness": 0.8
9
+ },
10
+ {
11
+ "id": "wrap", "kind": "sweep", "position": [0, -0.065, 0], "smooth": true, "profile": [[0.005, 0.0], [0.0025, 0.0043], [-0.0025, 0.0043], [-0.005, 0.0], [-0.0025, -0.0043], [0.0025, -0.0043]],
12
+ "helix": { "radius": 0.016, "turns": 5, "height": 0.13 }, "color": "#5a3d26", "roughness": 0.75
13
+ },
14
+ {
15
+ "id": "pommel", "kind": "lathe", "position": [0, -0.075, 0], "segments": 10,
16
+ "profile": [[0, -0.045], [0.02, -0.04], [0.028, -0.022], [0.02, -0.004], [0.012, 0], [0, 0]],
17
+ "color": "#b58b3a", "metalness": 0.85, "roughness": 0.35
18
+ },
19
+ {
20
+ "id": "guard", "kind": "sweep", "position": [0, 0.075, 0], "smooth": true, "up": [0, 0, 1],
21
+ "path": [[-0.11, 0.02, 0], [-0.05, 0, 0], [0.05, 0, 0], [0.11, 0.02, 0]], "profile": [[0.016, 0], [0, 0.018], [-0.016, 0], [0, -0.018]],
22
+ "color": "#b58b3a", "metalness": 0.85, "roughness": 0.35
23
+ },
24
+ { "id": "guardEnd", "kind": "sphere", "radius": 0.02, "position": [0.112, 0.097, 0], "mirror": "x", "segments": 8, "color": "#b58b3a", "metalness": 0.85, "roughness": 0.35 },
25
+ {
26
+ "id": "blade", "kind": "extrude",
27
+ "outline": [[-0.03, 0.08], [0.03, 0.08], [0.026, 0.62], [0, 0.71], [-0.026, 0.62]],
28
+ "depth": 0.012, "bevel": 0.005,
29
+ "color": "#c6ccd2", "metalness": 0.5, "roughness": 0.3
30
+ },
31
+ { "id": "fuller", "size": [0.012, 0.42, 0.016], "position": [0, 0.33, 0], "color": "#8a9199", "metalness": 0.6, "roughness": 0.35 }
32
+ ]
33
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "format": "pxmodel",
3
+ "name": "Lit Window",
4
+ "triangles": 700,
5
+ "parts": [
6
+ { "id": "glass", "size": [0.6, 0.8, 0.02], "position": [0, 0, 0.02], "color": "#ffd79a", "emissive": "#ffae42", "emissiveIntensity": 1.4, "roughness": 0.15, "look": { "outline": 0, "ao": 0 } },
7
+ { "id": "frame", "kind": "extrude", "outline": [[-0.37, -0.47], [0.37, -0.47], [0.37, 0.47], [-0.37, 0.47]], "holes": [[[-0.3, -0.4], [0.3, -0.4], [0.3, 0.4], [-0.3, 0.4]]], "depth": 0.1, "bevel": 0.01, "position": [0, 0, 0.05], "color": "#5b3d24", "roughness": 0.85, "paint": [{ "pattern": "edges", "color": "#8a6644", "amount": 0.5, "width": 0.01 }] },
8
+ { "id": "mullion", "size": [0.04, 0.8, 0.04], "position": [0, 0, 0.04], "color": "#5b3d24", "roughness": 0.85 },
9
+ { "id": "transom", "size": [0.6, 0.04, 0.04], "position": [0, 0, 0.04], "color": "#5b3d24", "roughness": 0.85 },
10
+ { "id": "sill", "size": [0.86, 0.06, 0.18], "round": 0.01, "roundSegments": 1, "position": [0, -0.5, 0.1], "color": "#8d8a82", "roughness": 0.95, "paint": [{ "pattern": "cavity", "amount": 0.5 }] },
11
+ { "id": "lintel", "size": [0.84, 0.08, 0.12], "round": 0.01, "roundSegments": 1, "position": [0, 0.51, 0.06], "color": "#8d8a82", "roughness": 0.95 }
12
+ ]
13
+ }