Syoyo Fujita
261f2d9ee2
Do not segfault when the scene does not contain texture images. Fixes #251
2020-04-06 22:11:16 +09:00
Syoyo Fujita
70456ba892
Merge branch 'uri-decode'
2020-03-03 18:49:27 +09:00
Syoyo Fujita
027e39e8fb
Update copyright year.
...
Add note on the result from fuzzer test.
2020-02-24 01:36:24 +09:00
Syoyo Fujita
b3012ec8cf
Merge pull request #243 from mfpgs/reading_copyright
...
Reading copyright field in ParseAsset()
2020-02-20 23:42:14 +09:00
Miguel Sousa
632810eeca
Reading copyright field in ParseAsset()
2020-02-20 14:16:58 +01:00
Syoyo Fujita
65b84dc4d0
Merge pull request #242 from Selmar/some_empty_array_fixes
...
Some empty array fixes
2020-01-29 01:27:44 +09:00
Selmar Kok
694f27461d
Merge remote-tracking branch 'origin/master' into some_empty_array_fixes
2020-01-28 13:46:22 +01:00
Selmar Kok
3c15e73a6b
dont serialize a couple of empty arrays
2020-01-28 13:45:38 +01:00
Syoyo Fujita
6f8ae41bad
Merge pull request #240 from kacprzak/master
...
Set target for bufferView used by MorphTargets
2020-01-22 22:32:41 +09:00
Marcin Kacprzak
327d1da3ee
Set target for bufferView used by MorphTargets
2020-01-22 13:13:35 +01:00
Syoyo Fujita
1bb2cd5ee1
Merge pull request #239 from Selmar/channel_target_extensions
...
Channel target extensions
2020-01-22 03:52:20 +09:00
Selmar Kok
02da28450a
Merge remote-tracking branch 'origin/master' into channel_target_extensions
2020-01-21 18:46:58 +01:00
Selmar Kok
2ded9adf42
add channel.target extensions
2020-01-21 18:45:24 +01:00
Syoyo Fujita
853477d8d1
Add clang fuzzer tester.
2020-01-18 20:31:54 +09:00
Syoyo Fujita
fbcf87bbcb
Merge pull request #238 from sammyKhan/patch-1
...
Initialize defaultScene to -1
2020-01-17 21:58:00 +09:00
sammyKhan
b0b17ed287
Initialize defaultScene to -1
...
To prevent undefined behavior if the model is serialized without defaultScene being set explicitly.
2020-01-17 13:41:16 +01:00
Syoyo Fujita
77e876f188
Possible fix for error: invalid path 'models/CubeImageUriSpaces/ 2x2 image has multiple spaces.png ' on Windows(NTFS? dislikes extra white space after the file extension )
2020-01-17 16:15:03 +09:00
Syoyo Fujita
d9da585754
Merge pull request #237 from FrankGalligan/fix_image_uri_with_spaces
...
Fix loading images with spaces on Linux
2020-01-14 18:00:48 +09:00
Frank Galligan
d2cdff2070
Fix loading images with spaces on Linux
...
This change quotes the string before it is passed into wordexp.
This addresses issue https://github.com/syoyo/tinygltf/issues/236
2020-01-13 15:06:56 -08:00
Syoyo Fujita
8c96c56a6e
Add dlib license.
2020-01-08 02:39:46 +09:00
Syoyo Fujita
fabe172bf0
Initial support of decoding percent-encoding URI.
2020-01-08 02:38:01 +09:00
Syoyo Fujita
b4ef9baee7
Merge pull request #235 from ziocleto/master
...
BufferView ctor now uses correct members order.
2020-01-08 00:52:09 +09:00
Syoyo Fujita
e943dfccf8
Merge pull request #233 from 8i/fix-animation-sampler-serialization
...
Reserve space for animation samplers in serialization
2020-01-08 00:47:41 +09:00
Syoyo Fujita
c1d4f36bb1
Suppress clang warnings. Fixes #234
2020-01-08 00:40:41 +09:00
Dado
4c1bb4fb87
BufferView ctor now uses correct members order.
...
tiny_gltf.h line 815
(Moved target(0) to second to last)
2020-01-07 14:41:12 +00:00
Jacek
7ddfe918c6
Reserve space for animation samplers in serialization
2020-01-06 15:15:21 -06:00
Syoyo Fujita
0c4d18ee99
Fill BufferView variables with initial/invalid values just in case.
2020-01-02 22:07:25 +09:00
Syoyo Fujita
04d455acd4
Merge pull request #232 from kacprzak/master
...
Do not set target on bufferView pointing to animation data
2020-01-02 21:53:53 +09:00
Marcin Kacprzak
5cff80f10d
Do not set target on bufferView pointing to animation data
2020-01-02 13:00:48 +01:00
Syoyo Fujita
741d8f4ba6
Allow empty buffer when serializing glTF buffer data.
2019-12-19 14:20:01 +09:00
Syoyo Fujita
b20add1cde
Merge pull request #230 from itainter/fix-primitive-extension
...
Fix the issue that the extension of primitive written as extension of mesh.
2019-12-18 13:33:46 +09:00
zhaozhiquan
478c77d6f9
Fix the issue that the extension of primitive written as extension of mesh.
2019-12-18 11:28:57 +08:00
Syoyo Fujita
37e3258fc4
Merge branch 'master' of github.com:syoyo/tinygltf
2019-11-24 20:50:50 +09:00
Syoyo Fujita
ff0233dc63
Update READE.
2019-11-24 20:50:35 +09:00
Syoyo Fujita
32a9b96024
Merge pull request #226 from epajarre/glb-bin-blob
...
Glb bin blob
2019-11-19 01:30:10 +09:00
Eero Pajarre
f161e7c048
Added support for BIN chunk when saving in glb format
...
If saving in glb (binary) format the first buffer in
model is saved as gbl chunk number 1 in binary format.
This operation is not performed if the first buffer
as an url specified.
2019-11-18 14:15:48 +02:00
Eero Pajarre
29c307fef5
Only serialize Accessor.normalized if it is true
2019-11-18 13:09:25 +02:00
Eero Pajarre
fa9f361ab2
Added Accessor initializers
...
Added Accessor intializers
Now byteOffset and normalized are initialized to their default
values. componentType and Type are initialized to bad values
on purpose, they must be set when loading or creating the model.
2019-11-18 12:59:05 +02:00
Syoyo Fujita
4accacb877
not is alternative keyword and not recommended to use. Fixes #225
2019-11-17 02:11:59 +09:00
Syoyo Fujita
d6f17af683
Merge branch 'master' of github.com:syoyo/tinygltf
2019-11-16 17:00:42 +09:00
Syoyo Fujita
7eebbb6d68
Correct computation of padding size. Fixes #224 .
2019-11-16 17:00:17 +09:00
Syoyo Fujita
634ab23649
Fix MinGW code path reused linux code path.
2019-11-10 15:31:17 +09:00
Syoyo Fujita
c6180a1da4
Merge pull request #223 from syoyo/mingw-fix
...
Mingw fix
2019-11-10 02:03:18 +09:00
Syoyo Fujita
8c9ae15ca8
fopen_s -> fopen in linux(posix) code path.
2019-11-09 20:52:56 +09:00
Syoyo Fujita
34a5b83726
Fix utf8 filepath on MinGW based on PR 222.
2019-11-09 20:42:55 +09:00
Syoyo Fujita
e5f1b3f7d7
Add URL of Vulkan-Samples.
2019-11-08 14:45:16 +09:00
Syoyo Fujita
29b910a43b
Merge pull request #220 from Selmar/doublesided_default_serialization
...
Doublesided default serialization
2019-11-01 13:39:36 +09:00
Selmar Kok
516e246ce3
Merge branch 'master' of github.com:syoyo/tinygltf into doublesided_default_serialization
2019-10-31 15:10:03 +01:00
Selmar Kok
0224a66f43
only serialize doublesided if it is not the default value
2019-10-31 15:08:03 +01:00
Syoyo Fujita
24fdf47392
Merge pull request #219 from syoyo/travis-gcc-4.8
...
Travis gcc 4.8
2019-10-31 19:34:33 +09:00