Commit Graph

37 Commits

Author SHA1 Message Date
ousttrue
7ef4f50558 Humanoid.Get_GetBoneTransform を追加
Animator.GetBoneTransform のために GetComponent しているところの Export Error を修正するついでに、
Animator.GetBoneTransform と Humanoid.GetBoneTransform 両対応とした(vrm-0.x と vrm-1.0 両方)。
2024-07-25 14:28:59 +09:00
ousttrue
be20563059 GetComponent を置き換え。
TryGetComponent
GetComponentOrThrow(拡張関数)
GetComponentOrNull(拡張関数)

sample と test は据え置き
2024-07-24 22:09:30 +09:00
Masataka SUMI
d0dcdf09fc UniHumanoid can't depends on UniGLTF 2024-07-20 23:20:37 +09:00
ousttrue
42a3014e7a UniGLTFLogger を追加
[System.Diagnostics.Conditional("VRM_DEVELOP")] により呼び出しが消滅する。
2024-07-16 15:48:50 +09:00
ousttrue
c74440086b add VRMShaders dependency to UniHumanoid.asmdef 2024-01-23 13:15:48 +09:00
ousttrue
9dc2802621 add ErrorHandling for vrma importer 2024-01-19 15:29:45 +09:00
ousttrue
fb7cb163b1 fix VrmMeshIntegratorWizard.WriteAssets 2023-12-04 17:55:36 +09:00
ousttrue
171cdef7d1 fix RecreateAvatar ??? 2023-11-27 21:29:32 +09:00
ousttrue
0f62aeffa1 impl inplace MeshFreeze and MeshIntegration 2023-10-27 16:18:07 +09:00
ousttrue
787dada27e AvatarDescription.AddAnimator to CreateAvatarForCopyHierarchy 2023-10-26 14:56:23 +09:00
ousttrue
ced5dc8918 implement FreezeScaling 2023-10-25 21:50:06 +09:00
ousttrue
5049f62941 add finger 2023-07-03 18:38:05 +09:00
ousttrue
cc34d52846 LogWarning 2023-04-10 13:33:42 +09:00
ousttrue
51f3c1919b AvatarBuilder.BuildHumanAvatar の呼び出しがもう一か所あった。 2023-04-10 13:20:05 +09:00
ousttrue
a37ae733f6 AddComponent HumanPoseTransfer 2023-03-13 15:39:59 +09:00
ousttrue
ced136d1d8 ForceUniqueName を ToHumanDescription の外に追い出し。 2023-03-06 18:36:09 +09:00
ousttrue
c28bdcd212 revert 2023-03-06 18:30:04 +09:00
ousttrue
b108199bf3 UniqueName to GlbLowLevelParser 2023-03-06 17:52:16 +09:00
ousttrue
82ef3edd71 UniqueName 2023-03-03 13:20:02 +09:00
ousttrue
3160585713 box man bindposes 2023-03-03 13:03:04 +09:00
ousttrue
4144b91b10 new box man 2023-03-02 22:43:46 +09:00
ousttrue
655adf3c8d vrm spec 更新。InitRotationPoseProvider 修正。ENDSITE 対策 2023-03-02 19:54:37 +09:00
ousttrue
1bd8cc4e63 Bvh.cs を分割 2023-02-22 21:08:26 +09:00
ousttrue
a310e2dcf5 rename NormalizedPoseProvider to AnimatorPoseProvider. fix Bvh height 2023-02-21 17:21:50 +09:00
ousttrue
6dd2bb38cc IControlRigGetter と IControlRigSetter を追加
add ControlRigRetarget
impl InitialRotationRigGetter.cs
impl NormalizedRotationRigGetter.cs
mv Assets/Vrm10/Runtime/ControlRig/Vrm10ControlBone.cs => Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10ControlBone.cs
mv Assets/VRM10/Runtime/ControlRig/InitialRotations/ControlRigGenerationOption.cs => Assets/VRM10/Runtime/Components/Vrm10Runtime/ControlRigGenerationOption.cs
rename Vrm10BoneInitialRotation => BoneInitialRotation
remove Vrm0XCompatibleRig.cs
2023-02-20 15:49:50 +09:00
Masataka SUMI
0255f17ca5 Remove warning code & suppress file size in Resources 2022-11-03 17:40:58 +09:00
ousttrue
f33b8dbb46 ヒューマノイドボーン割り当て補助
1番目の子孫GameObjectがヒューマノイドの子孫であると見做して自動代入(指とか、足など枝分かれしないところの簡易な補助)
2022-10-26 14:24:39 +09:00
ousttrue
1ef079ca58 コメント追加。Enum.Parse を初期化に移動。 2022-09-15 12:52:56 +09:00
ousttrue
a0ad60240b コード整理 2022-09-14 20:42:45 +09:00
ousttrue
84aee423ac use HumanBodyBones 2022-09-14 20:33:10 +09:00
ousttrue
db33257326 AvatarBuilder.BuildHumanAvatar には隠れたボーン名 HumanTrait.BoneName が必用
HumanBodyBones.ToString != HumanTrait.BoneName であることに注意(指のみ。Space)
2022-09-14 20:05:55 +09:00
Takayuki Matsuoka
e7408fe93d
Merge branch 'vrm-c:master' into optimize-bonelimit-tohumanbonename 2022-09-07 16:57:59 +09:00
Takayuki Matsuoka
aac707d187 Optimize UniHumanoid.BoneLimit.ToHumanBoneName
This change optimizes the following points:

(1) Replace linear search for "cashedHumanTraitBoneName" with Dictionary.
(2) Avoid GC alloc in the inner loop.
(2a) Do b.ToString() at the outside of the loop.
(2b) Do x.Replace(" ", "") at once in the static constructor of BoneLimit.
2022-09-07 16:56:46 +09:00
Masataka SUMI
0dfa783406 mv CachedEnum namespace to UniGLTF.Utils 2022-09-07 15:59:35 +09:00
Masataka SUMI
b986130817 Create an asmdef named UniGLTF.Utils 2022-09-07 15:53:59 +09:00
ousttrue
64f5a05bc3 Vrm10FkRetarget 2022-08-23 15:06:19 +09:00
ousttrue
29545202d3 UniHumanoid のフォルダ構成を整理し、不要になった asmdef を削除した。Resource/test_motion.txt の場所が変更になるのに注意。
* Assets/UniHumanoid/Scripts => Assets/UniGLTF/Runtime/Humanoid
* Assets/UniHumanoid/Editor => Assets/UniGLTF/Editor/Humanoid
* Assets/UniHumanoid/Editor/Tests => Assets/UniGLTF/Tests/Humanoid
* => docs/unihumanoid/index.md
2021-12-06 16:22:25 +09:00