Commit 4e4f1c1
Merge feature/vrm1.0 (#42)
* vrm1.0 support (#40)
* vrm1.0 support
* Update Example/VisionExample/VisionExampleApp.swift
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* displayName
* displayName
* Update Example/VisionExample/ContentView.swift
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* materialName
* SpringBone
* revert Sources/VRMKit/VRM/Node.swift
* revert Sources/VRMKit/VRM/VRM1.swift
* Revert "revert Sources/VRMKit/VRM/VRM1.swift"
This reverts commit b66fe1c.
* Revert "revert Sources/VRMKit/VRM/Node.swift"
This reverts commit 445e5f6.
* fix test
* fix BlendShape
* fix comment
* remove comments
* fix comment
* mac example
* add testcase
* remove unnecessary comment
* SwiftTesting
* revert VRM1Tests.swift
* Revert "revert VRM1Tests.swift"
This reverts commit 6abaf87.
* refactor testcase
* allowedUserName
* texture transform
* fix build error
* add example build pipeline
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* feat: VRM files to example project resources
* Flip the model direction for visionOS example
Co-authored-by: tatsuya-ogawa <tatsuya-ogawa@users.noreply.github.com>
* New interfaces
- Updated VRM.MaterialProperty to VRM0.MaterialProperty for consistency.
- Removed VRMFileProtocol as it is no longer needed.
- Migrated VRM1 structures to VRM0 equivalents in VRMMigration.swift.
- Adjusted VRMLoader to support loading VRM0 thumbnails.
- Modified Humanoid and SecondaryAnimation classes to use VRM0 types.
- Updated tests to validate VRM0 functionality and migration from VRM1.
- Removed deprecated VRM1SceneLoader and related methods.
- Added new tests for VRM0 to ensure proper functionality and migration.
* feat: Add UIUserInterfaceStyle key for dark mode support in Info.plist
* feat: Improve shader handling for MToon and Unlit variants in VRMEntityLoader #42 (comment)
---------
Co-authored-by: tatsuya-ogawa <tatsuya-ogawa@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent c59c6f6 commit 4e4f1c1
File tree
35 files changed
+1627
-455
lines changed- .github/workflows
- Example
- Example.xcodeproj
- Example
- MacExample
- VisionExample
- WatchExample Watch App
- Sources
- VRMKit
- VRM
- VRMRealityKit
- CustomType
- VRMSceneKit
- CustomType
- Extensions
- GLTF2SCN
- Tests
- VRMKitTests
- Assets
- VRMSceneKitTests
35 files changed
+1627
-455
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
146 | 153 | | |
147 | 154 | | |
148 | 155 | | |
| 156 | + | |
149 | 157 | | |
150 | 158 | | |
151 | 159 | | |
| |||
340 | 348 | | |
341 | 349 | | |
342 | 350 | | |
| 351 | + | |
343 | 352 | | |
344 | 353 | | |
345 | 354 | | |
346 | 355 | | |
347 | 356 | | |
348 | 357 | | |
349 | 358 | | |
| 359 | + | |
| 360 | + | |
350 | 361 | | |
351 | 362 | | |
352 | 363 | | |
| |||
355 | 366 | | |
356 | 367 | | |
357 | 368 | | |
| 369 | + | |
358 | 370 | | |
359 | 371 | | |
360 | 372 | | |
361 | 373 | | |
362 | 374 | | |
363 | 375 | | |
364 | 376 | | |
| 377 | + | |
| 378 | + | |
365 | 379 | | |
366 | 380 | | |
367 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
46 | 83 | | |
47 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
48 | 90 | | |
49 | | - | |
| 91 | + | |
50 | 92 | | |
51 | 93 | | |
52 | 94 | | |
| |||
72 | 114 | | |
73 | 115 | | |
74 | 116 | | |
75 | | - | |
| 117 | + | |
76 | 118 | | |
77 | 119 | | |
78 | 120 | | |
| 121 | + | |
| 122 | + | |
79 | 123 | | |
80 | 124 | | |
81 | 125 | | |
| |||
92 | 136 | | |
93 | 137 | | |
94 | 138 | | |
95 | | - | |
| 139 | + | |
96 | 140 | | |
97 | 141 | | |
98 | 142 | | |
| |||
205 | 249 | | |
206 | 250 | | |
207 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
7 | 45 | | |
8 | 46 | | |
9 | 47 | | |
| |||
15 | 53 | | |
16 | 54 | | |
17 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
18 | 59 | | |
19 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
20 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
21 | 102 | | |
22 | | - | |
| 103 | + | |
23 | 104 | | |
24 | 105 | | |
25 | 106 | | |
26 | 107 | | |
27 | 108 | | |
28 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
29 | 116 | | |
30 | 117 | | |
31 | 118 | | |
| |||
0 commit comments