Commit Graph

1001 Commits

Author SHA1 Message Date
Masataka SUMI
2e3a60f81e Ignore using Task<T>.Wait() 2024-07-28 19:23:07 +09:00
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
b852819b70 error message 2024-07-25 14:07:36 +09:00
ousttrue
be20563059 GetComponent を置き換え。
TryGetComponent
GetComponentOrThrow(拡張関数)
GetComponentOrNull(拡張関数)

sample と test は据え置き
2024-07-24 22:09:30 +09:00
Masataka SUMI
47681f7677 Merge branch 'master' of https://github.com/vrm-c/UniVRM into disassemblyVrmShaders6 2024-07-23 20:00:33 +09:00
ousttrue
2f38b0a902 UniVRM-0.124.2 2024-07-23 12:41:47 +09:00
Masataka SUMI
e9da5e2b7b mv VRMShaders namespace to UniGLTF 2024-07-20 23:47:45 +09:00
Masataka SUMI
d0dcdf09fc UniHumanoid can't depends on UniGLTF 2024-07-20 23:20:37 +09:00
Masataka SUMI
5f8c930031 mv AwaitCaller definitions from VRMShaders to UniGLTF 2024-07-20 23:14:40 +09:00
Masataka SUMI
00c74f684f mv top level IO definitions from VRMShaders to UniGLTF 2024-07-20 23:13:34 +09:00
Masataka SUMI
5cdec669a0 mv TextureIO from VRMShaders to UniGLTF 2024-07-20 23:08:55 +09:00
Masataka SUMI
45cb2a04fe mv MaterialIO from VRMShaders to UniGLTF 2024-07-20 23:00:12 +09:00
Masataka SUMI
246e926b95 mv AnimationIO from VRMShaders to UniGLTF 2024-07-20 22:55:53 +09:00
ousttrue
2b4f4bc343 とりあえず ILogHandler に対応。更なる拡張は使うときに。 2024-07-16 16:18:26 +09:00
ousttrue
42a3014e7a UniGLTFLogger を追加
[System.Diagnostics.Conditional("VRM_DEVELOP")] により呼び出しが消滅する。
2024-07-16 15:48:50 +09:00
Masataka SUMI
7be5a204f3 maintain ExtensionSupportFlags when migrating a vrm0.x model. 2024-07-11 00:07:30 +09:00
ousttrue
eec1a275d0 UniVRM-0.124.1 2024-07-04 13:50:16 +09:00
ousttrue
54e2629ce6 avoid -1 in skin.joints 2024-07-03 21:10:04 +09:00
ousttrue
f1fb4cc7ea bake 時に SkinnedMeshRenderer.bones に null が含まれていても通す 2024-07-03 21:07:15 +09:00
ousttrue
ae8541e3d6 skinning で使っているボーンを削除してから export したときの import error の修正 2024-07-03 21:02:52 +09:00
ousttrue
727945c8f6 boneWeights コピー忘れ 2024-07-03 19:34:50 +09:00
ousttrue
4f94362b56 UniVRM-0.124.0 2024-06-25 13:41:57 +09:00
ousttrue
b69a58997e keep BlendShape normal 2024-06-24 20:26:13 +09:00
ousttrue
a0ea3ad2e5 cleanup 2024-06-24 17:54:14 +09:00
ousttrue
85bfe4bcd1 fix blendshape bake.
簡単になるように処理順をみなおし。

            var mesh = src.sharedMesh.Copy(false, ".baked");
            src.BakeMesh(mesh);
            CopyBlendShapes(src, mesh);

            var m = Matrix4x4.TRS(Vector3.zero, src.transform.rotation, Vector3.one);
            mesh.ApplyMatrixAlsoBlendShapes(m); // 最後の一回だけまとめて matrix を適用する
2024-06-24 17:39:27 +09:00
ousttrue
999714e372
Merge pull request #2316 from ousttrue/version/v0_123_0
UniVRM-0.123.0
2024-06-08 01:11:55 +09:00
ousttrue
e7d850f51d use DefaultMaterial if gltfPrimitive.material is not exists or -1 2024-06-07 18:19:01 +09:00
ousttrue
3a754d7114 UniVRM-0.123.0
Sample更新あり。
2024-06-07 17:07:10 +09:00
ousttrue
33d8d42516 glTFPrimitives.material を int? に変更 2024-06-07 17:02:55 +09:00
Masataka SUMI
645e254744 load KHR_texture_basisu as default (but not implemented now) 2024-06-04 17:32:43 +09:00
shino
d29adf0a9d No access to mesh.vertices and mesh.normals and use the arrays around 2024-05-31 19:10:01 +09:00
shino
12df224409 Change Aggregate to AccessorsBounds.UpdatePositionAccessorsBounds 2024-05-31 19:05:19 +09:00
ousttrue
bcafcfd4a9 UniVRM-0.122.0 2024-05-10 15:09:56 +09:00
ousttrue
469c973a04
Merge pull request #2281 from Santarh/materialDescriptorGeneratorDetemine
If MaterialDescriptorGenerator is not specified, automatically determine it.
2024-04-30 19:43:30 +09:00
Masataka SUMI
9ce2304a53 If MaterialDescriptorGenerator is not specified, automatically determine it. 2024-04-30 16:35:48 +09:00
Masataka SUMI
578ad66c78 Define ExtensionSupportFlags for KHR_texture_basisu 2024-04-30 16:09:12 +09:00
ousttrue
3e0c24c0e0 UniVRM-0.121.0 2024-03-19 19:06:40 +09:00
ousttrue
adab235990 impl FreezeMesh for glTF export 2024-03-08 16:04:04 +09:00
ousttrue
38d4f3e69b sample 更新ひとつあり。 2024-02-29 20:25:09 +09:00
ousttrue
a552230f4c headless mesh を destroy 対象に追加する 2024-02-26 16:12:06 +09:00
ousttrue
276ff8cbf8 UniVRM-0.119.0 2024-02-08 20:54:55 +09:00
ousttrue
ffcf2095ee
Merge pull request #2240 from ousttrue/fix/normalize_blendshape_with_root_scaling
hierarchy にスケーリングがある場合の blend shape の正規化修正
2024-02-08 20:50:33 +09:00
ousttrue
2feda7742b
Merge pull request #2237 from ousttrue/fix/integrate_blendshape_weight_1_100
[MeshUtility] 統合時のblendshapeweight定数の修正
2024-02-08 17:05:54 +09:00
ousttrue
c115ed87f1 うーん 2024-02-08 16:47:08 +09:00
ousttrue
7e07c5806e blendshape rotation scaling がまとめて処理される
blendshape を除外するには処理前にすべて 0 に戻す処理が必要。
前はやっているところもあったのだけど、
undo とか事後に値を復帰させるか否かなど、
選択肢とトレードオフがあります。
2024-02-05 16:41:16 +09:00
ousttrue
12db3507be rotation もしくは scaling だけを freeze するのは難しかった。
両方やるかやらないかに修正。
2024-02-05 16:21:30 +09:00
ousttrue
6978be42b4 unity frameWeight is 100 2024-02-05 15:39:56 +09:00
ousttrue
1c92ebbd52 UniVRM-0.118.0 2024-01-23 18:48:35 +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