Commit Graph

3465 Commits

Author SHA1 Message Date
Masataka SUMI
adc22ed416 comment 2023-08-17 16:20:28 +09:00
ousttrue
a3d6579ec7 LoadHumanPose, LoadExpressions, LoadLookAt 2023-08-17 15:59:19 +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
6358caedb3
Merge pull request #2132 from ousttrue/feature/retarget_phase
[vrma] retarget phase を Vrm10Runtime.Process の先頭に移動
2023-08-17 11:13:00 +09:00
Masataka SUMI
96d819f0c6 ordinal key comparer 2023-08-16 23:01:28 +09:00
Masataka SUMI
9574c15966 implement MorphTargetBindingMerger2 with minimum Dictionary access. 2023-08-16 23:01:12 +09:00
ousttrue
9cb64ba7b4
Merge pull request #2131 from TomMoore515/unigltf-replace-resource
Add `ReplaceResource` Method to `RuntimeGltfInstance`
2023-08-16 20:03:10 +09:00
ousttrue
5bd34669f5 rename 2023-08-16 15:05:02 +09:00
ousttrue
00641d4720 naming 2023-08-16 14:58:40 +09:00
ousttrue
01fe012fbf 1 origin 2023-08-16 14:49:21 +09:00
Masataka SUMI
8950900bb9 Merge branch 'master' of https://github.com/vrm-c/UniVRM into expressionFaster 2023-08-16 14:18:41 +09:00
ousttrue
27b284bdb6 move Retarget to API 2023-08-16 13:53:54 +09:00
Thomas Moore
c64ce337f6 Add ReplaceResource method to RuntimeGltfInstance
- Enables resource replacement for Texture, Material, AnimationClip, and Mesh
- Provides error handling for null or mismatched types
- Destroys the old resource after replacement
2023-08-15 16:24:02 +01:00
Masataka SUMI
506b2a5b04 Don't change raw blendshapes immediately when setting Expression's weights. 2023-08-15 21:24:12 +09:00
Masataka SUMI
95f405dae9 Add Alternative Implementation 2023-08-15 21:20:57 +09:00
Masataka SUMI
7308551d09 Pass IEqualityComparer<ExpressionKey> 2023-08-15 17:59:31 +09:00
ousttrue
6a32acbda4
Merge pull request #2124 from ousttrue/feature/vrma_animation_clip
VrmAnimation の Expression は float field に変更
2023-08-15 17:40:16 +09:00
Masataka SUMI
e57480dc00 make EqualityComparer implementation internal 2023-08-15 17:12:20 +09:00
Masataka SUMI
01394bbde7 Speed up ExpressionKey comparison. 2023-08-15 16:38:27 +09:00
Masataka SUMI
51fd586b4d Add tests 2023-08-15 16:32:33 +09:00
Masataka SUMI
d1c43030ea Add tests about ExpressionKey 2023-08-15 16:27:59 +09:00
Masataka SUMI
15f9de1101
Merge pull request #2114 from CrucibleNetworksLtd/auto-detect-render-pipelines
Auto detect render pipelines
2023-08-15 12:33:52 +09:00
notargs
4621d51001 Add Vrm10RuntimeExpression.SetWeightNonAlloc method 2023-08-15 12:16:41 +09:00
thoxey
c82fb5a124 Fix for built in 2023-08-09 15:43:03 +01:00
ousttrue
0cfd37c9b4 custom_00 ~ custom_99 を追加 2023-08-08 21:01:38 +09:00
ousttrue
c5c91ccc37 nameof 全部小文字 2023-08-08 20:43:55 +09:00
ousttrue
1baf2e5e7d VrmAnimation の Expression 実装を、透明な transform の x 座標を転用するのをやめて、
AnimationClip に普通の float curve として格納する様に変更した。

VrmAnimationInstance の public field と連動する。
2023-08-08 18:53:32 +09:00
Masataka SUMI
1477102f6a
Merge pull request #2116 from notargs/material_desc_generator_factory
EditorImport時、ユーザーが任意のMaterialDescriptorGeneratorを差し込むための拡張の窓を追加
2023-08-08 15:53:16 +09:00
notargs
de7b4a77ed 不要なstringを削除 2023-08-08 15:48:13 +09:00
notargs
8bd617e7d7 Remove linq snippets disused on unity update. 2023-08-08 15:31:13 +09:00
notargs
466ced078c 編集可能に設定 2023-07-26 16:02:05 +09:00
notargs
7178f62e80 Merge remote-tracking branch 'upstream/master' into material_desc_generator_factory 2023-07-26 15:11:18 +09:00
notargs
0185601db4 EditorImportにて、ユーザーが任意のMaterialDescriptorGeneratorを差し込むための拡張の窓を追加 2023-07-26 15:04:56 +09:00
ousttrue
01659457d8
Merge pull request #2112 from ousttrue/version/v0_113_0
UniVRM-0.113.0
2023-07-26 14:40:46 +09:00
ousttrue
25f7c1db87
Merge pull request #2111 from ousttrue/fix/skip_color_not_float4
float4 でない VertexColor が含まれるとエラーになることを回避
2023-07-26 14:40:34 +09:00
thoxey
efa33106c7 Implement the change in the VRM10 importer and show where it could be used elsewhere
in my local version of UniVRM I have the change I made, and will leave other changes to your discretion
2023-07-25 12:24:18 +01:00
thoxey
88588bf111 Adds a new trio of utility classes
These allow for the creation of materialdescriptorgenerators that use the current render pipeline
2023-07-25 12:23:25 +01:00
ousttrue
760a4aee3c UniVRM-0.113.0 2023-07-24 20:45:26 +09:00
ousttrue
98e9581229 float4 でない VertexColor が含まれるとエラーになることを回避 #2105 2023-07-24 19:54:43 +09:00
yoship1639
6f4d7d2f0d MToon10にDepthOnlyPassとDepthNormalsPassを追加 2023-07-21 18:20:06 +09:00
yoship1639
0b48e59f51 DepthNormalsPassを追加 2023-07-21 18:18:54 +09:00
yoship1639
c334886e08 DepthOnlyPassを追加 2023-07-21 18:18:39 +09:00
yoship1639
bb68ebaa89 ShadowCasterPassのAlphaClipUV座標が正しくない問題を修正 2023-07-21 18:17:53 +09:00
yoship1639
1feb077d62 不要なBuilt-inキーワードを削除 2023-07-13 02:22:49 +09:00
ousttrue
b673f160ac
Merge pull request #2100 from ousttrue/fix/boxman_finger
BoxMan に指を追加しました。頭を調整
2023-07-07 14:09:51 +09:00
ousttrue
4d78f864e8 impl VRMSampleCopy.Validate 2023-07-05 14:08:30 +09:00
ousttrue
5a87e0a4bf SampleCopy 済みか確認する 2023-07-05 13:44:32 +09:00
ousttrue
dd53f1382d localPosition の間違い 2023-07-04 16:41:29 +09:00
ousttrue
6ba2cd21a7
Merge pull request #2093 from ousttrue/fix/vrma_export
[vrm-animation] VrmAnimationExporter の実装と bvh 変換の実験
2023-07-03 23:38:22 +09:00
ousttrue
beaee70de0
Merge pull request #2098 from ousttrue/feature/paste_poe
[VRM-animation] 1フレーム版(gltfのjson部にすべて記述)の試作
2023-07-03 18:49:32 +09:00
ousttrue
9ebcf51b3f bvh に関する注意を追加 2023-07-03 18:46:09 +09:00
ousttrue
5049f62941 add finger 2023-07-03 18:38:05 +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
a1854f9f07
Merge pull request #2090 from saturday06/RemapScriptedImporterEditorBase-DiscardChanges
Unity 2022.2以降のScriptedImporterEditor.ResetValues()のObsolete警告が出るのに対応
2023-06-22 16:23:07 +09:00
ousttrue
58a3ea598f
Merge pull request #2091 from saturday06/VRM10.Tests.PlayMode.dll-no-script
Unity 2021からVRM10.Tests.PlayModeアセンブリのスクリプト不存在警告が出るようになったのに対応
2023-06-22 16:21:13 +09:00
ousttrue
a4cfc4ebdb separate bvh from VrmAnimationExporter 2023-06-19 17:07:50 +09:00
ousttrue
16ff381cdc impl VrmAnimationExporter for bvh 2023-06-19 16:50:55 +09:00
Isamu Mogi
90e92fa6ca Unity 2021からVRM10.Tests.PlayModeアセンブリのスクリプト不存在警告が出るようになったのに対応
Unity 2021から、次のようなVRM10.Tests.PlayModeアセンブリにスクリプトが含まれないという趣旨の警告が出ていました。

```
Assembly for Assembly Definition File 'Assets/VRM10/Tests.PlayMode/VRM10.Tests.PlayMode.asmdef' will not be compiled, because it has no scripts associated with it.
```

ダミーのテストを追加する対応も検討したのですが、メンテナンス対象のソースは少ない方が良いと思うのでアセンブリを削除することで対応しました。
2023-06-19 00:33:50 +09:00
Isamu Mogi
9ddb099cc6 Unity 2022.2以降のScriptedImporterEditor.ResetValues()のObsolete警告に対応
Unity 2022.2以降のバージョンでScriptedImporterEditor.ResetValues()がObsoleteになり、代わりにDiscardChanges()の利用が推奨されるようになりました。
UniGLTF.RemapScriptedImporterEditorBaseがResetValues()を利用しており、それにより、次のような警告を発生させていました。

```
Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs(50,33): warning CS0672: Member 'RemapScriptedImporterEditorBase.ResetValues()' overrides obsolete member 'AssetImporterEditor.ResetValues()'. Add the Obsolete attribute to 'RemapScriptedImporterEditorBase.ResetValues()'.
Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs(54,13): warning CS0618: 'AssetImporterEditor.ResetValues()' is obsolete: 'UnityUpgradeable () -> DiscardChanges'
```

オーバーライドされたResetValuesにもObsoleteを付与することで、警告が抑制されるようになりました。

また、移行先として推奨されているDiscardChanges()の実装も行いました。
2023-06-19 00:06:12 +09:00
ousttrue
709387fb12 export VRMC_vrm_animation 2023-06-16 16:26:36 +09:00
ousttrue
60c79b5e7a VrmAnimationExporter 2023-06-15 15:22:32 +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
b9293f0c14
Merge pull request #2088 from ousttrue/fix/unity_2021
unity version up と vscode 作業設定
2023-06-14 14:29:08 +09:00
ousttrue
4e93fcca9a unity version up と vscode 作業設定 2023-06-13 14:52:31 +09:00
Chris
eac05cadf5 fixed wrong version define to 'core' instead of 'universal' 2023-06-12 11:53:55 -03:00
ousttrue
e8861704d2 UniVRM-0.112.0 2023-06-09 17:13:42 +09:00
ousttrue
88b4a79772 add ArgumentChecker 2023-06-08 14:23:08 +09:00
ousttrue
0cd565fb85 Add ArgumentChecker. Hide boxman when loaded 2023-06-08 14:20:52 +09:00
ousttrue
e60d972bd1 Editor要素がビルドエラー。サンプル更新を反映 2023-06-06 14:44:31 +09:00
ousttrue
48ebe7e081
Merge pull request #2064 from ousttrue/fix/broken_springbone_no_throw
springbone の import で throw しない
2023-06-06 13:04:08 +09:00
ousttrue
3f3f97d4e9
Merge pull request #2075 from ousttrue/version/v0_111_0
UniVRM-0.111.0
2023-06-05 20:04:23 +09:00
ousttrue
f2ed55964a
Merge pull request #2074 from ousttrue/check_humanoid_edge_case
human bone の index が -1 になりうる?
2023-06-05 19:59:40 +09:00
ousttrue
d9ff4c11cb protected 2023-06-05 19:55:41 +09:00
ousttrue
32bc5d6d86 UniVRM-0.111.0
バージョン番号の更新。サンプルの更新による差分あり。
2023-06-05 17:07:50 +09:00
ousttrue
cd6db6d127 human bone の index が -1 になりうる? 2023-06-05 17:01:32 +09:00
ousttrue
f014a91b6e SpringBone center のマイグレーションが無かった 2023-06-05 16:34:47 +09:00
ousttrue
70dbeb1291 add index -1 check 2023-05-15 13:18:47 +09:00
ousttrue
bd770f8b26 warning 2023-05-15 13:09:53 +09:00
ousttrue
69b952257a VRMSpringUtility.LoadSecondary 関数が throw しないように修正
fix #2023
SpringBone は不完全になるが throw しない。
2023-05-15 13:07:16 +09:00
notargs
7e92cd82fc MTOON_TRANSFER_FOG_AND_LIGHTINGを切り出した 2023-05-11 17:56:48 +09:00
notargs
d33327eba9 MTOON_LIGHT_DESCRIPTIONから不要な変数定義を削除 2023-05-11 17:35:54 +09:00
notargs
5082709497 SampleSHを分離 2023-05-11 16:58:33 +09:00
notargs
6dd0fb4fd9 MTOON_LIGHT_DESCRIPTIONを定義 2023-05-11 16:54:20 +09:00
notargs
8527fdd511 lighting, MTOON_FOG_AND_LIGHTING_COORDSからURP対応に関する知識を剥がす 2023-05-11 16:14:32 +09:00
notargs
d59342fb17 vrmc_materials_mtoon_render_pipeline.hlslを作り、URP/BRPの差異をそこで吸収 2023-05-10 19:05:03 +09:00
notargs
bc7337ca0d TransparentなOutlineの描画に対応する 2023-05-09 15:50:18 +09:00
notargs
9f69277163 C#側をShader名変更に追従 2023-05-08 17:12:37 +09:00
notargs
efd11e7a77 rename -> Universal Render Pipeline/ 2023-05-08 16:41:40 +09:00
notargs
95cad4b5fe Rename -> VRM10/URP/MToon10 2023-05-08 16:39:29 +09:00
notargs
503bd64d7d Rename shader to "VRM10/URP MToon10" 2023-05-08 16:35:39 +09:00
notargs
edf5817106 FallbackをFallbackErrorに変更 2023-05-08 16:13:40 +09:00
notargs
ae08e8b5ef 改行を修正 2023-05-08 15:34:20 +09:00
notargs
93333ce6f8 SubShaderのTagsの表記を修正 2023-05-08 15:34:06 +09:00
notargs
2dc6cd0758 アウトラインを描画する仕組みを実装 2023-04-28 17:32:06 +09:00