Commit Graph

68 Commits

Author SHA1 Message Date
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
8a071cffdd Pretty print output JSON. 2016-07-20 20:00:34 +09:00
Syoyo Fujita
78df25e76c Merge pull request #10 from lukesanantonio/feature-conditional-section-checking
Support conditional checking of glTF sections
2016-06-24 12:44:47 +09:00
Syoyo Fujita
7038764957 Merge pull request #9 from lukesanantonio/feature-texture-formats
Add macros for more texture formats
2016-06-24 12:44:35 +09:00
Syoyo Fujita
d4eb52f60b Merge pull request #8 from lukesanantonio/fix-empty-file-segfault
Prevent a segfault when loading an empty file
2016-06-24 12:44:11 +09:00
Luke San Antonio
0d47849248 Support conditional checking of glTF sections 2016-06-23 15:16:21 -04:00
Luke San Antonio
6f3cdcf459 Prevent a segfault when loading an empty file
If the size of the file is zero, we just signal an error and return false.
2016-06-23 15:15:07 -04:00
Luke San Antonio
8eac79be87 Add macros for more texture formats 2016-06-23 14:33:54 -04: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
d3ac26fbde Update TODO 2016-06-19 18:19:09 +09:00
Syoyo Fujita
f7d1107393 Initial support of animation. 2016-06-19 18:16:10 +09:00
Syoyo Fujita
0caa54c4a1 Small fix on README. 2016-06-17 00:36:45 +09:00
Syoyo Fujita
bcd88c0e82 Merge pull request #7 from lukesanantonio/master
Print shaders, programs, and techniques in loader_example.cc
2016-06-16 13:41:37 +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
19c104c2ac Support loading binary shader source data for binary glTF. 2016-06-15 20:58:42 +09:00
Syoyo Fujita
06bc68b260 Merge branch 'master' of github.com:syoyo/tinygltfloader 2016-06-15 20:44:19 +09:00
Syoyo Fujita
6acbcc45cb Update README.
Fix exec name in test_runner.py
2016-06-15 15:48:18 +09:00
Syoyo Fujita
a7d587cf86 Merge pull request #5 from lukesanantonio/feature_technique
Support shaders, programs, and techniques
2016-06-15 15:35:07 +09:00
Syoyo Fujita
6c433ed631 Merge pull request #6 from lukesanantonio/master
Only use valid (triangle) primitive sets
2016-06-15 15:33:13 +09:00
Luke San Antonio
2cfb4d3381 Support plain text data URIs 2016-06-15 02:23:09 -04:00
Luke San Antonio
7e829563d6 Only use valid (triangle) primitive sets
ParsePrimitive returns false immediately on error but the return value
wasn't being checked in ParseMesh so invalid / uninitialized primitives
were being added to the mesh.
2016-06-15 02:15:23 -04:00
Luke San Antonio
3799fb3b2d Add newline to error messages in LoadExternalFile 2016-06-14 22:52:06 -04:00
Luke San Antonio
6ea02b4058 Add support for shaders, programs, and techniques 2016-06-14 22:51:53 -04:00
Luke San Antonio
d4401cd0bb Add function to parse string dictionaries
A string dictionary in the glTF spec is called a "dictionary object of
strings." For example: mesh.primitives.attributes, technique.attributes,
and technique.uniforms.
2016-06-14 22:47:50 -04:00
Syoyo Fujita
fcbe4b2915 Merge branch 'master' of github.com:syoyo/tinygltfloader 2016-06-11 16:33:46 +09:00
Syoyo Fujita
3ce2239940 Update README. 2016-06-11 16:33:32 +09:00
Syoyo Fujita
42246ec25c Improve windows build.
Don't report error when `in_normal` is not used in the shader.
2016-06-11 16:10:39 +09:00
Syoyo Fujita
0a05a4b92d Format source. 2016-06-06 01:26:57 +09:00
Syoyo Fujita
0c097f06d1 Initial glTF writer example(W.I.P). 2016-06-06 01:26:18 +09:00
Syoyo Fujita
ffee8a95f5 Print warning when bufferView.target == 0. 2016-06-06 01:20:52 +09:00
Syoyo Fujita
93fe92ff63 Print bufferView.target. 2016-06-06 01:20:32 +09:00
Syoyo Fujita
e06f56a43b Retinal display fix for glview. 2016-06-05 22:35:37 +09:00
Syoyo Fujita
e915183509 Add error check for scenes property. 2016-06-05 22:31:20 +09:00
Syoyo Fujita
6dfae80301 Missing indices print. 2016-06-05 22:17:19 +09:00
Syoyo Fujita
89eddf8b4e Suppress VS2015 warning. 2016-05-01 20:36:29 +09:00
Syoyo Fujita
2470a951f9 Make some compiler happy. 2016-05-01 20:27:30 +09:00
Syoyo Fujita
3ba3cadee4 Initial support of loading binary glTF(.glb). 2016-05-01 20:03:43 +09:00
Syoyo Fujita
cedc1d5886 Merge branch 'master' of github.com:syoyo/tinygltfloader
Conflicts:
	tiny_gltf_loader.h
2016-05-01 18:33:31 +09:00
Syoyo Fujita
232752a186 Suppress clang warnings for external code. 2016-05-01 17:19:37 +09:00
Syoyo Fujita
3303bc7f5c Suppress VC2015 warnings. 2016-04-20 14:13:08 +09:00
Syoyo Fujita
eab5ced99b Apply cpplint.
Use Google C++ style.
2016-04-20 14:06:56 +09:00
Syoyo Fujita
d1f22b9b0f Update test.cc 2016-03-18 00:55:21 +09:00
Syoyo Fujita
d6e4b2d02a Apply cpplint and format source code. 2016-03-17 21:31:13 +09:00
Syoyo Fujita
680cbea297 Merge branch 'master' of github.com:syoyo/tinygltfloader 2016-03-11 00:42:31 +09:00
Syoyo Fujita
84fcf8fd5f Disable ASAN for clang 3.7. 2016-03-11 00:41:49 +09:00
Syoyo Fujita
2e6d1f3c73 Merge pull request #2 from dgough/master
Fixed loading child nodes
2016-03-08 17:11:12 +09:00
Darryl Gough
df1c5262d9 Fixed loading child nodes
Fixed a bug that was preventing child nodes from being loaded.
2016-03-08 00:19:40 -05:00