Commit Graph

  • 19c394de3f Apply clang format. Remove const static std::string global variable. Syoyo Fujita 2019-08-24 16:29:14 +09:00
  • 8733047d09 Add Set/Get SerializeDefaultValues method(W.I.P.) Syoyo Fujita 2019-08-21 14:23:00 +09:00
  • d44eccda9a Merge pull request #195 from ux3d/fix/parse-int-as-double Syoyo Fujita 2019-08-20 19:33:20 +09:00
  • 8935b0120e Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2019-08-20 17:11:29 +09:00
  • f20f38ac5e Suppress clang warnings. Syoyo Fujita 2019-08-20 17:10:30 +09:00
  • 08f08792c9 Merge pull request #193 from Selmar/emissiveFactor_defaults Syoyo Fujita 2019-08-20 13:13:12 +09:00
  • ab4280c8c1 when parsing a number from an int, also set the 'real value' to the value Benjamin Schmithüsen 2019-08-19 16:16:43 +02:00
  • 0bf4804fa9 [emissiveFactor] correct default values Selmar Kok 2019-08-19 11:23:31 +02:00
  • a67e3142b6 [emissiveFactor] fix inconsistency with baseColorFactor where default values were set only for baseColorFactor and not emissiveFactor Selmar Kok 2019-08-19 11:05:28 +02:00
  • d4911dba7a Merge pull request #191 from Selmar/animation_extension_properties Syoyo Fujita 2019-08-17 01:09:34 +09:00
  • 360fcceffd Merge branch 'master' of github.com:syoyo/tinygltf into animation_extension_properties Selmar Kok 2019-08-16 17:54:14 +02:00
  • 8413d4dcb2 Merge pull request #190 from ux3d/feature/parse-node-weights Syoyo Fujita 2019-08-16 22:21:48 +09:00
  • fca385532d serialize node weights Benjamin Schmithüsen 2019-08-16 14:24:26 +02:00
  • 7cfd83cad0 parse node weights Benjamin Schmithüsen 2019-08-16 14:19:27 +02:00
  • acdac036b6 Merge branch 'master' of github.com:syoyo/tinygltf Selmar Kok 2019-08-16 14:08:31 +02:00
  • 4e73f75e58 add extension property for Animation and AnimationChannel Selmar Kok 2019-08-16 14:08:08 +02:00
  • 8bbec46809 Set default value of minFilter and magFilter in Sampler to -1(unset), since glTF 2.0 spec does not declare default values for it. Fixes #186 Syoyo Fujita 2019-08-16 13:11:30 +09:00
  • 165e0f6efe Fix inequality of texture index check when serializing texture of material. Texture info was written even if it have invalid index(-1). Fixes #189 Syoyo Fujita 2019-08-15 12:25:50 +09:00
  • 11a0e6c2f0 Merge pull request #188 from ux3d/fix/alphaMode Syoyo Fujita 2019-08-14 21:40:07 +09:00
  • d7cc2d88ad Fixed saving of alphaMode if not OPAQUE Removed duplicated code for alphaCutoff Patrick Härtl 2019-08-14 14:14:07 +02:00
  • 1fb50ed9ec Merge pull request #185 from DerouineauNicolas/endif Syoyo Fujita 2019-08-14 03:09:53 +09:00
  • 8ed23ea55f remove extra #endif in examples/basic app nicolasDEROUINEAU 2019-08-13 15:08:01 +02:00
  • b909fd7093 Merge pull request #182 from ux3d/textureinfo Syoyo Fujita 2019-07-26 01:29:23 +09:00
  • c529f89dfc fix default value checks for serialization Benjamin Schmithüsen 2019-07-25 16:07:27 +02:00
  • 271eea8b55 Change the behavior of NUMBER value in Value class. NUMBER now reprents the value is either int or real(floating point). Syoyo Fujita 2019-07-25 19:22:44 +09:00
  • dee354ca13 Update README. Add note on tinygltf::Value for extensions. Syoyo Fujita 2019-07-24 19:52:22 +09:00
  • b0fd588748 Now material is parsed as a struct with explicit parameter definitions. Implement Material struct serialization. Syoyo Fujita 2019-07-24 19:26:48 +09:00
  • 2553ec9719 Introduce TextureInfo class(W.I.P.) Syoyo Fujita 2019-07-23 22:37:06 +09:00
  • d24b40d6f0 Merge pull request #180 from ux3d/master Syoyo Fujita 2019-07-23 18:55:34 +09:00
  • fd606a4bf5 Merge pull request #178 from rapidimages/feature/write-to-streams Syoyo Fujita 2019-07-17 18:53:35 +09:00
  • f841314b72 clang format Johan Bowald 2019-07-17 09:06:45 +02:00
  • 6c0a0c12be call json constructor explicitly Benjamin Schmithüsen 2019-07-16 17:07:45 +02:00
  • bcc77d9517 can write to streams Johan Bowald 2019-07-16 14:50:46 +02:00
  • a7880a56a5 Merge pull request #2 from syoyo/master Benjamin Schmithüsen 2019-07-15 15:13:50 +02:00
  • af77f1d253 Merge pull request #176 from ux3d/feature/update-lights Syoyo Fujita 2019-07-10 21:20:12 +09:00
  • afda04abb0 serialize lights Benjamin Schmithüsen 2019-07-09 17:59:20 +02:00
  • aafed18dfa fix spot light parsingg Benjamin Schmithüsen 2019-07-09 16:55:55 +02:00
  • e855ffe54c parse additional light properties and fix defaults Benjamin Schmithüsen 2019-07-09 16:32:42 +02:00
  • 4fc1492167 update lights to follow the KHR_lights_punctual extension Benjamin Schmithüsen 2019-07-08 18:04:24 +02:00
  • b5cf37f55f Merge pull request #1 from syoyo/master Benjamin Schmithüsen 2019-07-08 17:40:20 +02:00
  • 97fc03fb12 Merge pull request #174 from Ybalrid/pr_material_param_tex_info Syoyo Fujita 2019-07-05 14:11:15 +09:00
  • df4bd305f9 Applied clang-format Arthur Brianville (Ybalrid) 2019-07-05 00:30:47 +02:00
  • ec2dc59665 Add Paramter::TextureStrength(). Precise default values. Arthur Brainville 2019-07-05 00:26:02 +02:00
  • 04e2719e85 Merge pull request #173 from christophe-f8/master Syoyo Fujita 2019-07-04 15:39:22 +09:00
  • 7ea9e44323 Adding texture scale reading (for normal maps) + asset copyright and texture names to the export Christophe 2019-07-04 15:21:21 +09:00
  • cf51a5de62 Explicitly define copy constructor and copy assignment operator for Model an Node. Syoyo Fujita 2019-06-29 17:31:13 +09:00
  • e1d8ed726d Merge pull request #171 from Ybalrid/fix_double_parse_material_name Syoyo Fujita 2019-06-24 14:06:55 +09:00
  • 3d3abb4d2c Material names are stored once in material.name, then duplicated in "additionalValues" Arthur Brainville (Ybalrid) 2019-06-23 21:50:10 +02:00
  • 53c0ce3568 Merge pull request #170 from Ybalrid/msvc_warn_fix Syoyo Fujita 2019-06-15 15:58:03 +09:00
  • 62235695d0 Fix C4267 warning (size_t -> int) convertion Arthur Brainville (Ybalrid) 2019-06-15 07:32:38 +02:00
  • ec5f0a3653 Merge pull request #169 from Ybalrid/remove_mesh_targets Syoyo Fujita 2019-05-26 16:23:46 +09:00
  • d53dba0ae1 Remove Mesh::targets, as targets only exists inside Primitive Arthur Brianville (Ybalrid) 2019-05-25 22:30:55 +02:00
  • 1cc4353ed8 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2019-05-16 16:55:09 +09:00
  • 33629293f9 Remove CATMULLROMSPLINE, which was removed in the final glTF 2.0 spec. Syoyo Fujita 2019-05-16 16:54:28 +09:00
  • d7566f59ae Merge pull request #164 from DiligentGraphics/master Syoyo Fujita 2019-05-09 12:47:24 +09:00
  • 4f19fb156e Updated readme: added link to Diligent Engine DiligentGraphics 2019-05-08 18:33:26 -07:00
  • 4e832b7872 Merge pull request #162 from ux3d/master Syoyo Fujita 2019-05-03 15:08:36 +09:00
  • 8edf30416d Merge pull request #163 from jwmcglynn/fix-test-gltfs-standalone Syoyo Fujita 2019-05-03 15:06:38 +09:00
  • f1819b947d Add "asset" section to BoundsChecking test models Jeff McGlynn 2019-05-02 22:48:13 -07:00
  • dab2402cac add REQUIRE_VERSION to gltf validation and use it as default instead of REQUIRE_ALL Benjamin Schmithüsen 2019-05-02 14:44:20 +02:00
  • 576146c79e Merge pull request #161 from rainliang000/patch-1 Syoyo Fujita 2019-04-29 17:48:47 +09:00
  • 8e0a60213e if image.uri empty, should use bufferview rainliang000 2019-04-29 09:54:27 +08:00
  • f138744e2b Merge pull request #160 from jwmcglynn/parse-integer Syoyo Fujita 2019-04-27 14:57:54 +09:00
  • 469e039169 Parse integers directly instead of casting doubles Jeff McGlynn 2019-04-26 14:49:38 -07:00
  • 8f82515085 Merge pull request #158 from jwmcglynn/bounds-checking Syoyo Fujita 2019-04-26 12:56:21 +09:00
  • 38657337fc Add checks for boundary conditions for malformed glTF files Jeff McGlynn 2019-04-25 16:33:56 -07:00
  • 80781214df Set up tests to run in travis-ci and ignore test outputs in .gitignore Jeff McGlynn 2019-04-25 16:26:26 -07:00
  • c80f1c8a0f Merge pull request #157 from Selmar/patch-1 Syoyo Fujita 2019-04-17 03:19:00 +09:00
  • 2d5f6dcbd7 correct Value::Equals mistake Selmar 2019-04-16 16:57:43 +02:00
  • bc105bb7d8 Merge pull request #155 from ffreling/accessor-normalized Syoyo Fujita 2019-03-22 01:32:34 +09:00
  • 35ac2aea2c Serialize accessor 'normalized' attribute. Fabien Freling 2019-03-21 17:03:18 +01:00
  • f08ccba829 Add build option with draco in Makefile. v2.2.0 Syoyo Fujita 2019-03-08 14:00:16 +09:00
  • 521f23064b Merge pull request #154 from Ybalrid/patch-3 Syoyo Fujita 2019-03-08 13:32:31 +09:00
  • 83c778be06 Fix the display of the version history Arthur Brainville 2019-03-07 19:40:57 +01:00
  • 2b84242600 Merge pull request #153 from Ybalrid/patch-2 Syoyo Fujita 2019-03-07 21:30:20 +09:00
  • 07ed27f4e5 fix a few typos in README.md Arthur Brainville 2019-03-07 13:23:59 +01:00
  • 11656a589f Merge branch '16bit-lodepng' Syoyo Fujita 2019-03-07 21:04:25 +09:00
  • 0f2506725f Update README. Check bit depth when saving image as PNG. Syoyo Fujita 2019-03-07 20:50:58 +09:00
  • 52b331b95e Update README. Syoyo Fujita 2019-03-07 01:05:02 +09:00
  • e981c8994b Merge pull request #150 from Ybalrid/sparse_accessor Syoyo Fujita 2019-03-07 00:49:29 +09:00
  • 5cf468ce1c glview can now load static geometry modified by sparse accessor Arthur Brainville (Ybalrid) 2019-03-06 14:48:44 +00:00
  • fb43948c7f Ran clang-format on tiny_gltf.h Arthur Brainville (Ybalrid) 2019-03-06 14:00:56 +00:00
  • f3898ae012 clang-format + added sparse accessor in loader_example Arthur Brainville (Ybalrid) 2019-03-06 12:39:39 +00:00
  • e95d35c7b2 Parse sparse accessors Arthur Brainville (Ybalrid) 2019-03-06 12:27:23 +00:00
  • 83f0a1e1fe Fix accessor ctor Arthur Brainville (Ybalrid) 2019-03-06 11:33:30 +00:00
  • edf81ce458 added sparse structure to accessors Arthur Brainville (Ybalrid) 2019-03-06 11:30:00 +01:00
  • 5a4e3ef6e9 Update TinyEXR. Syoyo Fujita 2019-03-04 02:15:03 +09:00
  • 378927c804 Merge pull request #148 from Ybalrid/16bit-lodepng-good-byteswap Syoyo Fujita 2019-03-04 01:15:20 +09:00
  • ad65b5949d Simplify byteswap code to convert to big endian 16bit Arthur Brainville (Ybalrid) 2019-03-03 16:26:20 +01:00
  • 8978bdd6a3 Reorder 16 bit pixel data to big endian when saving it as 16 png, since lodepng::encode expects image data is in big endian manner. Add OpenEXR saver for 16bit image as a bonus. Syoyo Fujita 2019-03-03 21:21:18 +09:00
  • f5dcd85c34 Add lodepng to save 16bit PNG. Suppress clang/gcc warnings. Syoyo Fujita 2019-03-03 17:04:49 +09:00
  • deff077560 Merge pull request #146 from WARP-LAB/master Syoyo Fujita 2019-03-03 15:31:09 +09:00
  • 640898750b rename TINYGLTF_BYPASS_INCLUDE_x to TINYGLTF_NO_INCLUDE_x kroko 2019-03-03 08:28:49 +02:00
  • 49acb85a78 Merge pull request #145 from Ybalrid/upgrade_stb_libs Syoyo Fujita 2019-03-03 13:39:10 +09:00
  • 009f7d4cbb be more precise in readme about include bypassing flags kroko 2019-03-03 01:56:34 +02:00
  • 12fc2afc9f Fix for when json and stb is aready used in project v2 kroko 2019-03-03 01:28:45 +02:00
  • 3fadc0a664 Fix for when json and stb is aready used in project kroko 2019-03-03 01:11:31 +02:00
  • 025305fa5d Fixed wrong metadata in case 16bit image wasn't actually loaded Arthur Brainville (Ybalrid) 2019-03-02 22:03:34 +01:00
  • f39a8f2cbe 16bit images are 16bit images: added Image::bits and Image::pixel_type Arthur Brainville (Ybalrid) 2019-03-02 22:00:48 +01:00
  • 76bf06acf5 Upgrade the STB libraries, and fix #132 Arthur Brainville (Ybalrid) 2019-03-02 16:10:54 +01:00