Commit Graph

16 Commits

Author SHA1 Message Date
yutopp
d2709ea4fd Change a logic to check draco to a way written in the specification 2019-01-17 19:06:46 +09:00
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
e6829b268f bug fix ! 2019-01-11 17:26:09 +09:00
ousttrue
221e1e573d Fixed build warnings 2019-01-10 23:18:12 +09:00
ousttrue
0108d018e0 Allow external root 2019-01-10 18:44:57 +09:00
ousttrue
612df39e0b
Merge pull request #102 from saturday06/limit-gltf-material-emissiveFactor
Round glTF2.0 materials[].emissiveFactor value to its maximum limit
2019-01-09 23:37:34 +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
ousttrue
43eae3e9e9 UNIGLTF_DEVELOP to VRM_DEVELOP #97 2019-01-09 16:03:06 +09:00
yutopp
5dec92c374 Call base constructor 2019-01-07 14:48:51 +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
Isamu Mogi
9986e5615e Round glTF2.0 materials[].emissiveFactor value to its maximum limit 2018-12-31 00:55:34 +09:00
yutopp
7938679772 Move Assets/* (expect Plugins) to Assets/VRM/* 2018-12-29 13:21:42 +09:00