Arthur Brainville (Ybalrid)
c3a6733db1
Add files to .gitignore
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-20 14:42:11 +01:00
Arthur Brainville
019dee91f2
Fix where stb image is actually implemented
...
Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-20 14:40:50 +01:00
Arthur Brainville (Ybalrid)
262e1d13f0
Setup CI for raytrace example
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-20 14:40:33 +01:00
Arthur Brainville (Ybalrid)
7ac021c928
Add a gltf_filename feild to the renderconfig struct
...
This is to get the filename that will be given to the gltf-loader
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 21:01:59 +01:00
Arthur Brainville (Ybalrid)
36312f8ee1
Applyind clang-format on main.cc. Included gltf-loader
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 20:24:57 +01:00
Arthur Brainville (Ybalrid)
80f1b5ba49
Move the implementation of stbi to it's own .cc file
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 20:09:24 +01:00
Arthur Brainville (Ybalrid)
3dc96bbfe4
Build the tinygltf loader code
...
Also remove the implementation of STB-Image from obj-loader.cc
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 19:55:02 +01:00
Arthur Brainville (Ybalrid)
2d52f2d3c8
Make this code buildable as is
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 19:21:38 +01:00
Arthur Brainville (Ybalrid)
598ea4b732
Add the current code of nanort + nanosg
...
This implementation will be based on commit
b31dc0bd92eb7ac896079849a2205fac4abbd087 from the nanort project
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 19:16:16 +01:00
Arthur Brainville (Ybalrid)
3f0158a8e4
Remove old nanort/nanosg code. Keep the gltf-loader class on hand
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-18 19:13:57 +01:00
Syoyo Fujita
1522d1da9b
Merge pull request #38 from o-micron/patch-2
...
Fix LoadImageData return value when error occurs
2018-02-10 16:53:00 +09:00
Omar C. F
3cec231409
Fix return value when error occurs
2018-02-10 09:50:35 +02:00
Syoyo Fujita
5a94d3e4f5
Merge pull request #37 from o-micron/patch-1
...
Add missing bmp and gif mimetypes
2018-02-10 16:11:35 +09:00
Omar C. F
8b311835c5
Add missing bmp and gif mimetypes
2018-02-10 09:09:41 +02:00
Syoyo Fujita
d484193480
Merge pull request #36 from Ybalrid/devel_add_gitignore
...
Add gitignore file
2018-02-02 00:57:32 +09:00
Arthur Brainville (Ybalrid)
1d18a7357e
Add gitignore file
...
Signed-off by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info >
2018-02-01 15:38:34 +01:00
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