Syoyo Fujita
d1453b5e5e
GLEW_LIBRARY -> GLEW_LIBRARIES
2021-06-09 21:23:37 +09:00
Syoyo Fujita
7e83ef9fb4
Merge pull request #327 from CppProgrammer23/master
...
update enum Type
2021-05-20 20:44:16 +09:00
Idriss Chaouch
425195bf9c
update enum Type
...
the first element in an enum is 0, so it's not necessarily to affect values from 0 to 7.
2021-05-20 12:11:00 +01:00
Syoyo Fujita
ce3a30e612
Merge pull request #326 from xzrunner/master
...
Fix comment on minFilter
2021-05-14 15:06:07 +09:00
zz
8a35b8f6fe
Fix comment on minFilter
2021-05-14 13:49:33 +08:00
Syoyo Fujita
f66f3bfeb3
Merge pull request #325 from iceydee/scene-extras
...
Store scene extras and extensions on the scene
2021-05-11 19:01:25 +09:00
Mio Nilsson
e29ba7c49a
🐛 Store scene extras and exteions on the scene
...
This was being stored in the wrong place
2021-05-11 11:50:35 +02:00
Syoyo Fujita
bc753d4ac5
Merge pull request #322 from syoyo/fix-negative-skeleton-id
...
Do not serialize skeleton id -1
2021-04-29 16:20:42 +09:00
Syoyo Fujita
688ba8a60e
Add regression test for issue 321
2021-04-29 16:04:52 +09:00
Syoyo Fujita
d07b976d59
Do not write negative skeleton
id(skeleton is not assigned).
...
Also ensure `inverseBindMatrices` should not be -2 or other negative values.
2021-04-28 19:15:16 +09:00
Syoyo Fujita
08a7dd8dad
Merge pull request #317 from Snowapril/master
...
Delete unused variable initialization code
2021-03-30 03:15:26 +09:00
snowapril
87da1e775f
Delete unused variable initialization code
...
Line 4536 in tinygltf.h file, there is unused variable initialization code like below.
```c++
const auto pBuffer = pAttribute->buffer();
```
gcc compiler complain about that unused variable.
I found there is no side-effect in `pAttribute->buffer()` call and also pBuffer variable is never used. Therefore I delete that line entirely.
2021-03-30 00:16:04 +09:00
Syoyo Fujita
151495558e
Merge pull request #314 from Snowapril/master
...
Add (void)err for handling unused variable warning
2021-03-20 19:59:44 +09:00
snowapril
84e15260ba
add (void)err for handling unused variable warning
...
I saw in the `ParseExtensionsProperty`(3667) function,
unused variable err argument is wrapped with (void) keword.
I think err argument in the `ParseDracoExtension`(4472) is exactly
same situation with the above one.
For consistency, I think it need to be added (void)err in the
`ParseDracoExtension` function.
2021-03-20 19:25:58 +09:00
Syoyo Fujita
03cdef430d
Merge pull request #312 from AlvaroBarua/no_include_rapidjson
...
Added TINYGLTF_NO_INCLUDE_RAPIDJSON
2021-03-19 14:32:35 +09:00
AlvaroBarua
fb4bd82e2c
Updated Readme.md
2021-03-18 18:40:09 +00:00
Alvaro Barua
3ddf8301f6
Added TINYGLTF_NO_INCLUDE_RAPIDJSON for consistency and because my project already used rapidjson/
2021-03-18 00:21:23 +00:00
Syoyo Fujita
298c37a954
Merge pull request #310 from syoyo/write-assert-version
...
`asset.version` is a required field
2021-03-03 00:35:55 +09:00
Syoyo Fujita
b702de755f
asset.version
is a required field so write "2.0" when asset.version
is empty. Fixes #308
2021-03-02 19:08:29 +09:00
Syoyo Fujita
58ceed1d89
Add CMake file and Makefile for examples/build-gltf
2021-02-26 18:34:00 +09:00
Dov Grobgeld
d1b6b3a5aa
Add example for creating a triangle gltf file from scratch
2021-02-26 09:30:05 +02:00
Syoyo Fujita
c56d069726
Merge pull request #306 from mahiuchun/const
...
Drop an unnecessary 'const'.
2021-02-21 16:07:51 +09:00
Hill Ma
d1e32865f1
Drop an unnecessary 'const'.
2021-02-20 22:30:44 -08:00
Syoyo Fujita
869a9d273c
Merge pull request #305 from Selmar/patch-2
...
check correct `extensionsUsed` for serialization
2021-02-02 14:17:34 +09:00
Selmar
1208f057d6
check correct extensionsUsed
for serialization
2021-02-01 19:24:41 +01:00
Syoyo Fujita
f684dde9f1
Merge pull request #303 from syoyo/int-minmax-serialize
...
Issue #301 . Serialize accessor min/vax value as int
2021-01-22 03:40:52 +09:00
Syoyo Fujita
7905a5b4dc
Issue #301 . Serialize accessor min/vax value as int if its component type is an integer.
2021-01-21 20:33:11 +09:00
Syoyo Fujita
f161782001
Merge pull request #299 from DethRaid/patch-1
...
Add my project to the README
2020-12-23 15:46:32 +09:00
David Dubois
654bcf733c
Add my project to the README
...
My personal project uses tinygltf so i want to add it to the "Projects using TinyGLTF" section of the README
2020-12-22 22:32:59 -08:00
syoyo
001c870051
Make cmake script add_subdirectory
friendly.
2020-12-18 01:10:21 +09:00
Syoyo Fujita
2c521b3432
Remove sampler.wrapR parameter(unused tinygltf extension). Fixes #287
...
Suppress clang `-Wdocumentation-unknown-command` warning.
2020-12-04 00:50:46 +09:00
Syoyo Fujita
a159945db9
Add document for TinyGLTF::SetPreserveimageChannels
.
v2.5.0
2020-10-31 19:40:33 +09:00
Syoyo Fujita
010ee9c67b
Add SetPreserveImageChannels feature(preserve image channels in stored image file. Only effective when using builtin ImageLoad function(STB image load)).
2020-10-31 19:35:55 +09:00
Syoyo Fujita
a23971c603
Merge pull request #295 from syoyo/empty-material
...
Empty material
2020-10-23 04:05:19 +09:00
Syoyo Fujita
1923067982
Fix build when using RapidJSON backend.
2020-10-22 22:38:56 +09:00
Syoyo Fujita
68adc4ba5e
Serialize empty JSON object when material has all default parameters. Fixes #294 .
2020-10-22 22:27:12 +09:00
Syoyo Fujita
42a8cd50ff
Merge branch 'master' of github.com:syoyo/tinygltf
2020-10-22 21:51:01 +09:00
Syoyo Fujita
0543640a83
Merge pull request #290 from Coast-Coader/master
...
Minor change to the example of usage with opengl (basic example)
2020-09-29 14:28:47 +09:00
Eschemann
9c59a0b64c
Deleted unnessecary stuff2
2020-09-28 16:06:31 +02:00
Eschemann
452541a231
Deleted unnessecary stuff
2020-09-28 16:04:14 +02:00
Eschemann
78fe8d9b89
Fixed segfault in example basic on inter graphics hd and corrected path to model
2020-09-28 15:50:45 +02:00
Syoyo Fujita
51e5508fa0
Add note on sajson
branch.
2020-08-09 21:18:28 +09:00
Syoyo Fujita
91da299729
Fix inequality. Should allow 0 for bufferView.
v2.4.0
2020-07-15 13:52:39 +09:00
Syoyo Fujita
50ae8a31a8
Merge branch 'master' of github.com:syoyo/tinygltf
2020-07-14 22:05:28 +09:00
Syoyo Fujita
0af0435ef1
Renamed directory name.
2020-07-14 22:04:26 +09:00
Syoyo Fujita
7c342533e9
Add scene date for issue 280
2020-07-14 22:02:51 +09:00
Syoyo Fujita
7842c1276f
Merge pull request #281 from rbsheth/sparse_morph_fix
...
Fix sparse morph targets
2020-07-14 15:35:37 +09:00
Rahul Sheth
125e4a2033
Fix sparse morph targets
2020-07-13 13:56:50 -04:00
Syoyo Fujita
c9d6c5b9b4
Merge pull request #278 from rbsheth/string_fix
...
Use std::string for GetKey function
2020-07-11 03:41:11 +09:00
Rahul Sheth
96a8b2c69b
Run clang-format
2020-07-10 14:27:46 -04:00