Commit Graph

4322 Commits

Author SHA1 Message Date
AoiKamishiro
e477cf9fdf 未使用usingの削除 2025-07-01 11:51:05 +09:00
AoiKamishiro
3f9301824d BlittableTransformのアライメント最適化 2025-07-01 11:50:58 +09:00
AoiKamishiro
54b8c0caf1 BlittableSpringのアライメント最適化 2025-07-01 11:25:19 +09:00
AoiKamishiro
cf488a6524 可読性の向上 2025-07-01 10:21:54 +09:00
AoiKamishiro
f92ee46451 BlittableTransformの最適化 2025-07-01 09:59:08 +09:00
AoiKamishiro
46f9d6b52d 演算処理をMathHelperへ移行 2025-07-01 09:59:08 +09:00
AoiKamishiro
da1bdcb728 Mathematicsパッケージ演算をユーティリティクラスに分離 2025-07-01 09:59:08 +09:00
AoiKamishiro
022e23b6d5 BlittableTransformの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
e5f6819b6d BlittableSpringの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
a447433f5c BlittableSpanの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
4cf52f7b31 BlittableModelLevelの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
6c741cf348 BlittableJointMutableの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
e1bded5bd0 BlittableJointImmutableの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
24f5b10a63 BlittableColliderの最適化 2025-06-30 02:40:04 +09:00
AoiKamishiro
8ff75be0f5 mathematicsパッケージの参照追加 2025-06-30 02:40:04 +09:00
AoiKamishiro
9b485510fb SpringBoneJobsアセンブリのBurst対応追加 2025-06-30 02:40:03 +09:00
notargs
a5042629d7 名前を揃えるように変更 2025-06-26 21:42:45 +09:00
notargs
498fb59e1c コメントを更新 2025-06-26 21:26:14 +09:00
notargs
21155c332f RuntimeImportの際はmaterialを複製しないように修正 2025-06-26 21:23:16 +09:00
notargs
70c0c40fb8 TODOを追記 2025-06-26 21:05:07 +09:00
notargs
3dd21ea354 Disposeを追記 2025-06-26 19:15:17 +09:00
notargs
176ac7edf6 MaterialValueBindingMergerについて、sharedMaterialsではなくmaterialsを使用するように変更 2025-06-26 19:08:11 +09:00
ousttrue
e12f875bb3 UniVRM-0.129.2 2025-06-20 13:24:10 +09:00
ousttrue
86b13deb18 Unity-2022.3.52f1 2025-06-20 13:21:48 +09:00
ousttrue
736740c157 UniVRM-0.130.0 2025-06-12 13:06:30 +09:00
ousttrue
56c2094b8a
Merge branch 'master' into avoid-toarray 2025-06-11 15:49:38 +09:00
ousttrue
dab2e2de3f nullcheck つきの初期姿勢 2025-06-05 12:46:02 +09:00
ousttrue
8a35b6db58 compatibility mode is off 2025-05-28 17:49:51 +09:00
ousttrue
6373c8eb73 Unity6.0で開いて変わったところ 2025-05-28 14:46:23 +09:00
matsutaka
8503e3c6c9 chore: ImportMeshIndependentVertexBufferのGC Allocを削減
以下のようなListへの追加処理について
blendShape.Positions.AddRange(array.Select(...).ToArray())
.ToArray() および AddRange() によって大量の GC Alloc が発生する場合がある。

これを軽減するため、以下のような変更を行う
(1) .ToArray() を削除
(2) List の Capacity を事前に算出し、AddRange 時の GC Alloc を削減
(3) BlendShape の position, normal, tangents の Capacity を独立して指定できるコンストラクタを追加
2025-05-28 13:26:19 +09:00
ousttrue
926fb460cf
Merge branch 'master' into mtoonVisualArtifact 2025-05-28 12:35:30 +09:00
Masataka SUMI
d7a2ddf9dc
fix(tangent): binarize tangent.w to ±1 to prevent NaNs and artifacts
Unity’s Mesh.RecalculateTangents() sometimes generates triangles whose
three vertices disagree on tangent.w (+1 vs –1). The mixed values are
linearly interpolated in the fragment shader; at the midpoint w≈0,
bitangent normalization hits a divide-by-zero, producing NaNs and
visible glitches (notably on Android GPUs).
2025-05-15 23:38:06 +09:00
ousttrue
d113c030a2 UniVRM-0.129.1 2025-05-15 15:04:49 +09:00
ousttrue
b1f14473b8
Merge branch 'master' into fix/strictry_empty 2025-05-15 15:02:35 +09:00
ousttrue
b2c38ee585
Merge branch 'master' into reuse-positions 2025-05-15 15:00:29 +09:00
ousttrue
766d2f2cae "com.unity.test-framework": "1.4.6"
from "com.unity.feature.development": "1.0.1"
2025-05-15 14:52:17 +09:00
matsutaka
95023ed299 chore: Reuse positions to eliminate redundant ToArray()
Since local variable positions[] always contains valid result of
blendShape.Positions.ToArray(), we can reuse it to eliminate
redundant ToArray() which also causes extra GC Alloc.

ローカル変数 positions[] は常に正しい blendShape.Positions.ToArray() の
結果を保持しているので、これを再利用することで余分な ToArray() および
GC Alloc を抑制することができます。
2025-05-15 10:43:42 +09:00
ousttrue
271d2ae6b6 生成元を修正 2025-05-14 13:27:55 +09:00
ousttrue
7e819b8019 RuntimeGltfInstance が無い場合に NullReferenceException を修正 2025-05-12 19:54:56 +09:00
ousttrue
42dbc61b91 dependencies for empty Packages\manifest.json 2025-05-12 16:08:56 +09:00
ousttrue
eebb197577
Merge branch 'master' into vrm0SpringBoneEditorFeature 2025-05-09 15:48:44 +09:00
Masataka SUMI
202246628f
add menu in VRM0.X SpringBone ColliderGroup 2025-05-03 02:07:34 +09:00
Masataka SUMI
0ade61d0c3
Revert Handle Gizmo in VRM0X SpringBone Collider Group 2025-05-03 02:00:08 +09:00
Tiger Tang
fa81fb5e36 Fix NativeArrayManager compatibility with Unity 2022.1 and older versions 2025-04-29 04:38:13 -07:00
ousttrue
b328fd8cf4
Merge branch 'master' into fix/constraint_initialize 2025-04-24 14:15:55 +09:00
ousttrue
a94a46cb58 rename to ConstraintTarget and ConstraintSource 2025-04-24 13:32:31 +09:00
ousttrue
e9c9cb7cf1 use RuntimeGltfInstance.InitialTransformStates 2025-04-22 16:57:51 +09:00
ousttrue
54a67398bb sample copy 2025-04-18 13:05:16 +09:00
ousttrue
fb61725087 UnityDefaultRuntimeTheme.tss 2025-04-18 13:02:00 +09:00
ousttrue
3a82698b3e sample copy 漏れ 2025-04-17 20:31:26 +09:00