@margoengine/rigging 0.1.0 → 1.0.0

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.
package/dist/vrma.js CHANGED
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { HUMANOID_BONES as e } from "./retarget.js";
@@ -267,7 +267,7 @@ async function C(e, t, n, r = {}) {
267
267
  if (r.autoUpdate !== !1) {
268
268
  if (r.vrm) P = r.vrm.addPoseSource(j);
269
269
  else {
270
- let e = {coreRequirement:/*@__PURE__*/__margoCoreRequirement("0.1.0",import.meta.url),
270
+ let e = {coreRequirement:/*@__PURE__*/__margoCoreRequirement("1.0.0",import.meta.url),
271
271
  name: N,
272
272
  setup() {},
273
273
  onPreUpdate: j,
package/package.json CHANGED
@@ -1,175 +1,191 @@
1
- {
2
- "name": "@margoengine/rigging",
3
- "version": "0.1.0",
4
- "description": "Rigging and animation authoring: automatic skin weights, weight painting, skin checks, IK chains with poles, retarget presets, spring bones, VRM 1.0 avatars, geodesic voxel weights, corrective shapes, weight transfer, face tracking, automatic rigs from a bare mesh.",
5
- "keywords": [
6
- "margoengine",
7
- "webgpu",
8
- "3d",
9
- "rigging",
10
- "skinning",
11
- "weights",
12
- "vrm",
13
- "voxel-weights",
14
- "autorig",
15
- "correctives",
16
- "face-tracking"
17
- ],
18
- "homepage": "https://margoengine.com",
19
- "bugs": {
20
- "url": "https://github.com/scottcampbelldata/margoengine/issues"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/scottcampbelldata/margoengine.git",
25
- "directory": "packages/rigging"
26
- },
27
- "license": "Apache-2.0",
28
- "author": "Scott Campbell",
29
- "type": "module",
30
- "sideEffects": false,
31
- "exports": {
32
- ".": {
33
- "types": "./dist/index.d.ts",
34
- "import": "./dist/index.js"
35
- },
36
- "./ik": {
37
- "types": "./dist/ik.d.ts",
38
- "import": "./dist/ik.js"
39
- },
40
- "./contact": {
41
- "types": "./dist/contact.d.ts",
42
- "import": "./dist/contact.js"
43
- },
44
- "./joint-limits": {
45
- "types": "./dist/joint-limits.d.ts",
46
- "import": "./dist/joint-limits.js"
47
- },
48
- "./swim": {
49
- "types": "./dist/swim.d.ts",
50
- "import": "./dist/swim.js"
51
- },
52
- "./retarget": {
53
- "types": "./dist/retarget.d.ts",
54
- "import": "./dist/retarget.js"
55
- },
56
- "./hulls": {
57
- "types": "./dist/hulls.d.ts",
58
- "import": "./dist/hulls.js"
59
- },
60
- "./springs": {
61
- "types": "./dist/springs.d.ts",
62
- "import": "./dist/springs.js"
63
- },
64
- "./vrm": {
65
- "types": "./dist/vrm.d.ts",
66
- "import": "./dist/vrm.js"
67
- },
68
- "./autorig": {
69
- "types": "./dist/autorig.d.ts",
70
- "import": "./dist/autorig.js"
71
- },
72
- "./voxel-weights": {
73
- "types": "./dist/voxel-weights.d.ts",
74
- "import": "./dist/voxel-weights.js"
75
- },
76
- "./correctives": {
77
- "types": "./dist/correctives.d.ts",
78
- "import": "./dist/correctives.js"
79
- },
80
- "./transfer": {
81
- "types": "./dist/transfer.d.ts",
82
- "import": "./dist/transfer.js"
83
- },
84
- "./face": {
85
- "types": "./dist/face.d.ts",
86
- "import": "./dist/face.js"
87
- },
88
- "./vrm0": {
89
- "types": "./dist/vrm0.d.ts",
90
- "import": "./dist/vrm0.js"
91
- },
92
- "./mtoon": {
93
- "types": "./dist/mtoon.d.ts",
94
- "import": "./dist/mtoon.js"
95
- },
96
- "./vrm-constraints": {
97
- "types": "./dist/vrm-constraints.d.ts",
98
- "import": "./dist/vrm-constraints.js"
99
- },
100
- "./vrma": {
101
- "types": "./dist/vrma.d.ts",
102
- "import": "./dist/vrma.js"
103
- },
104
- "./vrm-first-person": {
105
- "types": "./dist/vrm-first-person.d.ts",
106
- "import": "./dist/vrm-first-person.js"
107
- },
108
- "./pose-tracking": {
109
- "types": "./dist/pose-tracking.d.ts",
110
- "import": "./dist/pose-tracking.js"
111
- },
112
- "./hands": {
113
- "types": "./dist/hands.d.ts",
114
- "import": "./dist/hands.js"
115
- },
116
- "./strand-springs": {
117
- "types": "./dist/strand-springs.d.ts",
118
- "import": "./dist/strand-springs.js"
119
- }
120
- },
121
- "files": [
122
- "dist",
123
- "LICENSE",
124
- "NOTICE"
125
- ],
126
- "publishConfig": {
127
- "access": "public"
128
- },
129
- "dependencies": {
130
- "@margoengine/bvh": "^0.1.0",
131
- "@margoengine/geometry": "^0.1.0",
132
- "@margoengine/math": "^0.1.0",
133
- "@margoengine/physics": "^0.1.0"
134
- },
135
- "peerDependencies": {
136
- "@margoengine/animator": "^0.1.0",
137
- "@margoengine/core": "^0.1.0",
138
- "@margoengine/kinematics-constraints": "^0.1.0",
139
- "@margoengine/gltf": "^0.1.0",
140
- "@margoengine/animation": "^0.1.0",
141
- "@margoengine/decoders": "^0.1.0"
142
- },
143
- "peerDependenciesMeta": {
144
- "@margoengine/animator": {
145
- "optional": true
146
- },
147
- "@margoengine/core": {
148
- "optional": true
149
- },
150
- "@margoengine/kinematics-constraints": {
151
- "optional": true
152
- },
153
- "@margoengine/gltf": {
154
- "optional": true
155
- },
156
- "@margoengine/animation": {
157
- "optional": true
158
- },
159
- "@margoengine/decoders": {
160
- "optional": true
161
- }
162
- },
163
- "scripts": {
164
- "build": "node ../../scripts/build-optional.js rigging",
165
- "test": "npm run build && node --test tests/*.test.js",
166
- "test:browser": "npm run build && node tests/rigging-browser.mjs",
167
- "prepack": "npm run build",
168
- "test:mtoon:browser": "cd ../.. && node packages/rigging/tests/mtoon-light.browser.mjs && node packages/rigging/tests/mtoon-replica.browser.mjs && node packages/rigging/tests/mtoon-matcap.browser.mjs && node packages/rigging/tests/mtoon-uv.browser.mjs && node packages/rigging/tests/mtoon-uv-animation.browser.mjs && node packages/rigging/tests/mtoon-uv-shadow.browser.mjs && node packages/rigging/tests/mtoon-expressions.browser.mjs && node packages/rigging/tests/mtoon-local-rim.browser.mjs && node packages/rigging/tests/mtoon-gbuffer.browser.mjs && node packages/rigging/tests/mtoon-outline.browser.mjs && node packages/rigging/tests/mtoon-avatar.browser.mjs && node packages/rigging/tests/mtoon-avatar.browser.mjs --vrm1",
169
- "test:strand-springs:browser": "cd ../.. && node packages/rigging/tests/strand-springs.browser.mjs",
170
- "test:constraints:browser": "node tests/vrm-constraints.browser.mjs",
171
- "test:vrma:browser": "node tests/vrma.browser.mjs",
172
- "test:pose-tracking:browser": "node tests/pose-tracking.browser.mjs",
173
- "test:first-person:browser": "cd ../.. && node packages/rigging/tests/vrm-first-person.browser.mjs"
174
- }
175
- }
1
+ {
2
+ "name": "@margoengine/rigging",
3
+ "version": "1.0.0",
4
+ "description": "Rigging and animation authoring: automatic skin weights, weight painting, skin checks, IK chains with poles, retarget presets, spring bones, VRM 1.0 avatars, geodesic voxel weights, corrective shapes, weight transfer, face tracking, automatic rigs from a bare mesh, an anatomical body model with sourced human joint limits.",
5
+ "keywords": [
6
+ "margoengine",
7
+ "webgpu",
8
+ "3d",
9
+ "rigging",
10
+ "skinning",
11
+ "weights",
12
+ "vrm",
13
+ "voxel-weights",
14
+ "autorig",
15
+ "correctives",
16
+ "face-tracking"
17
+ ],
18
+ "homepage": "https://margoengine.com",
19
+ "bugs": {
20
+ "url": "https://github.com/scottcampbelldata/margoengine/issues"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/scottcampbelldata/margoengine.git",
25
+ "directory": "packages/rigging"
26
+ },
27
+ "license": "Apache-2.0",
28
+ "author": "Scott Campbell",
29
+ "type": "module",
30
+ "sideEffects": false,
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.ts",
34
+ "import": "./dist/index.js"
35
+ },
36
+ "./ik": {
37
+ "types": "./dist/ik.d.ts",
38
+ "import": "./dist/ik.js"
39
+ },
40
+ "./contact": {
41
+ "types": "./dist/contact.d.ts",
42
+ "import": "./dist/contact.js"
43
+ },
44
+ "./joint-limits": {
45
+ "types": "./dist/joint-limits.d.ts",
46
+ "import": "./dist/joint-limits.js"
47
+ },
48
+ "./anatomy": {
49
+ "types": "./dist/anatomy.d.ts",
50
+ "import": "./dist/anatomy.js"
51
+ },
52
+ "./anatomy/human": {
53
+ "types": "./dist/anatomy-human.d.ts",
54
+ "import": "./dist/anatomy-human.js"
55
+ },
56
+ "./validate": {
57
+ "types": "./dist/validate.d.ts",
58
+ "import": "./dist/validate.js"
59
+ },
60
+ "./coupling": {
61
+ "types": "./dist/coupling.d.ts",
62
+ "import": "./dist/coupling.js"
63
+ },
64
+ "./swim": {
65
+ "types": "./dist/swim.d.ts",
66
+ "import": "./dist/swim.js"
67
+ },
68
+ "./retarget": {
69
+ "types": "./dist/retarget.d.ts",
70
+ "import": "./dist/retarget.js"
71
+ },
72
+ "./hulls": {
73
+ "types": "./dist/hulls.d.ts",
74
+ "import": "./dist/hulls.js"
75
+ },
76
+ "./springs": {
77
+ "types": "./dist/springs.d.ts",
78
+ "import": "./dist/springs.js"
79
+ },
80
+ "./vrm": {
81
+ "types": "./dist/vrm.d.ts",
82
+ "import": "./dist/vrm.js"
83
+ },
84
+ "./autorig": {
85
+ "types": "./dist/autorig.d.ts",
86
+ "import": "./dist/autorig.js"
87
+ },
88
+ "./voxel-weights": {
89
+ "types": "./dist/voxel-weights.d.ts",
90
+ "import": "./dist/voxel-weights.js"
91
+ },
92
+ "./correctives": {
93
+ "types": "./dist/correctives.d.ts",
94
+ "import": "./dist/correctives.js"
95
+ },
96
+ "./transfer": {
97
+ "types": "./dist/transfer.d.ts",
98
+ "import": "./dist/transfer.js"
99
+ },
100
+ "./face": {
101
+ "types": "./dist/face.d.ts",
102
+ "import": "./dist/face.js"
103
+ },
104
+ "./vrm0": {
105
+ "types": "./dist/vrm0.d.ts",
106
+ "import": "./dist/vrm0.js"
107
+ },
108
+ "./mtoon": {
109
+ "types": "./dist/mtoon.d.ts",
110
+ "import": "./dist/mtoon.js"
111
+ },
112
+ "./vrm-constraints": {
113
+ "types": "./dist/vrm-constraints.d.ts",
114
+ "import": "./dist/vrm-constraints.js"
115
+ },
116
+ "./vrma": {
117
+ "types": "./dist/vrma.d.ts",
118
+ "import": "./dist/vrma.js"
119
+ },
120
+ "./vrm-first-person": {
121
+ "types": "./dist/vrm-first-person.d.ts",
122
+ "import": "./dist/vrm-first-person.js"
123
+ },
124
+ "./pose-tracking": {
125
+ "types": "./dist/pose-tracking.d.ts",
126
+ "import": "./dist/pose-tracking.js"
127
+ },
128
+ "./hands": {
129
+ "types": "./dist/hands.d.ts",
130
+ "import": "./dist/hands.js"
131
+ },
132
+ "./strand-springs": {
133
+ "types": "./dist/strand-springs.d.ts",
134
+ "import": "./dist/strand-springs.js"
135
+ }
136
+ },
137
+ "files": [
138
+ "dist",
139
+ "LICENSE",
140
+ "NOTICE"
141
+ ],
142
+ "publishConfig": {
143
+ "access": "public"
144
+ },
145
+ "dependencies": {
146
+ "@margoengine/bvh": "^1.0.0",
147
+ "@margoengine/geometry": "^1.0.0",
148
+ "@margoengine/math": "^1.0.0",
149
+ "@margoengine/physics": "^1.0.0"
150
+ },
151
+ "peerDependencies": {
152
+ "@margoengine/animator": "^1.0.0",
153
+ "@margoengine/core": "^1.0.0",
154
+ "@margoengine/kinematics-constraints": "^1.0.0",
155
+ "@margoengine/gltf": "^1.0.0",
156
+ "@margoengine/animation": "^1.0.0",
157
+ "@margoengine/decoders": "^1.0.0"
158
+ },
159
+ "peerDependenciesMeta": {
160
+ "@margoengine/animator": {
161
+ "optional": true
162
+ },
163
+ "@margoengine/core": {
164
+ "optional": true
165
+ },
166
+ "@margoengine/kinematics-constraints": {
167
+ "optional": true
168
+ },
169
+ "@margoengine/gltf": {
170
+ "optional": true
171
+ },
172
+ "@margoengine/animation": {
173
+ "optional": true
174
+ },
175
+ "@margoengine/decoders": {
176
+ "optional": true
177
+ }
178
+ },
179
+ "scripts": {
180
+ "build": "node ../../scripts/build-optional.js rigging",
181
+ "test": "npm run build && node --test tests/*.test.js",
182
+ "test:browser": "npm run build && node tests/rigging-browser.mjs && cd ../.. && node packages/rigging/tests/ik-reach-sheet.browser.mjs",
183
+ "prepack": "npm run build",
184
+ "test:mtoon:browser": "cd ../.. && node packages/rigging/tests/mtoon-light.browser.mjs && node packages/rigging/tests/mtoon-replica.browser.mjs && node packages/rigging/tests/mtoon-matcap.browser.mjs && node packages/rigging/tests/mtoon-uv.browser.mjs && node packages/rigging/tests/mtoon-uv-animation.browser.mjs && node packages/rigging/tests/mtoon-uv-shadow.browser.mjs && node packages/rigging/tests/mtoon-expressions.browser.mjs && node packages/rigging/tests/mtoon-local-rim.browser.mjs && node packages/rigging/tests/mtoon-gbuffer.browser.mjs && node packages/rigging/tests/mtoon-outline.browser.mjs && node packages/rigging/tests/mtoon-avatar.browser.mjs && node packages/rigging/tests/mtoon-avatar.browser.mjs --vrm1",
185
+ "test:strand-springs:browser": "cd ../.. && node packages/rigging/tests/strand-springs.browser.mjs",
186
+ "test:constraints:browser": "node tests/vrm-constraints.browser.mjs",
187
+ "test:vrma:browser": "node tests/vrma.browser.mjs",
188
+ "test:pose-tracking:browser": "node tests/pose-tracking.browser.mjs",
189
+ "test:first-person:browser": "cd ../.. && node packages/rigging/tests/vrm-first-person.browser.mjs"
190
+ }
191
+ }