Commit Graph

28 Commits

Author SHA1 Message Date
jrkoonce
cfdf552137 RapidJson 1.1 support + More move semantics
*Support for RapidJson 1.1, use TINYGLTF_USE_RAPIDJSON to toggle between RapidJson and nlohmann

*Lot more move semantics enabled.  All parsing and serialization now move all json objects with far fewer copies
2019-08-29 11:26:22 -05:00
Syoyo Fujita
b0fd588748 Now material is parsed as a struct with explicit parameter definitions.
Implement Material struct serialization.
2019-07-24 19:26:48 +09:00
Arthur Brainville (Ybalrid)
f3898ae012 clang-format + added sparse accessor in loader_example 2019-03-06 12:39:39 +00:00
Syoyo Fujita
395ede911c Parse extensions property of Image. 2018-09-02 15:36:17 +09:00
Syoyo Fujita
6190633db7 Added 'warning' message parameter to glTF loader API.
Asset loading failure messages(e.g. image file is missing) are now stored in `warning` message, not `error` message.
2018-07-27 16:49:10 +09:00
Syoyo Fujita
98ca13b9b7 Suppress clang warnings. 2018-04-15 18:40:55 +09:00
Syoyo Fujita
8d0af92954 Fix printing accessor.min and accessor.max in loader_example.
Initial support for printing extensions(no pretty printing at the moment).
Merge branch 'generic_extension_support' of https://github.com/Selmar/tinygltf into Selmar-generic_extension_support
2018-04-05 15:37:57 +09:00
Selmar Kok
f8f136a99b Merge remote-tracking branch 'origin/devel' into generic_extension_support
# Conflicts:
#	tiny_gltf.h
2018-04-04 18:34:30 +02:00
Syoyo Fujita
f297b684e4 Merge branch 'devel' into Selmar-generic_extension_support 2018-04-05 01:27:03 +09:00
johan bowald
90e28a4d34 update examples with new defines 2018-04-01 14:08:45 +02:00
Syoyo Fujita
8497824bd2 Print extensions. 2018-03-21 18:48:03 +09:00
Cemalettin Dervis
3d3ecb7465 Fixed typo ("RPEAT") 2017-12-07 21:58:15 +01:00
Syoyo Fujita
f39a6fdbf0 Initial support of parsing/serializing Camera. 2017-07-13 18:20:14 +09:00
Syoyo Fujita
0fc763d219 Accessor.min and Accessor.max are now optional parameter.
Set BufferView.byteStride default value to 0(= tightly packed). Fixes #13.
2017-07-12 18:29:29 +09:00
Syoyo Fujita
b8358d5059 Delete Accessor.byteStride field which was removed in glTF 2.0 spec. 2017-06-26 17:54:34 +09:00
Syoyo Fujita
26908872ac Rename filename/define/class name. 2017-06-21 02:52:11 +09:00
Syoyo Fujita
4de15d04c7 Remove unused examples.
Refactor source code.
2017-06-04 17:42:41 +09:00
Syoyo Fujita
db5ea6bc41 Fix Animation dumper. 2017-05-30 00:52:00 +09:00
Syoyo Fujita
61e44d86cc Keep up with loader_example.cc
Update picojson.h
2017-05-27 23:51:23 +09:00
Syoyo Fujita
b9a06abd61 Remove inttypes dependency in TinyGLTFLoader header definition. 2016-10-17 18:02:45 +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
d2272a61af Suppress clang compiler warnings. 2016-06-21 21:18:12 +09:00
Syoyo Fujita
8997a2f0c3 Parse sampler 2016-06-19 21:56:06 +09:00
Syoyo Fujita
f7d1107393 Initial support of animation. 2016-06-19 18:16:10 +09:00
Luke San Antonio
40014ade3d Print shaders, programs, and techniques in loader_example.cc
This changes the way parameters for materials and techniques are
printed. Now only one of either the number array or string value will be
printed. Before, both would be printed with the same name being used.
2016-06-15 14:11:55 -04:00
Syoyo Fujita
93fe92ff63 Print bufferView.target. 2016-06-06 01:20:32 +09:00
Syoyo Fujita
6dfae80301 Missing indices print. 2016-06-05 22:17:19 +09:00
Syoyo Fujita
3ba3cadee4 Initial support of loading binary glTF(.glb). 2016-05-01 20:03:43 +09:00