Commit Graph

41 Commits

Author SHA1 Message Date
iruca3
8881882873
Introduce ImporterContextSettings for handling loading animation and
axes conversion.

Refs: https://github.com/vrm-c/UniVRM/pull/1719#discussion_r908105469
2024-08-17 13:35:27 +09:00
Masataka SUMI
e9da5e2b7b mv VRMShaders namespace to UniGLTF 2024-07-20 23:47:45 +09:00
0b5vr
bf69c34cfc refactor: the same unityPath can be used for three of them 2023-02-20 17:02:14 +09:00
0b5vr
3c390fe0f3 fix: Fix vrmAssetPostprocessor
it was processing directories end with `.vrm` by mistake, which occurs with `Packages/com.vrmc.vrm`
2023-02-20 16:55:32 +09:00
mkc1370
5043781ebf Added support for paths within editable Packages to UnityPath 2022-11-03 20:20:46 +09:00
ousttrue
eca75c54a4 ImporterContext.LoadAnimation 2022-06-27 20:39:11 +09:00
ousttrue
1072555b08 VRMImporterMenu 経路の dispose を修正 #1630 #1631 2022-05-09 13:54:54 +09:00
ousttrue
141a3c4cec Dispose 呼び忘れ
A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.
2022-02-07 13:20:20 +09:00
ousttrue
be20d1ce96 add VRMData.cs 2021-09-01 21:26:50 +09:00
ousttrue
2e8d8dd316 VRMImporterContext の materialGenerator をカスタマイズするのに VRM.glTF_VRM_extensions vrm が必用
* VRMImporterContext の中で VRM.glTF_VRM_extensions vrm を取り出していて使いづらいので引き数で渡す方法を追加することにした
2021-09-01 20:37:37 +09:00
Masataka SUMI
a1c40eeda0 Implements Parser variants. 2021-06-28 00:26:05 +09:00
Masataka SUMI
e5ca1346a5 Rename GltfParser to IGltfData 2021-06-27 21:45:30 +09:00
ousttrue
a17c789a02 ImporterContext.LoadAsync が UnityObjectManager を戻すようにインタフェースを変更 2021-06-10 20:39:12 +09:00
Masataka SUMI
adbe16e154 mv GetTextureImportParamSet Get 2021-05-27 15:37:38 +09:00
Masataka SUMI
a4a5b1d0cb mv TextureSetImporter TextureDescriptorGenerator 2021-05-27 15:36:52 +09:00
Masataka SUMI
157c7091f7 follow test 2021-05-27 15:35:45 +09:00
Masataka SUMI
a6d730d15f Refactor Texture enumeration to TextureSetImport 2021-05-26 21:22:34 +09:00
Masataka SUMI
b7593254d9 Strict SubAssetKey constructor 2021-05-25 15:44:20 +09:00
Masataka SUMI
709fe25783 SubAssetKey の使用を厳格化 2021-05-24 23:28:43 +09:00
ousttrue
1582cd1c24 TextureImporterConfigurator を VRMShaders.GLTF.IO.Editor に移動 2021-04-19 15:13:15 +09:00
ousttrue
da49aa0b2c rename VRMMtoonMaterialImporter to VRMMaterialImporter 2021-04-15 15:05:48 +09:00
ousttrue
56b7f1ae20 SubAssetKey 2021-04-14 13:50:09 +09:00
ousttrue
a15b497b85 use Vrm10MToonMaterialImporter 2021-04-01 12:16:45 +09:00
ousttrue
95ee01b41f GetTextureParam 2021-03-23 21:51:18 +09:00
ousttrue
8aa450d3ac remove UnityWebRequestTextureLoader 2021-03-23 18:46:22 +09:00
ousttrue
8d95a4d1eb extract texture from external path to asset path 2021-03-18 14:39:12 +09:00
ousttrue
1d38656df2 fix rebase 2021-03-17 15:42:16 +09:00
ousttrue
b474ca3eba NotVrm0Exception 2021-03-17 15:32:09 +09:00
ousttrue
18fd38182d TextureImporterConfigurator 2021-03-17 15:30:46 +09:00
ousttrue
91d9501c3a SaveAsAsset 2021-03-09 14:57:15 +09:00
ousttrue
1457ab136b ConvertAndExtractImages 2021-03-09 14:28:08 +09:00
ousttrue
397bd5869b TakeOwnershipFunc 2021-03-09 13:09:53 +09:00
ousttrue
16764421ee VRMEditorImporterContext 2021-03-08 21:39:22 +09:00
ousttrue
3a7fc7735e fix Dispose 2021-03-08 19:52:30 +09:00
ousttrue
2ff647ec57 EditorContext は所有しない 2021-03-08 19:52:20 +09:00
ousttrue
f3454d55e9 remove AltTask. replace IAwaitCaller 2021-03-02 18:04:43 +09:00
ousttrue
b4ca9e607c AssetTextureLoader.LoadTaskAsync 2021-03-01 20:31:28 +09:00
ousttrue
14c39b61be fix vrmAssetPostprocessor
TextureのAssetImportが3種類になったのに対応

* ScriptedImporter(subAsset)
* ScriptedImporter(ExternalObject)
* AssetPostProcessor(from TextureAsset)
2021-03-01 20:29:41 +09:00
ousttrue
2e6ded5a7f ImporterContextのAssetImport向けの機能を、EditorImporterContextに分離
EditorImporterContext
#758
2021-02-26 19:00:48 +09:00
ousttrue
a5be5e1383 GltfParserの分離と、ImporterContextのインターフェース整理
使い方
* var parser = new GltfParser();
* parser.ParsePath(filePath); // ParseJson, ParseGlb 等パース系の関数
* context = new ImporterContext(parser); // parse から context を作る
* context.Load(); // もしくは LoadAsync で、Unity化する
2021-02-22 15:52:32 +09:00
ousttrue
4ffd97c2e9 FolderとAsmdef整理。Runtime, Editor, Tests 2020-12-01 19:54:13 +09:00