Commit Graph

220 Commits

Author SHA1 Message Date
Syoyo Fujita
4a6652650b Merge branch 'devel' of github.com:syoyo/tinygltf into devel 2018-01-21 12:20:00 +09:00
Syoyo Fujita
1c6707eb66 Set GL_DOUBLE value from OpenGL spec. Fixes #35. 2018-01-21 12:19:01 +09:00
Syoyo Fujita
c5a09f6a3b Suppress clang warnigns.
Refactor code to use C++11 features.
2018-01-16 18:55:13 +09:00
Syoyo Fujita
f283d4b070 Add more note on Visual Studio version. 2018-01-11 14:06:10 +09:00
Syoyo Fujita
f262e3b5bb Merge pull request #34 from Ybalrid/patch-1
Add language tags on code snippets in README
2018-01-10 20:52:24 +09:00
Arthur Brainville
0fc7d639e3 Add language tag on code snippets in README 2018-01-10 12:04:51 +01:00
Syoyo Fujita
609e801fc7 Describe note on Visual Studio version. 2018-01-10 18:32:51 +09:00
Syoyo Fujita
96c2123ae1 Merge pull request #33 from Ybalrid/CI_fix
Attempt to fix continuous integration (fix #31)
2018-01-10 18:30:45 +09:00
Arthur Brainville (Ybalrid)
d8d3e6c95d Change VS version to one that is better compatible with C++11
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
2018-01-10 09:09:21 +01:00
Syoyo Fujita
5ceb834077 Merge pull request #32 from Ybalrid/narrowingConversionWarning
Silence a MSVC warning about narrowing conversion
2018-01-10 12:20:28 +09:00
Arthur Brainville
3b05513ba9 Silence a MSVC warning about narrowing conversion
We actually want to convert a size_t value into an int value in this
return statement.

Fix the annoying MSVC warning by actually casting the bytestride to an
int

Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
2018-01-10 01:27:12 +01:00
Syoyo Fujita
5364f178ae Update README of gltf-validator. 2018-01-09 14:28:16 +09:00
Syoyo Fujita
920b12f991 Merge pull request #30 from Ybalrid/simplerMaterial
Simpler material data retreival
2018-01-09 12:19:03 +09:00
Arthur Brainville
3cd62e26e8 rename Color to ColorFactor
Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
2018-01-08 18:37:44 +01:00
Arthur Brainville
e4a2b2e942 Const qualify const methods
Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
2018-01-08 18:32:48 +01:00
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