Commit Graph

8 Commits

Author SHA1 Message Date
yutopp
120dc42901 Fix a default value of glTFTexture.bufferView (Use 0 intead to save compatibility). 2019-01-17 15:00:16 +09:00
yutopp
66d8adc191 Fix validation configs for JsonSchema when converting to glb bytes 2019-01-16 17:40:19 +09:00
yutopp
da2f7b8490 Add experimental expoter option. Enable error checks for glTF 2019-01-15 17:56:44 +09:00
yutopp
8479c7c9b2 Add a test for glTF components. Fix json schema to export them correctly by using JsonSchema 2019-01-15 16:07:15 +09:00
ousttrue
7fee636df8
Merge pull request #110 from saturday06/fix-invalid-gltf-value-output
Remove invalid json like `meshes[].primitives[].targets[].TANGENT = -1`
2019-01-09 23:35:13 +09:00
yutopp
29ca308f80 Use uint instead of UInt32. A base type of enums must be underlying types and uint is same as UInt32. (ref: https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/keywords/uint) 2019-01-07 14:44:58 +09:00
Isamu Mogi
da2fb76fd4 Remove invalid json like meshes[].primitives[].targets[].TANGENT = -1
In UniVRM v0.45 invalid glTF json values like
`meshes[].primitives[].targets[].TANGENT = -1` had been removed
by UniGLTF.JsonSerializableBase.SerializeMembers(). But it was disabled
unexpectedly since v0.46's following commit:
a85b9699e7 (diff-6d81c3ba04eb19e159e64767f9dd1325L36)

Now call UniGLTF.GLTFJsonFormatter.GLTFValue() explicitly to run serializable's
SerializeMembers() for removing those values that restores UniVRM v0.45
behavior without reflections.

Fixes #105
2019-01-04 02:40:23 +09:00
yutopp
7938679772 Move Assets/* (expect Plugins) to Assets/VRM/* 2018-12-29 13:21:42 +09:00