Commit Graph

93 Commits

Author SHA1 Message Date
ousttrue
3653a8f43d VRM10 ModelExporter use GltfExportSettings 2024-11-08 18:33:47 +09:00
ousttrue
6ff6202020 manipulate expression override / binary runtime 2024-10-21 19:13:10 +09:00
ousttrue
cb1e08e77e camera to forward 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
53ba0e326a remove leftDrag from camera 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
0b08507f7a IVrm10SpringBoneRuntime.InitializeAsync 2024-09-24 14:37:31 +09:00
ousttrue
c2e203bc0b Vrm10FastSpringboneRuntimeStandalone 2024-09-20 16:59:23 +09:00
ousttrue
ee61629c1a sample の URP 対応 2024-08-30 14:47:27 +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
44d2f2a926 LookAtInput を導入。LookAt.Process を整理。値の取得 => 位置ベースの場合に角度に解決 の2ステップ。
obsolete 削除
2023-08-18 15:51:59 +09:00
ousttrue
7cab5161fa UniVRM10.VRM10Viewer.VrmAnimation to UniVRM10.Vrm10PoseLoader 2023-08-17 14:58:50 +09:00
ousttrue
8408d3cbb0 rename
extensions.VRMC_vrm_animation.extensions.VRMC_vrm_pose

to

extensions.VRMC_vrm_animation.extras.UNIVRM_pose
2023-08-17 14:05:02 +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
dd53f1382d localPosition の間違い 2023-07-04 16:41:29 +09:00
ousttrue
29ccee467e VRMC_vrm_pose への仕様変更 2023-07-03 14:20:03 +09:00
ousttrue
7961a2ad36 x-reverse 2023-06-27 16:18:38 +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
77ecdc2d55 VrmAnimationImporter create VrmAnimationInstance 2023-06-14 17:00:25 +09:00
ousttrue
464a5c8953 VrmAnimationInstance 2023-06-14 16:45:42 +09:00
ousttrue
122f15fc42 VrmAnimationImporter 2023-06-14 16:23:54 +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
4b1991de7d vrm-1.0 runtime export sample 2023-03-09 19:20:32 +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
ef80237782 ITPoseProvider を縮小。EuclideanTransform 導入 2023-02-27 18:51:09 +09:00
ousttrue
d329e3cb89 ITPoseProvider を修正
* bone, parent
* Quaternion?, Vector3? にして throw しない
* Vrm10RuntimeControlRig のインターフェース実装でない property を削り
2023-02-27 15:33:51 +09:00
ousttrue
dbe33c3c1e 次の修正で使う。いったん削除 2023-02-21 17:35:38 +09:00