Commit Graph

68 Commits

Author SHA1 Message Date
ousttrue
1584ca90d5 remove unused 2024-11-01 19:19:52 +09:00
ousttrue
bc1edff9c9 Renderer export の条件
x.gameObject.activeInHierarchy && x.TryGetComponent<Renderer>(out var renderer) && renderer.enabled)

mesh の export 条件と renderer の export 条件が別であることに注意。gltf の node.mesh
2024-09-26 19:36:12 +09:00
ousttrue
be20563059 GetComponent を置き換え。
TryGetComponent
GetComponentOrThrow(拡張関数)
GetComponentOrNull(拡張関数)

sample と test は据え置き
2024-07-24 22:09:30 +09:00
ousttrue
5ebae3b9e2 fix vrm-1.0 export that SkinedMeshRenderer.bones contains null 2024-07-03 21:21:15 +09:00
ousttrue
c672750078 skip null 2024-06-07 16:20:28 +09:00
ousttrue
98e9581229 float4 でない VertexColor が含まれるとエラーになることを回避 #2105 2023-07-24 19:54:43 +09:00
notargs
2673380776 Issue #1789に対応 2022-09-14 19:04:30 +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
ousttrue
3510c54fc3 VRM-1.0 の targetName を Mesh.extras のみに修正 2022-07-12 17:51:53 +09:00
ousttrue
045c690b08
Merge pull request #1715 from ousttrue/fix10/vertex_attribute_nullable
Other than position is nullable
2022-06-28 16:07:26 +09:00
ousttrue
bb88086825 Other than position is nullable 2022-06-24 19:52:59 +09:00
ousttrue
f19389c03a Animator じゃなくて Vrm10Instance から bone を得る 2022-06-24 18:10:42 +09:00
ousttrue
4998d6946e vrm-1.0 に対する boneWeight の付与 2022-06-22 13:19:40 +09:00
ousttrue
b59e1bfa62 MeshContext を MeshData と MeshUploader に責務分離 2022-06-09 15:12:42 +09:00
ousttrue
706d4d5f41 rename 2022-06-09 14:35:11 +09:00
ousttrue
a1c5e77626 UNSIGNED_SHORT の index buffer に対応。エラーメッセージを追加。 2022-05-19 13:24:28 +09:00
ousttrue
5360b44b0a RecalculateNormals 2022-05-12 16:47:47 +09:00
ousttrue
0be79c4dbc index フォーマット uint8 に対応 2022-05-12 16:43:41 +09:00
ousttrue
e61f29b89e primitive.indices が無いときに、連番を補う 2022-05-12 16:22:16 +09:00
ousttrue
c0d1fa840d GetAsSkinJointsArray と GetAsVector4Array を使う 2022-04-19 14:17:16 +09:00
ousttrue
d1fb39bb3b GetAsVector4Array 2022-04-19 14:09:50 +09:00
ousttrue
9a394ea842 Byte4型のBoneWeightに対応 2022-04-12 15:39:01 +09:00
ousttrue
f49e651590
Merge pull request #1542 from ousttrue/fix10/skip_empty_mesh
skip empty mesh
2022-02-22 18:17:04 +09:00
ousttrue
3156d0c74c skip empty mesh 2022-02-21 15:01:26 +09:00
ousttrue
37de8f2199 Replace System.Numerics to UnityEngine 2022-02-16 16:38:18 +09:00
ousttrue
115ca18b51 BufferAccessor を UniGLTF に移動 2022-02-15 17:13:26 +09:00
ousttrue
21ac603a31 use INativeArrayManager 2022-02-14 13:22:13 +09:00
ousttrue
ae96708943 remove SpanLike 2022-02-14 13:16:09 +09:00
ousttrue
b98c2f852f BufferAccessor use NativeArray 2022-02-10 22:23:39 +09:00
ousttrue
8d80c32a11 Merge Vrm10ExportData to ExportingGltfData 2022-02-10 18:49:48 +09:00
ousttrue
05928872cd Vrm10Storage を Vrm10ImportData と Vrm10ExportData に分解 2022-02-09 20:36:41 +09:00
ousttrue
0d93bab539 using 2022-02-04 16:33:54 +09:00
ousttrue
042847ab64 implement KeepVertexColor 2021-12-09 19:54:59 +09:00
Masataka SUMI
4f86e14b62 VRM10 はすでに計算済みだったので remove 2021-11-30 19:03:02 +09:00
Masataka SUMI
ff7a090c2e 頂点データを Set した際に Bounds を計算するようにする. 2021-11-30 18:54:43 +09:00
ousttrue
4a59507358 ビルド時の参照エラーを修正 2021-11-25 15:43:38 +09:00
notargs
e53065aeff Use NativeSlice 2021-11-16 19:56:40 +09:00
notargs
c98a94bccb Add CopyIndicesJobs 2021-11-16 19:53:29 +09:00
notargs
550a5ae9f8 Add Serializable 2021-11-16 19:29:40 +09:00
notargs
b1afcf4c01 コメントを追加 2021-11-16 19:27:51 +09:00
notargs
be35f19cb7 MeshImporterDividedのBlendShapeの更新にかなり時間がかかっていた問題を修正 2021-11-16 19:11:53 +09:00
notargs
7b32f07c78 MeshImporterDividedを高速化 2021-11-16 18:38:37 +09:00
notargs
ed4aada948 Fix jobs 2021-11-12 19:09:05 +09:00
notargs
6db8e5ecbf MeshImporterDivided.LoadDividedをNew Mesh API対応 2021-11-12 18:39:10 +09:00
notargs
f566804cc4 IndexBufferをNew Mesh APIに対応 2021-11-12 14:01:08 +09:00
notargs
c8fff439fb Add comment 2021-11-12 13:28:31 +09:00
notargs
a3674a992b UniVRM10のVertexの更新をNew Mesh APIに変更 2021-11-12 13:25:03 +09:00
ousttrue
77cc07f3d9 set indexFormat 2021-11-11 18:31:16 +09:00
ousttrue
e8f7fdbda7 Rename GltfBufferWriter to ExportingGltfData 2021-10-26 20:34:50 +09:00