Commit Graph

4307 Commits

Author SHA1 Message Date
notargs
dfd5eceae5 マテリアルが正常に開放されていない問題を修正 2025-08-07 13:25:04 +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
ousttrue
167498852e ForceGltfNodeUniqueName 2025-04-17 20:07:26 +09:00
ousttrue
ea826146e6 node rename 作り直し。parse 終了時に rename が完了している方がよい。
vrm-0.x, vrm-1.0, vrma に対して実装した。
2025-04-17 19:23:33 +09:00
ousttrue
81f74e1e7f Revert "Merge pull request #2637 from ousttrue/fix/node_name_unique"
This reverts commit ed5988e25a, reversing
changes made to cc1f8c0fc9.

# Conflicts:
#	Assets/UniGLTF/Runtime/UniGLTF/IO/GltfData.cs
#	Assets/UniGLTF/Runtime/UniGLTF/IO/GltfDuplicatedNameConversionRule.cs
#	Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContext.cs
2025-04-17 18:10:34 +09:00
ousttrue
d3d41ad55c fix comment 2025-04-17 16:09:58 +09:00
ousttrue
6ead0f2099 GltfDuplicatedNameConversionRule.FixNames 2025-04-17 15:33:16 +09:00
ousttrue
67e620bb25 GltfDuplicatedNameConversionRule.FixTextureNameUnique 2025-04-17 15:25:38 +09:00
ousttrue
89ccdfece5 fix RestoreOlderVersionValues 2025-04-17 15:23:06 +09:00
ousttrue
93abcc8c68 UniVRM-0.129.0 2025-04-17 15:02:47 +09:00
ousttrue
68ad0e9a68
Merge branch 'master' into fix/force_unique_name 2025-04-17 15:00:04 +09:00
ousttrue
2889ece0c2
Merge branch 'master' into fix/node_name_unique 2025-04-17 14:24:23 +09:00
ousttrue
58e0084c39 IAwaitCaller, GltfDuplicatedNameConversionRule, children != null 2025-04-17 14:03:54 +09:00
ousttrue
e1c6758afc ForceTransformUniqueName.Process 2025-04-17 03:13:22 +09:00
ousttrue
84248730d5 BuildHumanAvatarFromMap の中で ForceTransformUniqueName.Process しない 2025-04-16 15:49:34 +09:00
ousttrue
823fb087f5 BuildHumanAvatarFromMap.BuildHumanAvatarFromMap forceRename 2025-04-16 15:44:48 +09:00
ousttrue
07f4c0e52a AvatarDescription 減らし 2025-04-16 15:34:51 +09:00