Commit Graph

154 Commits

Author SHA1 Message Date
hiroj
df23d951f7
Merge pull request #609 from ousttrue/fix/uv2
MeshImporter修正
2020-11-16 14:11:19 +09:00
momoandbanana
138140a75d fix cast error 2020-11-15 20:40:30 +09:00
ousttrue
abe2b82ddc 未使用の頂点が後ろにある場合に削除する
#610 対策
2020-11-13 20:18:08 +09:00
ousttrue
0bc6d1f222 fix ImportMeshSharingMorphTarget bug
vertex buffer length multiply submesh count
2020-11-13 19:37:48 +09:00
ousttrue
7113899644 コード整理。古い #if を削除。同じ処理を関数に切り出し 2020-11-13 18:56:16 +09:00
ousttrue
9551f08cb0 uv2の代入漏れ、無かった時に0で詰めるなどの問題。書き直し 2020-11-13 18:25:00 +09:00
ousttrue
3c86952228 Export dialog のバリデーターを整理
* vrm-1.0 と共用にできるように移動
* 例外のcatch
2020-11-10 16:37:22 +09:00
ousttrue
27f64943d8
Merge pull request #582 from ousttrue/feature/multi_uv_serialization
Feature/multi uv serialization
2020-11-05 15:26:58 +09:00
ousttrue
1d7db07a84 remove MakeUniqueName 2020-10-27 18:58:54 +09:00
fantom1x
15caf0cc4e 同名メッシュが100以上あるときにも対応 2020-10-25 19:31:41 +09:00
ousttrue
216ed90161
Merge pull request #581 from ousttrue/feature/gltf_export
Add gltf export and fix morphTarget sparse
2020-10-15 16:41:17 +09:00
ousttrue
7cc661b670 remove unnecessary ARRAY_BUFFER 2020-10-15 13:39:16 +09:00
ousttrue
36f8a7a80f fix export mesh.extras.targetNames 2020-10-15 13:22:10 +09:00
ousttrue
8d99f70c8b gltf use sparse 2020-10-15 13:21:33 +09:00
hiroj
45193ad500 fix_animationImporter_blendShape 2020-10-14 14:18:44 +09:00
ousttrue
59816f8562 import mesh.uv2 2020-10-13 20:52:05 +09:00
ousttrue
05f42e30ca use EnumSerializationType. fix gltf.cameras[].type Serialization
* https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/MultiUVTest/glTF/MultiUVTest.gltf#L192
2020-10-13 20:40:39 +09:00
ousttrue
bed3886b4e Add gltf export 2020-10-13 18:18:36 +09:00
ousttrue
81e95d5364 Unity は BoneWeight の無い BlendShape を SkinnedMeshRenderer で扱う。 GLTF が理解できるように正規化で BoneWeight を付与する 2020-10-06 15:20:58 +09:00
ousttrue
038c9fb4b9 null check 2020-10-05 15:31:35 +09:00
ousttrue
705f3480f5 implement MeshExportInfo.DetectVertexColor
sharedMaterials に 頂点カラーを使う Unlit と 頂点カラーを使わない Unlit が混在することを検知
2020-10-05 15:15:40 +09:00
ousttrue
feab5ccc61 Export 時の Mesh 詳細 2020-10-02 13:22:08 +09:00
ousttrue
dbe302d53c Export 時の自動判定を実装
* Unlit & multiply 設定 => VColor を エクスポートする
* それ以外 VColor をエクスポートしない
2020-10-01 20:12:20 +09:00
ousttrue
74335d9540 fix VRMExporter.Export 2020-10-01 19:45:51 +09:00
ousttrue
1afb4e8f6f update gltfExporter.Export interface 2020-10-01 19:35:04 +09:00
ousttrue
c1a7c82507 MeshExportInfo 2020-10-01 18:57:07 +09:00
ousttrue
d6623be68b VRMExporterConfiguration to MeshExportSettings 2020-10-01 17:04:27 +09:00
ousttrue
fbfae2c1cc
Merge pull request #564 from ousttrue/feature/use_serializertypes_generated
生成シリアライザをデフォルトにする
2020-09-28 14:53:44 +09:00
ousttrue
09af53a3f9 fix sparse export 2020-09-24 17:27:07 +09:00
ousttrue
eb7d39b376 regenerate GltfDeserializer 2020-09-24 15:49:13 +09:00
ousttrue
3bdc932f0d remove byteStride
#461
2020-09-24 15:47:34 +09:00
ousttrue
361954aa9d fix warning
Alpha cutoff is supported only for 'MASK' alpha mode.
2020-09-24 15:19:31 +09:00
ousttrue
e76e2f9671 use SerializerTypes.Generated 2020-09-24 14:53:14 +09:00
Masataka SUMI
423bcc7092 テクスチャサンプル適用処理を ITextureLoader が持つ 2020-09-16 17:20:01 +09:00
ousttrue
13fd098574 set name if name is null #545 2020-09-11 13:19:04 +09:00
ousttrue
8015a67271 1.0 からバックポート。こっちで管理する。 2020-09-02 19:05:14 +09:00
PoChangSu
185f097ab7 moved mesh integrator/static mesh integrator to the MeshUtility menu 2020-08-31 18:25:33 +09:00
ousttrue
1b4ef3ed92 Make the mesh name unique #470 2020-08-31 12:26:18 +09:00
ousttrue
bf6290ff9d Squashed commit of the following:
commit 2337e6cc3f3911fd32fa82d38b57a4e2ad29c86e
Author: Masataka SUMI <santarh@gmail.com>
Date:   Wed Jun 19 22:06:08 2019 +0900

    Do not integrate below Unity 2017.2

commit edbae238840aaf7157e0dd81ca03e11e3aeaf50b
Author: Masataka SUMI <santarh@gmail.com>
Date:   Wed Jun 19 21:37:06 2019 +0900

    Add Integrate method for Runtime

commit ad50a2e5565aea0d8e13f04bbe984671e66692bd
Author: Masataka SUMI <santarh@gmail.com>
Date:   Wed Jun 19 19:09:17 2019 +0900

    MeshIntegrator only work with prefab.

commit 3fb428e0ef05adb490f98bf0391f22a58c2c5d41
Author: Masataka SUMI <santarh@gmail.com>
Date:   Wed Jun 19 19:08:51 2019 +0900

    Add FileName Property to UnityPath

commit e17e42d3c91238923352511f4979d4139ed15a83
Author: Masataka SUMI <santarh@gmail.com>
Date:   Wed Jun 19 15:48:22 2019 +0900

    Refactoring GetPrefab method

commit ab1b3b9535e7cf21de43b597318347f34ba771c2
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 20:09:34 2019 +0900

    Blendshape's values Follow renderers change.

commit 194599955b91d62410a08f16f159ce7ddcaec635
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 03:37:28 2019 +0900

    Move general integration method from Editor to Runtime.

commit bbe2697e298c8c61d66a46e33c61545ee4d6cdae
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 03:18:28 2019 +0900

    Move integration method from Editor to Runtime.

commit a60e4da63ec40761cdd53ef75c3245b36e4d0ba2
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 02:46:29 2019 +0900

    Disabled source renderers after integration.

commit 28cb426331b071020fe5806bb929019a2617f58c
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 02:11:12 2019 +0900

    Consider Renderer with blendshapes.

commit 898ee75ac7f1457a8d2e6b02d6d40d607565d430
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 01:57:16 2019 +0900

    Refactoring codes.

commit bb2339dd14eef7cedce5a1a446f54741fea02521
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 01:36:32 2019 +0900

    Refactoring.

commit 8a0330fa4a8cc3458997bfc342589565fd16b6c7
Author: Masataka SUMI <santarh@gmail.com>
Date:   Tue Jun 11 01:36:26 2019 +0900

    Remove unused bone root finding code.

commit 90b1a1a82b5b948bb3e33030d4392dbc10c800ef
Author: Masataka SUMI <santarh@gmail.com>
Date:   Mon Jun 10 23:51:05 2019 +0900

    Consider zero bone SkinnedMesh.

commit 16949adabedc9ca9ff7e98a4aacb5147fb956731
Author: Masataka SUMI <santarh@gmail.com>
Date:   Mon Jun 10 23:45:13 2019 +0900

    Fix bug of merging blendshapes.

commit 559921ce2620dc0152a2a88f1ca93229670ca1f7
Author: Masataka SUMI <santarh@gmail.com>
Date:   Mon Jun 10 21:24:20 2019 +0900

    Divide MeshIntegrator classes
2020-08-25 17:00:25 +09:00
Masataka SUMI
6c26d939a7 In Editor, resized exporting if MasSize setting value is smaller than original image size. 2020-08-07 19:16:14 +09:00
ousttrue
ca3f9cb835 fix UseUnlit 2020-08-03 15:11:42 +09:00
ousttrue
e3ed40ffcd 空のマテリアルのindexずれ対策が、テスト SameMeshButDifferentMaterialExport にささった。修正 2020-07-28 15:44:52 +09:00
ousttrue
eca2fc5705 同じ行が2回あるのを修正 2020-07-28 15:27:36 +09:00
ousttrue
2ac18aae14
Merge pull request #491 from ousttrue/sparse_default_false
Sparse default false
2020-07-28 14:46:49 +09:00
hiroj
d2394e5142
Merge pull request #487 from saturday06/remove_empty_morph_target
空のモーフターゲットが出力されglTF違反になってしまうことがあるのを修正
2020-07-28 14:44:19 +09:00
ousttrue
fa419aefdd BlendShapeのエクスポートをスキップすると、BlendShapeClipがindex参照しているのでずれてしまう。その対策 2020-07-27 17:30:47 +09:00
ousttrue
656e8256ed blendShapeIndexMap for skip blendShape 2020-07-27 17:09:03 +09:00
Isamu Mogi
f8c9d43a8b 空のモーフターゲットが出力されglTF違反になってしまうことがあるのを修正 2020-07-26 22:23:06 +09:00
Isamu Mogi
d4d0b37f6f Experimental Exporterを再生成 2020-07-26 18:57:39 +09:00
chorome
c50ca1484c load balance BuildMesh 2020-07-01 14:24:33 +09:00