ousttrue
85f4e22a98
typo
2022-10-04 17:55:49 +09:00
ousttrue
1d22f42e90
Merge pull request #1795 from matsutaka-pxv/add-awaitcaller-to-loadblendshapemaster
...
Add IAwaitCaller to VRMImporterContext.LoadBlendShapeMaster
2022-09-21 16:23:54 +09:00
Takayuki Matsuoka
fe0c3d756d
不要なコード整形を修正
...
See also:
https://github.com/vrm-c/UniVRM/pull/1795#discussion_r974879279
2022-09-20 23:25:20 +09:00
Takayuki Matsuoka
0029c1cd5f
LoadBlendShapeBindの引数順を変更
...
IAwaitCallerを最後の引数にするように変更
See also :
https://github.com/vrm-c/UniVRM/pull/1795#discussion_r974879093
2022-09-20 23:24:09 +09:00
Takayuki Matsuoka
799857bb8b
Add IAwaitCaller to VRMImporterContext.LoadFirstPerson
...
Since we still don't have explicit rule/method to add NextFrameIfTimedOut, this change may seem random.
But we've conducted some benchmarks and profiled them before add these await-s. These changes ease CPU spikes.
2022-09-14 13:11:23 +09:00
Takayuki Matsuoka
64286d8400
Add IAwaitCaller to VRMImporterContext.LoadBlendShapeMaster
...
Since VRMImporterContext.LoadBlendShapeMaster may take long time to complete,
change it to async Task method and pass IAwaitCaller as an argument.
This changeset also changes VRMImporterContext.LoadBlendShapeBind.
Because this method has long LINQ chain and we need to split it to ease
its CPU time spike.
2022-09-14 11:09:37 +09:00
Masataka SUMI
0dfa783406
mv CachedEnum namespace to UniGLTF.Utils
2022-09-07 15:59:35 +09:00
Masataka SUMI
29163a43b1
Use CachedEnum
2022-09-07 15:38:02 +09:00
Masataka SUMI
996bc91c93
Rename CacheEnum to CachedEnum
2022-09-07 15:04:23 +09:00
ousttrue
41e8628ae8
Merge pull request #1765 from ousttrue/fix/use_optional_for_index
...
glTFTexture.source type to int?
2022-09-05 19:05:26 +09:00
ousttrue
d974ddfa57
out (SubAssetKey, TextureDescriptor) を 2つの out に展開
2022-09-05 18:41:12 +09:00
ousttrue
2efcf65e60
LoadBytesAsync
2022-08-22 13:00:05 +09:00
ousttrue
f2d587e09f
glTFTexture.source type to int?
2022-08-05 21:13:32 +09:00
ousttrue
1ca7a8684d
WebGLの動作確認用
2022-07-26 14:30:51 +09:00
ousttrue
ba83d65018
null check
2022-07-14 15:53:14 +09:00
ousttrue
eca75c54a4
ImporterContext.LoadAnimation
2022-06-27 20:39:11 +09:00
ousttrue
933466169f
VRMExportSettings.KeepAnimation
2022-06-27 19:20:40 +09:00
ousttrue
d530b0fc6d
typo
2022-06-08 17:55:09 +09:00
ousttrue
c0d7869258
より上流で防御
...
* Vector には Color も入っているぽい(Vector4 と Colorは実質同じ)
* Texture が無いときにも OffsetScale が入っているケースがある
2022-06-08 17:42:31 +09:00
ousttrue
ac19e0d135
PreShaderPropExporter は既に VRM/MToon 専用
2022-06-02 15:12:22 +09:00
ousttrue
8ed88db8df
add warning
2022-05-12 16:00:32 +09:00
ousttrue
edcfac499f
null だと後続で例外。utility なのでフォールバックさせることにした。
2022-05-12 15:45:17 +09:00
ousttrue
e19ab9808a
EditorAnimationExporter
2022-02-28 14:29:56 +09:00
ousttrue
bd97a4f47f
Merge pull request #1545 from ousttrue/fix/new_immediatecaller
...
remove `awaitCaller ?? new ImmediateCaller()`
2022-02-22 18:20:20 +09:00
ousttrue
faebd43771
remove awaitCaller ?? new ImmediateCaller()
...
上流の awaitCaller を下流に使ってないことも修正
2022-02-21 16:47:44 +09:00
ousttrue
1cc152abff
add virtual void ExportAnimations
2022-02-21 15:44:57 +09:00
ousttrue
dbdb989dad
use VrmUtility
2022-01-25 20:00:14 +09:00
ousttrue
7a0e105f61
HighLevel API
...
とりあえず
2022-01-25 19:55:11 +09:00
Masataka SUMI
c96d4c1331
Image の MimeType を ITextureDeserializer に伝達する
2021-12-08 19:01:22 +09:00
Masataka SUMI
46c6d94e57
昔のコードが古い呼び出し方をしていたので修正
2021-12-04 02:24:07 +09:00
ousttrue
1eec47dedd
Update exporter interface. use ExportingGltfData
2021-10-26 21:02:09 +09:00
ousttrue
e8f7fdbda7
Rename GltfBufferWriter to ExportingGltfData
2021-10-26 20:34:50 +09:00
ousttrue
58678776b5
add GltfBufferWriter
2021-10-26 17:37:03 +09:00
notargs
1e98f065e1
Fix errors
2021-10-25 17:03:47 +09:00
notargs
adcf43dcbe
Merge remote-tracking branch 'upstream/master' into readonly_struct_material_descriptor
2021-10-25 17:02:13 +09:00
notargs
700f033fd7
MaterialDescriptorをreadonly structに変更
2021-10-25 16:52:55 +09:00
Masataka SUMI
d6f7b23970
rename
2021-10-22 20:33:55 +09:00
Masataka SUMI
e8037d112c
refactoring
2021-10-22 20:32:21 +09:00
Masataka SUMI
d2e2f8403e
VRM 0.x の仕様に反する変換 Export は throw する
2021-10-22 20:31:28 +09:00
Masataka SUMI
2a01ef551b
Merge branch 'master' of https://github.com/vrm-c/UniVRM into fixExporterInterface
2021-10-22 20:22:58 +09:00
Masataka SUMI
efbb5aca0c
renderQueue を復帰する
2021-10-22 17:09:52 +09:00
Masataka SUMI
fe25feaed6
refactor
2021-10-22 16:39:23 +09:00
Masataka SUMI
4b0cfe972e
comment
2021-10-22 16:38:40 +09:00
Masataka SUMI
bd982eae8f
rename
2021-10-22 16:31:58 +09:00
Masataka SUMI
61415a927d
TransparentZwrite のフォールバック時の指定を明示的にする
2021-10-22 16:06:45 +09:00
Masataka SUMI
95b032d12e
gltfExporter の GltfExportSettings が、コンストラクタと Export 関数の引数で二重に与えられていたのを修正
2021-10-20 16:31:42 +09:00
Masataka SUMI
1fa7b70b0c
UnlitTransparentWithZWrite は MToon の Emissive Factor にフォールバックさせる
2021-09-28 19:18:53 +09:00
Masataka SUMI
2c4803b3eb
rename
2021-09-28 19:02:41 +09:00
ousttrue
a92890f371
Implement VRMZWriteMaterialImporter
2021-09-27 21:01:35 +09:00
ousttrue
d938e9dd05
VrmExtensions to VrmExtension
2021-09-02 13:00:33 +09:00