Commit Graph

68 Commits

Author SHA1 Message Date
ousttrue
6ff6202020 manipulate expression override / binary runtime 2024-10-21 19:13:10 +09:00
ousttrue
6f76beefbc show override 2024-10-21 19:13:10 +09:00
ousttrue
0b6c8cbbf8 impl expression slider 2024-10-21 19:13:10 +09:00
ousttrue
5b87a38a33 FaceCamera 2024-10-21 19:13:10 +09:00
ousttrue
33639f5b41 yawpitch 2024-10-21 19:13:10 +09:00
ousttrue
8fa86383ff expression UI 2024-10-21 19:13:10 +09:00
ousttrue
46e65700b2 SupportsScalingAtRuntime の実装
#2420
2024-10-04 16:34:25 +09:00
ousttrue
896051ced2 VRM10_Samples/VRM10Viewer BlittableModelLevel ui 2024-10-04 13:24:49 +09:00
ousttrue
f643f2befd BlittableExternalData to BlittableModelLevel 2024-10-03 19:42:33 +09:00
ousttrue
c2e203bc0b Vrm10FastSpringboneRuntimeStandalone 2024-09-20 16:59:23 +09:00
Masataka SUMI
aa20ab6479 VRM10Viewer supports both Built-in and URP 2024-07-23 21:13:52 +09:00
Masataka SUMI
e9da5e2b7b mv VRMShaders namespace to UniGLTF 2024-07-20 23:47:45 +09:00
ousttrue
a9d645d4ff impl Vrm10RuntimeSpringBone.RestoreInitialTransform 2024-07-18 18:46:25 +09:00
ousttrue
3a37f35883 Vrm10Runtime から SpringBone 関連を Vrm10RuntimeSpringBone に分離 2024-07-18 18:46:25 +09:00
ousttrue
5b47fab89f SpringBonePaused to IsSpringBoneEnabled. invert boolean 2024-07-18 18:46:25 +09:00
ousttrue
af9e18c09c add BlittableExternalData.Paused 2024-07-18 18:46:25 +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
9dc2802621 add ErrorHandling for vrma importer 2024-01-19 15:29:45 +09:00
ousttrue
3b08cccc06 VRMVersion を VRMSpecVersion にリネーム 2023-10-20 17:54:02 +09:00
ousttrue
ba77522f62 rename TPose to Vrm10TPose 2023-08-21 17:03:18 +09:00
ousttrue
1d05e845c9 sample の retarget を更新。
TPose を表現する empty クラスを追加。
2023-08-21 16:25:49 +09:00
ousttrue
7cab5161fa UniVRM10.VRM10Viewer.VrmAnimation to UniVRM10.Vrm10PoseLoader 2023-08-17 14:58:50 +09:00
ousttrue
00641d4720 naming 2023-08-16 14:58:40 +09:00
ousttrue
27b284bdb6 move Retarget to API 2023-08-16 13:53:54 +09:00
ousttrue
1baf2e5e7d VrmAnimation の Expression 実装を、透明な transform の x 座標を転用するのをやめて、
AnimationClip に普通の float curve として格納する様に変更した。

VrmAnimationInstance の public field と連動する。
2023-08-08 18:53:32 +09:00
ousttrue
85db9bd2cd pose to Motion 2023-06-27 16:06:24 +09:00
ousttrue
699d1bf381 copy pose 2023-06-22 18:09:40 +09:00
ousttrue
0cd565fb85 Add ArgumentChecker. Hide boxman when loaded 2023-06-08 14:20:52 +09:00
ousttrue
c6d226304c 仕様に準じて、参照ノードの position.x を expression weight に適用しています。
humanoid が null で expression のみを格納したとき向けの nullcheck を追加。
2023-04-07 16:16:19 +09:00
ousttrue
b98ceda13d fix copyright 2023-03-07 19:50:25 +09:00
ousttrue
655adf3c8d vrm spec 更新。InitRotationPoseProvider 修正。ENDSITE 対策 2023-03-02 19:54:37 +09:00
ousttrue
29e885c0d7 生成コード UniGLTF.Extensions.VRMC_vrm_animation.GltfDeserializer.Deserialize 動いた 2023-02-28 19:21:56 +09:00
ousttrue
a310e2dcf5 rename NormalizedPoseProvider to AnimatorPoseProvider. fix Bvh height 2023-02-21 17:21:50 +09:00
ousttrue
0502f30588 use VRM10Retarget.Retarget 2023-02-21 15:43:15 +09:00
ousttrue
9659354e9f API変更時の修正ミス 2023-02-15 17:01:40 +09:00
Masataka SUMI
62085d255a rename vrm10 material importer class names 2022-11-10 21:41:01 +09:00
Masataka SUMI
9f16a268a6 rename 2022-11-10 21:26:02 +09:00
ousttrue
f0d6af93c5 hide box man 2022-11-09 15:08:23 +09:00
ousttrue
8c078c82ae コマンドライン引き数のエラーを防止 2022-11-09 14:38:22 +09:00
Masataka SUMI
0255f17ca5 Remove warning code & suppress file size in Resources 2022-11-03 17:40:58 +09:00
ousttrue
85f4e22a98 typo 2022-10-04 17:55:49 +09:00
ousttrue
b0e20b95e4 Revert "typo rename UnityObjectDestoyer to UnityObjectDestroyer"
This reverts commit a8d5704a0f.
2022-10-03 18:09:05 +09:00
ousttrue
6e377b0543 UpdateControlRigImplicit
v0.104 仕様の ControlRig 例
2022-10-03 18:06:40 +09:00
ousttrue
a8d5704a0f typo rename UnityObjectDestoyer to UnityObjectDestroyer 2022-10-03 17:56:36 +09:00
ousttrue
2c300fd26e VRM10Viewer/VRM10ViewerUI.Loaded を別ファイルに分離 2022-10-03 17:55:27 +09:00
Masataka SUMI
12ac6e372e Apply localPosition while bvh motion transfer in VRM10 Viewer. 2022-09-07 16:44:43 +09:00
Masataka SUMI
0dfa783406 mv CachedEnum namespace to UniGLTF.Utils 2022-09-07 15:59:35 +09:00
Masataka SUMI
29163a43b1 Use CachedEnum 2022-09-07 15:38:02 +09:00
Masataka SUMI
f8fe9daa1e Remove the VRM 1.0 importer option about the normalization of node transforms. 2022-09-07 14:19:04 +09:00