Selmar Kok
60f97325b1
Merge remote-tracking branch 'origin/master' into serialization_fixes
2018-11-09 10:34:55 +01:00
Selmar Kok
a3595488e3
Fix missing serialization: sampler.wrapR
2018-11-09 10:34:39 +01:00
Syoyo Fujita
cf60322e73
Merge pull request #105 from rapidimages/bugfix/write_image_to_disk
...
Fixed a reference error which cause an error when writing images to disk
2018-11-07 00:56:34 +09:00
Johan Bowald
77decfaff8
fixed a reference error which cause an error when writing images to disk
2018-11-06 14:28:20 +01:00
Syoyo Fujita
e26117e026
Merge branch 'master' of github.com:syoyo/tinygltf
2018-11-05 13:33:27 +09:00
Syoyo Fujita
33514af61a
Fix logic error. Fixes #104
2018-11-05 13:32:43 +09:00
Syoyo Fujita
ba3c3c99ef
Merge pull request #102 from 1div0/master
...
Building glview failed
2018-10-28 15:30:21 +09:00
Syoyo Fujita
8d96b4a14e
Merge pull request #103 from Selmar/serialization_fixes
...
[serialization] handle failing buffer file writes
2018-10-26 02:12:24 +09:00
Selmar Kok
1cef6dcf33
Merge remote-tracking branch 'origin/master' into serialization_fixes
2018-10-25 16:48:14 +02:00
Selmar Kok
e46774940c
fail serialization if a buffer file fails to be written (e.g. due to access rights)
2018-10-25 16:45:49 +02:00
Peter Kovář
dddaee695d
Merge branch 'master' of https://github.com/1div0/tinygltf
2018-10-17 15:30:33 +02:00
Peter Kovář
a645cfc840
Added include directory ../common/ for trackball.h
2018-10-17 15:29:56 +02:00
Peter Kovář
040310e0d3
Added include direectory ../common/ for trackball.h
2018-10-17 15:24:59 +02:00
Syoyo Fujita
d9eddbfeb9
Merge pull request #101 from 1div0/master
...
make lint
2018-10-16 19:11:17 +09:00
Peter Kovář
10365a53ff
Fixed make lint
2018-10-16 12:03:45 +02:00
Peter Kovář
d0e293fd7d
Fixed typos
2018-10-16 12:00:24 +02:00
Syoyo Fujita
3b25d9130a
Merge pull request #100 from Selmar/serialization_fixes
...
yet another serialization fix
2018-10-11 01:25:12 +09:00
Selmar Kok
db7f4e4d04
fix an issue when serializing an empty extension object would serialize as type null (and thus deserialize as type null, causing it to be ignored)
2018-10-10 18:10:58 +02:00
Syoyo Fujita
30bbe0fe3c
Merge pull request #99 from Selmar/serialization_fixes
...
Pretty print & some (de)serialization fixes
2018-10-09 02:12:38 +09:00
Selmar Kok
ee3d06646d
// pretty print as optional parameter, default true
...
// serialize name instead of type for camera.name
// create empy Value::Object if extension value parsing failed
2018-10-08 16:20:43 +02:00
Syoyo Fujita
924d86e362
Serialize extension with empty object. Fixes #97
...
Use pretty printing JSON when serializing for the readability.
2018-10-08 21:18:33 +09:00
Syoyo Fujita
68353f1b34
Merge branch 'master' of github.com:syoyo/tinygltf
2018-10-07 20:35:14 +09:00
Syoyo Fujita
05a8d0bc52
Fix premake script.
2018-10-07 20:34:45 +09:00
Syoyo Fujita
39a263c2a8
Merge branch 'master' of github.com:syoyo/tinygltf
2018-10-06 03:20:31 +09:00
Syoyo Fujita
61673a62ef
Update README.
2018-10-06 03:20:11 +09:00
Syoyo Fujita
fdf105645b
Merge pull request #96 from Selmar/serialization_fixes
...
Serialization & comparison fixes
2018-10-06 01:36:27 +09:00
Selmar Kok
440cb1e66b
tabs to spaces
2018-10-05 16:30:50 +02:00
Selmar Kok
c884e5827e
better implementation for bin file name checking
2018-10-05 16:25:54 +02:00
Selmar Kok
7cb31e4e23
- support writing multiple bin files
...
- use existing buffer.uri as filename if not empty and not a data uri
2018-10-05 16:02:29 +02:00
Selmar Kok
2bda71c8fb
- always check Parameter::number_value to catch user errors, e.g. setting number_value without setting has_number_value, which will cause it to serialize as a bool but read back in as a float anyway
2018-10-05 14:36:05 +02:00
Selmar Kok
13b6402388
Merge branch 'master' of github.com:syoyo/tinygltf into serialization_fixes
2018-10-05 14:30:16 +02:00
Selmar Kok
8eb3904de2
- Parse image extras property
...
- Optionally serialize texture.source (it is not required in the current spec)
2018-10-05 14:29:35 +02:00
Syoyo Fujita
b5a72a1ba2
Remove duplicated files.
2018-10-04 15:48:17 +09:00
Syoyo Fujita
0820d83a9d
Update to v2.0.1
2018-10-04 15:45:13 +09:00
Syoyo Fujita
641b3ccf8c
Suppress clang warnings.
...
Apply clang-format.
2018-10-04 15:43:33 +09:00
Syoyo Fujita
7518334044
Merge pull request #95 from Selmar/equality_operator_and_some_additions
...
Equality operator and some additions
2018-10-04 13:56:35 +09:00
Syoyo Fujita
efc919c022
Merge branch 'master' into devel
2018-10-04 13:55:21 +09:00
Selmar Kok
fa0a998a8b
Merge branch 'master' of github.com:syoyo/tinygltf into equality_operator_and_some_additions
...
# Conflicts:
# tiny_gltf.h
2018-10-03 15:46:23 +02:00
Selmar Kok
31cb7f92d8
// equality operator for tinygltf::Model and types contained by it
...
// double comparison (although perhaps not necessary, as json reads/writes bytes directly? unsure..)
// initialize some variables for operator==() reliabiltiy
// change some floats to doubles
// intellisense define
// serialize accessor.name
// dont serialize some names if they're empty
// return false if writing gltf file fails
2018-10-03 15:39:05 +02:00
Syoyo Fujita
e59dd6a5c0
Update TODOs.
2018-09-25 03:03:49 +09:00
Syoyo Fujita
e66d8c992f
Add as-is flag to Image. Tentative solution for issue #82
2018-09-02 16:58:43 +09:00
Syoyo Fujita
3e53feb046
Parse extensions
property of Image.
2018-09-02 15:36:17 +09:00
Syoyo Fujita
9ec7109089
Bump clang version from 3.7 to 3.9 since clang-3.7 apt source is untrusted.
2018-08-30 21:27:11 +09:00
David Harmon
da9eac2fbe
Enable support for writing binary glTF.
2018-08-30 08:06:05 -04:00
Syoyo Fujita
5cf22e3abc
Merge branch 'master' of github.com:syoyo/tinygltf
2018-08-28 21:34:06 +09:00
Syoyo Fujita
a8f0b1c383
Suppress unknown pragma warning on clang 3.7
2018-08-28 21:33:40 +09:00
Syoyo Fujita
098dfee982
Merge pull request #92 from walf443/respect_stb_image_write_error
...
handling stbi_write_xxx_to_func return code
2018-08-28 21:33:07 +09:00
Keiji Yoshimi
c0cfc1ed95
handling stbi_write_xxx_to_func return code
2018-08-28 21:13:03 +09:00
Syoyo Fujita
be718436c1
Merge pull request #90 from victorbush/force_32bit_tex
...
Force default image loader to use 32-bit images
2018-08-23 12:51:43 +09:00
Victor Bushong
18ef338ff5
Force default image loader to use 32-bit images for Vulkan compatibility.
2018-08-22 22:03:30 -05:00