Commit Graph

205 Commits

Author SHA1 Message Date
Arthur Brainville
9adf96e18e Add little utility methods to access the content of a Parameter object
Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
2018-01-08 18:25:52 +01:00
Syoyo Fujita
8de2b17bb5 Remove unnecessary text. 2018-01-05 20:21:27 +09:00
Syoyo Fujita
eb80ec13da Describe more about C++ exception. 2018-01-05 20:17:37 +09:00
Syoyo Fujita
1b0040eff8 Fix argument to catch claus was wrong.
Add support to compile TinyGLTF with no C++ exception(TINYGLTF_NOEXCEPTION). Fixes #18.
Add initial unit tests.
2018-01-05 20:14:46 +09:00
Syoyo Fujita
c7ebe93a70 Add method for computing byteStride to Accessor struct.
This would fix issue #29.
2018-01-03 17:47:08 +09:00
Syoyo Fujita
6f61b712a0 Add name of Adrien and many contributrors. 2017-12-31 18:36:02 +09:00
Syoyo Fujita
d5fa49cc23 Merge pull request #28 from Ybalrid/devel
Create LICENSE file according to the terms of the MIT License agreement
2017-12-31 15:02:01 +09:00
Arthur Brainville
f1f71ea8e2 Create LICENSE
This library is an awesome project, and I can imagine a lot of 3D application written in C++ would happily use it to load glTF assets ;-)

However, the license wasn't properly stated on the project. To actually put work under the term of the MIT license agreement, a copyright notice **needs** to be distributed alongside the source code.

It is also standard practice to add a warranty disclaimer. This prevent people to hold you liable if (at least they think) something doesn't work because of this library.

I took the liberty to put the file in place, with your full name as stated on your GitHub profile as the copyright holder. This is the text that states that you, the author, grants the to other people to use this as a free/open-source software, with all the thing that comes with it (access to source code, right to modify, redistribute, redistribute modified version, and use for any purpose they like) 

Sorry for the annoyance ^^"
2017-12-31 04:07:06 +00:00
Syoyo Fujita
257b222d97 Report error message. 2017-12-19 18:45:22 +09:00
Syoyo Fujita
5dacfedc52 Update README. 2017-12-19 18:29:34 +09:00
Syoyo Fujita
e74a6cbdd0 Fix wrong return value(Fixes #26) 2017-12-19 17:58:32 +09:00
Syoyo Fujita
78bd58a6ba Merge branch 'patch-1' of https://github.com/cemdervis/tinygltf into cemdervis-patch-1 2017-12-10 00:39:52 +09:00
Syoyo Fujita
6c1458f91f Rename premake config script. 2017-12-08 19:45:33 +09:00
Cemalettin Dervis
3d3ecb7465 Fixed typo ("RPEAT") 2017-12-07 21:58:15 +01:00
Cemalettin Dervis
9cf0faece1 Fixed typo ("RPEAT") 2017-12-07 20:29:51 +01:00
Syoyo Fujita
231f88170f Update README. 2017-12-03 17:26:25 +09:00
Syoyo Fujita
3c32ec327b Update README. 2017-12-03 17:19:55 +09:00
Syoyo Fujita
ad73117961 Merge branch 'validator' into jsoncpp 2017-12-03 17:17:03 +09:00
Syoyo Fujita
0b2e671dd7 Use C++11 in Travis build and appveyor build. 2017-12-02 21:22:58 +09:00
Syoyo Fujita
7daa01260f Fix compilation. 2017-12-02 21:21:06 +09:00
Syoyo Fujita
770995fa00 Use C++11 flag. 2017-12-02 21:18:59 +09:00
Syoyo Fujita
f101588f35 Merge branch 'devel' into jsoncpp 2017-12-02 21:14:13 +09:00
Syoyo Fujita
684e3e03d0 Add workaround for parsing glTF schemas 2017-11-25 19:55:28 +09:00
Syoyo Fujita
5e4f2b4c4e Add json-schema-validator code. 2017-11-25 18:32:56 +09:00
Syoyo Fujita
0df6904e64 Describe supported platforms in README.
Better isnan/isinf availabity test(I guess).
2017-11-15 13:55:14 +09:00
Syoyo Fujita
0eaf4daa5c Fix compile on iOS. Fixes #24. 2017-11-15 01:03:09 +09:00
Syoyo Fujita
cd5146025a Merge pull request #23 from e-schrade/devel
Parse KHR_Lights_cmn extension
2017-11-08 01:56:08 +09:00
Emanuel Schrade
fafd4eca2a Parse KHR_Lights_cmn extension 2017-11-06 11:14:49 +01:00
Syoyo Fujita
4959fc4857 User lowercase for Windows.h. Fixes #22. 2017-11-05 17:18:46 +09:00
Syoyo Fujita
92fc93d641 Use json.hpp instead of picojson(W.I.P.) 2017-11-05 17:13:24 +09:00
Syoyo Fujita
bd8b97272a Improve error message. 2017-10-19 18:48:26 +09:00
Syoyo Fujita
f0c8a9b357 Merge pull request #21 from thestr4ng3r/devel
Disable wordexp for Android
2017-09-23 00:07:20 +09:00
Florian Märkl
763d610b5f Disable wordexp for Android 2017-09-22 15:25:48 +02:00
Syoyo Fujita
085f45f8de Merge pull request #20 from jianghaosen/devel
fix(row1728): accessor->normalize is a local variables and forget ini…
2017-08-29 22:29:57 +09:00
jianghaosen
60ca87443a fix(row1728): accessor->normalize is a local variables and forget initial it. Beside, the value of p
accessor->normalize is a local variables and forget initial it, it may be true or false. Beside, the
value of parse glTF do not assign to normalize.
2017-08-29 20:08:37 +08:00
Syoyo Fujita
69baa8c207 Remove installing cpp-coverage tool 2017-08-26 17:05:05 +09:00
Syoyo Fujita
70cf37d8ca Merge pull request #19 from jianghaosen/devel
fix(row926): a bug that filename is empty when parse glb
2017-08-26 17:03:58 +09:00
jianghaosen
4d9b6ed661 fix(row926): a bug that filename is empty when parse glb
when parse glb, filename maybe a empty value, it will be wrong
2017-08-25 21:01:17 +08:00
Syoyo Fujita
0cf19c377f Check if JSON element is valid JSON object or not. Now all fuzz input passes. Fixes #16. 2017-08-01 20:23:11 +09:00
Syoyo Fujita
b7947657dd Wrap picojson::parse with exception clause to catch JSON parsing error. 2017-08-01 20:12:08 +09:00
Syoyo Fujita
181f2fc639 Hardened parsing and solved some issue found by fuzzer(issue 16). 2017-08-01 18:15:52 +09:00
Syoyo Fujita
37d71b31e0 Fix config setting. 2017-07-23 19:21:04 +09:00
Syoyo Fujita
d8491c2d0e Add codes for raytrace example(W.I.P.) 2017-07-23 19:11:39 +09:00
Syoyo Fujita
18b8815641 Update travis badge URL. 2017-07-14 01:15:34 +09:00
Syoyo Fujita
d37d8b0fb2 Update README. 2017-07-13 18:23:29 +09:00
Syoyo Fujita
f39a6fdbf0 Initial support of parsing/serializing Camera. 2017-07-13 18:20:14 +09:00
Syoyo Fujita
5e31c99bdb Remove binary extension since glTF 2.0 supports binary format in native manner. 2017-07-13 01:28:55 +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
0406cb9725 Merge pull request #12 from Teybeo/devel
Update Readme.md
2017-07-12 15:28:18 +09:00
Teybeo
1af81c9a00 Update Readme.md 2017-07-09 20:45:28 +02:00