Aurélien Chatelain
9ae285ba61
Updates asset object (glTF 2.0)
2017-05-24 13:48:10 +00:00
Aurélien Chatelain
f6e31c19a8
Updates materials (glTF 2.0)
...
glTF 2.0 has now PBR materials.
Core material is Metallic/Roughness material
Specular/glossiness is still in an extension
Material properties can be number arrays (colors/factors) or JSON objects (textures)
2017-05-24 13:48:10 +00:00
Aurélien Chatelain
7916c6a19d
Updates camera object (glTF 2.0)
2017-05-24 13:48:10 +00:00
Aurélien Chatelain
b04145bfa7
Supports glTF 2.0 schema
...
- Renaming 'Scene' to 'Model' to avoid confusion
- glTF top objects are now arrays, and objects are referenced by index instead of id
- added a few comments (required)
- default values
2017-05-24 13:48:10 +00:00
Aurélien Chatelain
7992d63467
Removes Technique/Shader/Program support (glTF 2.0)
2017-05-24 13:47:58 +00:00
Syoyo Fujita
3cb48763f9
Merge pull request #15 from missmah/master
...
Possible fix for child values not being properly deserialized
2017-05-08 15:16:44 +09:00
Layla
47b0a677e6
Possible fix for child values not being properly deserialized.
...
* Add the child_value parsed by ParseObjectProperty to the return value
The omission of adding child_value to the return object appears to have been an oversight, as it is the only case where the parsed value is not added, and because child_value is otherwise unreferenced.
This change also does give us the value that we are expecting in our use case after loading our glTF.
Was this an oversight or an intentional omission?
2017-05-07 16:56:55 -04:00
Syoyo Fujita
c6d6197f42
Update README.
2016-11-25 01:26:21 +09:00
Syoyo Fujita
8d39bf29a1
Do not emit empty Curves primitive.
2016-11-25 01:22:02 +09:00
Syoyo Fujita
eda371e96f
Update README.
2016-11-24 18:28:49 +09:00
Syoyo Fujita
67fbc6cfa1
Merge branch 'master' of github.com:syoyo/tinygltfloader
2016-11-24 18:21:18 +09:00
Syoyo Fujita
e61bcb82e0
Update README.
2016-11-24 17:56:56 +09:00
Syoyo Fujita
0269a33812
Show geomeric normal for mesh object.
2016-11-24 17:55:20 +09:00
Syoyo Fujita
b839ff0059
Fix nodes emission.
2016-11-24 17:42:18 +09:00
Syoyo Fujita
e849d49f5b
Fix draw length for GL_LINES.
2016-11-24 17:41:44 +09:00
Syoyo Fujita
3319a69410
Update glTF sample model repo path.
2016-11-24 16:20:57 +09:00
Syoyo Fujita
7043d97da7
Fix memory leak of stb_image data.
2016-11-24 16:20:34 +09:00
Syoyo Fujita
06e76d7c9b
Initial support of node hierarchy.
2016-11-24 03:10:02 +09:00
Syoyo Fujita
0bf58251f4
Fix nodes generation.
2016-11-24 03:09:43 +09:00
Syoyo Fujita
8d44a946cc
Fix mouse button state management.
2016-11-23 21:41:53 +09:00
Syoyo Fujita
3f4269f497
Compute geometric normal.
2016-11-23 21:40:57 +09:00
Syoyo Fujita
989b7ec822
Emit "name" for each "mesh" object.
2016-11-23 18:27:19 +09:00
Syoyo Fujita
6b8100a0b5
Rename function.
2016-11-23 18:26:49 +09:00
Syoyo Fujita
d1b86d1345
Comented debug printf.
2016-11-23 18:22:04 +09:00
Syoyo Fujita
a4917834e3
Initial support of node hierarchy.
2016-11-23 17:59:17 +09:00
Syoyo Fujita
a5f1895cb1
Improve UI for one-button mouse.
2016-11-23 17:45:35 +09:00
Syoyo Fujita
07d8aaf608
Fix gltf semantic.
2016-11-23 02:13:55 +09:00
Syoyo Fujita
7e4fdc1af2
Fix gltf gen(WIP).
2016-11-23 01:42:51 +09:00
Syoyo Fujita
8ebeeb3fd1
Refactor scene graph(WIP).
2016-11-22 20:14:42 +09:00
Syoyo Fujita
ac189403ce
Start to add node hierarchy support(W.I.P.)
2016-11-22 17:54:47 +09:00
Syoyo Fujita
b8ca02ec79
Refactor class.
2016-11-21 19:29:04 +09:00
Syoyo Fujita
4fe934c0c7
Update README.
2016-10-25 01:48:44 +09:00
Syoyo Fujita
ddd3f0ab33
Newline
2016-10-25 01:45:10 +09:00
Syoyo Fujita
d02e19e707
Add screenshot of cyhair.
2016-10-25 01:44:19 +09:00
Syoyo Fujita
31b79a90e1
Add cyhair2gltf converter.
2016-10-25 01:30:40 +09:00
Syoyo Fujita
a7455e3a83
Update doc.
2016-10-18 21:16:34 +09:00
Syoyo Fujita
5b0cdf40eb
Initial GL rendering support of curves primitive(render as GL_LINES).
2016-10-18 20:39:33 +09:00
Syoyo Fujita
c254c5b250
Fix typo(extra -> extras)
...
Add some curves support to glview.
2016-10-17 20:00:19 +09:00
Syoyo Fujita
9af5663ad1
Remove GL_TRINANGLES restriction for mode in primitive parameter.
2016-10-17 18:05:42 +09:00
Syoyo Fujita
b9a06abd61
Remove inttypes dependency in TinyGLTFLoader header definition.
2016-10-17 18:02:45 +09:00
Syoyo Fujita
10b68c5112
Fix build on some compilers.
2016-10-17 13:18:08 +09:00
Syoyo Fujita
9151bd356d
Initial support of "extras" property.
...
Change license from BSD to MIT.
2016-10-17 03:48:55 +09:00
Syoyo Fujita
9f14af725d
Initial support of converting Alembic curve to .gltf.
2016-10-15 20:12:23 +09:00
Syoyo Fujita
a0fc4b64d7
Merge branch 'master' of github.com:syoyo/tinygltfloader
2016-10-14 19:00:58 +09:00
Syoyo Fujita
fe2ff8c2f7
Initial working abc2gltf converter.
2016-10-14 18:50:33 +09:00
Syoyo Fujita
1371b5a631
Improve error messsage a bit.
2016-10-14 18:50:14 +09:00
Syoyo Fujita
8b286b8549
Initial abc -> gltf converter.
2016-10-13 16:48:53 +09:00
Syoyo Fujita
ec42337486
W.I.P. alembic to gltf converter.
2016-10-11 01:41:08 +09:00
Syoyo Fujita
2936f2000f
Merge pull request #12 from r-lyeh/master
...
Fix .glb loading (Windows)
2016-08-30 14:45:43 +09:00
r-lyeh
264d536445
Fix .glb loading (Windows)
...
Fixes loading of https://github.com/KhronosGroup/glTF/blob/master/sampleModels/Duck/glTF-Binary/Duck.glb
2016-08-29 16:56:18 +02:00