Syoyo Fujita
5fb2914430
v2.6.1
2022-09-06 22:02:31 +09:00
Syoyo Fujita
51e9ef7375
Merge pull request #374 from syoyo/glb_chunk_check
...
Better GLB data size check when reading.
2022-09-06 21:35:47 +09:00
Syoyo Fujita
36adba82ac
Merge pull request #377 from zbendefy/master
...
Auto detect C++14 standard version
2022-09-06 14:01:26 +09:00
zbendefy
e57f3b69b1
Auto detect C++14 standard version
2022-09-05 23:54:57 +02:00
Syoyo Fujita
3847a94896
Merge pull request #376 from kacprzak/master
...
Read from moved object
2022-09-03 01:16:41 +09:00
Marcin Kacprzak
87b1030008
Fix read from moved object.
2022-09-02 16:15:54 +02:00
Marcin Kacprzak
a39a2fddd5
Silence MS code analysis tool.
2022-09-02 16:13:11 +02:00
Syoyo Fujita
04bb650656
Create codeql-analysis.yml
2022-09-02 05:09:09 +09:00
Syoyo Fujita
49068c01d4
GLB: Fix interger-overflow when calculating JSON Chunk size.
...
GLB: Check BIN Chunk size.
GLB: Chenk byte alignment of each chunk.
2022-08-26 22:06:53 +09:00
Syoyo Fujita
ed7fafa028
Update README.
2022-08-19 18:21:24 +09:00
Syoyo Fujita
1679a6c498
Merge branch 'master' of github.com:syoyo/tinygltf
2022-08-16 20:11:52 +09:00
Syoyo Fujita
d296c7696d
Do not expand file path since its not necessary for glTF asset path(URI) and for security reason(wordexp).
2022-08-16 20:08:45 +09:00
Syoyo Fujita
19bf21d06d
Merge pull request #367 from fynv/master
...
Sparse accessor: typo fix
2022-08-14 20:54:01 +09:00
Fei Yang
bd2b751fd2
Merge branch 'syoyo:master' into master
2022-08-14 19:50:14 +08:00
feiy
0b6a2760d8
Sparse accessor serialization: typo fix.
2022-08-14 19:49:07 +08:00
Syoyo Fujita
95eefb47a7
Merge pull request #366 from fynv/master
...
Adding serialization code for sparse accessors.
2022-08-13 18:34:24 +09:00
feiy
4295f161a5
Adding serialization code for sparse accessors.
2022-08-13 10:08:17 +08:00
Syoyo Fujita
67df4251a1
Partial fix of issue 365
2022-08-02 01:05:34 +09:00
Syoyo Fujita
16e4bb0c9f
Check the failure of RapidJson Accept(). Fixes #332
...
TODO: Better error reporting when Accept() failed.
2022-07-13 19:03:33 +09:00
Syoyo Fujita
83bdfdecc0
Merge pull request #362 from hschwane/master
...
fix images not beeing embeded into stream
2022-06-29 20:16:35 +09:00
Hendrik Schwanekamp
8c343088f0
fix images not beeing embeded into stream
2022-06-29 12:22:40 +02:00
Syoyo Fujita
f4107bffdb
Merge pull request #357 from eariassoto/fix-basic-example
...
Fix basic example
2022-05-15 20:06:17 +09:00
Syoyo Fujita
8a1be0a5c0
Merge pull request #358 from brlcad/patch-2
...
treat powerpc as big endian too
2022-05-15 20:02:28 +09:00
Christopher Sean Morrison
fbc1646c9c
treat powerpc as big endian too
...
added powerpc to the list of big endian types
2022-05-14 19:00:19 -04:00
Emmanuel Arias Soto
540a4d3862
Fix basic example
...
Context: When parsing a mesh with primitives that have indices pointing to different buffer views, the VAO will use the last GL_ELEMENT_ARRAY_BUFFER that was bound to it. In this scenario, the mesh will not be rendered properly.
When binding a mesh, return VAO and EBOs so that primitives can bind to the proper element array buffer.
2022-05-14 19:54:03 +02:00
Syoyo Fujita
0c708d2e47
Add Open3D to "projects using TinyGLTF".
2022-05-07 01:35:14 +09:00
Syoyo Fujita
740401a6bf
Merge pull request #353 from mgerhardy/master
...
Fixed find_last_of call in GetBaseFilename
2022-03-14 14:50:32 +09:00
Martin Gerhardy
c884a487b8
Fixed find_last_of call in GetBaseFilename
...
this leads to a stack overflow on linux - it looks like this magically works on msvc though...
2022-03-13 18:42:39 +01:00
Syoyo Fujita
c1252029b1
Add note on componentType double type.
2022-03-03 16:40:54 +09:00
Syoyo Fujita
66c0d21c6d
Merge pull request #350 from tsmaster/master
...
Examples/glview - apply translation, rotation, scale in that order
2022-03-03 03:16:29 +09:00
Dave LeCompte
ddaa493677
Examples/glview - apply translation, rotation, scale in that order
...
Tested on the Kenney.nl CarKit models: https://www.kenney.nl/assets/car-kit
2022-03-02 07:01:34 -08:00
Syoyo Fujita
2bbc787e9e
Merge pull request #349 from tsmaster/master
...
Fix examples/glview rotations
2022-03-02 02:55:15 +09:00
Dave LeCompte
824c484ff7
Fix examples/glview rotations
...
GLtf defines rotations as quaternions, glRotated expects angle/axis, with angle in degrees.
2022-03-01 08:11:22 -08:00
Syoyo Fujita
87d63d3ae5
Merge pull request #347 from syoyo/jmousseau-sparse-accessor-optionality
...
Jmousseau sparse accessor optionality
2022-02-26 21:27:35 +09:00
Syoyo Fujita
4dbe3fbc9e
Check required attribute exists for SparseAccessor.
2022-02-26 21:19:15 +09:00
Jack Mousseau
c907478c21
Fix byte offset optionality for sparse accessor indices and values
2022-02-24 14:25:37 -08:00
Syoyo Fujita
214f34e15d
Merge pull request #345 from syoyo/github-actions-ci-fix
...
GitHub actions ci fix
2022-02-25 02:07:46 +09:00
Syoyo Fujita
5ec798ece7
VS2019 seems gone. Use VS2022.
2022-02-25 01:39:02 +09:00
Syoyo Fujita
fec371c44a
Print cmake help
2022-02-25 01:25:15 +09:00
Syoyo Fujita
1f15dc9908
Specify x64 for MSVC build.
2022-02-25 01:11:51 +09:00
Syoyo Fujita
20092dd0a6
Merge pull request #344 from epajarre/fix-wrapS
...
Added missing comparison for wrapS
2022-02-24 21:52:43 +09:00
Eero Pajarre
e4170b5330
Added missing comparison for wrapS
2022-02-24 14:38:20 +02:00
Syoyo Fujita
2e19f59c6f
Merge pull request #342 from brlcad/patch-1
...
add missing switch case for binary
2022-02-24 03:34:58 +09:00
Christopher Sean Morrison
4e1d0e4ba3
add missing switch case for binary
...
with warnings cranked up and warnings-as-errors enabled, the compiler throws an error due to this switch missing a case for binary. this makes the ignore explicit in order for compilation to proceed.
2022-02-23 10:02:49 -05:00
Syoyo Fujita
3b4e2f3d3c
Merge pull request #341 from mushrom/loopfix
...
Fixing loop index
2022-02-14 17:10:31 +09:00
My Name
763536f5bf
Fixing loop index
2022-02-13 16:31:27 -05:00
Syoyo Fujita
41aacdf808
Merge pull request #339 from yslking/yslking-update-json-hpp-3-10-4
...
update json.hpp to v3.10.4 to compile with c++20 compilers
2021-11-28 22:25:34 +09:00
yslking
287b48319e
update json.hpp to v3.10.4
2021-11-28 15:08:05 +08:00
Syoyo Fujita
134e87705a
Fix typo from PR #320
2021-11-21 18:59:10 +09:00
Syoyo Fujita
af9af1cd7f
Merge branch 'master' of github.com:syoyo/tinygltf
2021-11-21 18:58:39 +09:00