Commit Graph

49 Commits

Author SHA1 Message Date
ousttrue
8fa86383ff expression UI 2024-10-21 19:13:10 +09:00
ousttrue
08c9aa57fd FreezeMesh(正規化) の subOption として FreezeMeshUseCurrentBlendShapeWeight を整理 2024-10-21 15:24:00 +09:00
ousttrue
fc117b8332 IVrm0XSpringBoneRuntime の実装
SpringboneRuntime を介した reset, reconstruct, scaling係数オプション, externalForce, 一時停止(FastSpringboneのみ)
の操作を実装
2024-10-08 17:07:06 +09:00
ousttrue
51b51f7bf9 0x to 0X 2024-09-19 16:43:19 +09:00
ousttrue
612e04c8e1 rename. prefix to Vrm0x 2024-09-19 15:06:08 +09:00
ousttrue
ee3ce66034 IVRM0SpringBoneRuntime 2024-09-19 14:35:05 +09:00
ousttrue
c584f2850f go.AddComponent<Animator>() が既存で失敗する対策 2024-09-06 14:24:08 +09:00
ousttrue
e7b4c6106f MakeBufferAsync 2024-09-05 17:19:38 +09:00
ousttrue
f83c8260ab Unregister 呼んでなかった 2024-09-05 16:55:12 +09:00
ousttrue
0f191e5e8f vrm-0.x の fastspringbone の処理は、 vrm-1.0 版と同じものを使う 2024-09-05 15:27:29 +09:00
Masataka SUMI
e9da5e2b7b mv VRMShaders namespace to UniGLTF 2024-07-20 23:47:45 +09:00
shino
05a1823c37 Fix compile errors at build time 2024-05-31 18:46:38 +09:00
Isamu Mogi
698a4dbc8e Unity2022.2.4以下と2021.3.17以下でFindObjectBy系APIが存在しないのに対応
FindObjectsBy系のAPIは、UniVRMがサポートしているUnityのうち、次の範囲のバージョンには存在しない。

- 2021.3.0~2021.3.17
- 2022.1.0~2022.1.24
- 2022.2.0~2022.2.4

そのため、該当するバージョンのUnityではコンパイルエラーが発生していた。UNITY_2022_3_OR_NEWERで分岐することで、旧APIと新APIを安全に選択するようにした。

厳密にはUNITY_2022_2_5_OR_NEWERを用いたいが、そのようなシンボルは存在していなかった。
2024-05-14 20:15:56 +09:00
Isamu Mogi
018aec1fab Unity2023.1以降でFindObjectsOfType系APIがObsolete警告を出すのに対応
Unity 2023.1以降のバージョンでUnityEngine.Object.FindObjectsOfType系APIがObsoleteになり、次の警告が発生していました。

```
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(250,24): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(208,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not.  FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
```

代わりにFindObjectsBy系APIを使うようにしました。これはUnity 2021.3にも存在しているので、そのまま使うことができました。

FindObjectOfType()とFindFirstObjectByType()の違いに関してはドキュメントからは読み取れませんでしたが、
Unity-Technologiesgが公開しているUnity 6000のソースコードを見る限り、動作は同一に見えるためそのまま置き換えました。

https://github.com/Unity-Technologies/UnityCsReference/blob/6000.0/Runtime/Export/Scripting/UnityEngineObject.bindings.cs#L586-L602
2024-05-08 03:48:25 +09:00
ousttrue
30f893fa1b avatar 代入の workaround 2024-01-05 15:08:43 +09:00
ousttrue
8ff3faa857 rename UniVrmPackageVersion to PackageVersion 2023-10-20 19:16:20 +09:00
ousttrue
443e0048bd VRMVersionをリネームして場所移動。VRM10から参照できるようになる。 assets.generator に使う。 2023-10-20 18:10:42 +09:00
thoxey
efa33106c7 Implement the change in the VRM10 importer and show where it could be used elsewhere
in my local version of UniVRM I have the change I made, and will leave other changes to your discretion
2023-07-25 12:24:18 +01:00
ousttrue
88b4a79772 add ArgumentChecker 2023-06-08 14:23:08 +09:00
ousttrue
a37ae733f6 AddComponent HumanPoseTransfer 2023-03-13 15:39:59 +09:00
ousttrue
1bdf003ee1 BvhImporterContext did not create BoxMan and HumanPoseTransfer 2023-03-13 15:33:23 +09:00
Masataka SUMI
77e87eba38 rename vrm material importer class names 2022-11-10 21:38:36 +09:00
Masataka SUMI
9f16a268a6 rename 2022-11-10 21:26:02 +09:00
Masataka SUMI
0255f17ca5 Remove warning code & suppress file size in Resources 2022-11-03 17:40:58 +09:00
ousttrue
bf5eee2fba fix EditorUtility.OpenFilePanel 2022-10-24 14:57:55 +09:00
ousttrue
717ff82f1d コード整理
* glb/gltf ロード機能をオミット => GltfViewer を参照
* inner class SimpleViewer.Loaded を別ファイルに分離
* FileDialog を別フォルダに分離
2022-10-03 16:41:21 +09:00
Masataka SUMI
64d62bb651 fix vrm sample 2022-09-12 22:05:01 +09:00
ousttrue
3d1303759d add LoadPathAsync 2022-09-08 18:50:37 +09:00
Masataka SUMI
b986130817 Create an asmdef named UniGLTF.Utils 2022-09-07 15:53:59 +09:00
ousttrue
4e6f66e5d9
Merge pull request #1756 from vrm-c/webgl_build
WebGLの動作確認
2022-08-30 20:00:01 +09:00
ousttrue
2efcf65e60 LoadBytesAsync 2022-08-22 13:00:05 +09:00
mkc1370
8df51422ef add null check 2022-07-29 20:16:17 +09:00
ousttrue
1ca7a8684d WebGLの動作確認用 2022-07-26 14:30:51 +09:00
ousttrue
eca75c54a4 ImporterContext.LoadAnimation 2022-06-27 20:39:11 +09:00
ousttrue
f3ab679da8 ビルドエラー(runtime への UnityEditor 漏れ出し)を修正 2022-05-31 13:13:03 +09:00
ousttrue
d4609bc2c7 fix 2022-05-19 15:48:51 +09:00
ousttrue
5fd867a1e3 rename 2022-05-19 15:45:03 +09:00
ousttrue
4cf1284576 add AssginAllBlendShapesInAFolder 2022-05-19 15:32:26 +09:00
ousttrue
999cb12e53 rename 2022-05-19 14:29:57 +09:00
ousttrue
eec6b51e15 BlendShape を作って登録するサンプル 2022-05-19 14:13:44 +09:00
ousttrue
ab4f6231b1 update export sample 2022-05-18 18:24:34 +09:00
ousttrue
f8ee8df058 Replace uGui to imgui in RuntimeExporterSample 2022-05-18 17:53:02 +09:00
ousttrue
faebd43771 remove awaitCaller ?? new ImmediateCaller()
上流の awaitCaller を下流に使ってないことも修正
2022-02-21 16:47:44 +09:00
ousttrue
6dc449a61d use VrmUtility 2022-01-25 20:02:15 +09:00
ousttrue
dbdb989dad use VrmUtility 2022-01-25 20:00:14 +09:00
ousttrue
7a0e105f61 HighLevel API
とりあえず
2022-01-25 19:55:11 +09:00
ousttrue
8ea504653e use RuntimeOnlyAwaitCaller 2021-10-18 18:45:23 +09:00
ousttrue
b91eb724d3 remove meta 2021-10-18 18:44:23 +09:00
ousttrue
e95ff88c38 copy Samples~ to under Assets 2021-10-14 19:28:31 +09:00