Commit Graph

  • cea69e37a5 Suppress clang warnings. Syoyo Fujita 2019-08-20 17:10:30 +09:00
  • 8b56c016ab
    Merge pull request #193 from Selmar/emissiveFactor_defaults Syoyo Fujita 2019-08-20 13:13:12 +09:00
  • c7e205be87 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
  • 6dba6c6aac [emissiveFactor] correct default values Selmar Kok 2019-08-19 11:23:31 +02:00
  • 6df800d2b6 [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
  • 2f044e77f1
    Merge pull request #191 from Selmar/animation_extension_properties Syoyo Fujita 2019-08-17 01:09:34 +09:00
  • af5a5ef026 Merge branch 'master' of github.com:syoyo/tinygltf into animation_extension_properties Selmar Kok 2019-08-16 17:54:14 +02:00
  • 6591ba4461
    Merge pull request #190 from ux3d/feature/parse-node-weights Syoyo Fujita 2019-08-16 22:21:48 +09:00
  • 74c3c10121 serialize node weights Benjamin Schmithüsen 2019-08-16 14:24:26 +02:00
  • ad63bf748b parse node weights Benjamin Schmithüsen 2019-08-16 14:19:27 +02:00
  • 5d43cf8e64 Merge branch 'master' of github.com:syoyo/tinygltf Selmar Kok 2019-08-16 14:08:31 +02:00
  • 4e2988eebd add extension property for Animation and AnimationChannel Selmar Kok 2019-08-16 14:08:08 +02:00
  • ee179b2cb6 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
  • 4ebd6368fb 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
  • 67d3d2504d
    Merge pull request #188 from ux3d/fix/alphaMode Syoyo Fujita 2019-08-14 21:40:07 +09:00
  • d9a468bbb4 Fixed saving of alphaMode if not OPAQUE Removed duplicated code for alphaCutoff Patrick Härtl 2019-08-14 14:14:07 +02:00
  • c7bae71f7f
    Merge pull request #185 from DerouineauNicolas/endif Syoyo Fujita 2019-08-14 03:09:53 +09:00
  • f93642c196 remove extra #endif in examples/basic app nicolasDEROUINEAU 2019-08-13 15:08:01 +02:00
  • 131b4ed32d Support KHR material extension as an explicit struct. Supported extensions are: KHR_materials_pbrSpecularGlossiness, KHR_texture_transform and KHR_materials_unlit. KHR_material_firstcitizen Syoyo Fujita 2019-07-27 18:46:51 +09:00
  • f68d5e1f2a
    Merge pull request #182 from ux3d/textureinfo textureinfo Syoyo Fujita 2019-07-26 01:29:23 +09:00
  • 1c84fc22a5 fix default value checks for serialization Benjamin Schmithüsen 2019-07-25 16:07:27 +02:00
  • 150f243b1b 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
  • 0ee273fdfa Update README. Add note on tinygltf::Value for extensions. Syoyo Fujita 2019-07-24 19:52:22 +09:00
  • 046400b17f 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
  • 89fd93f815 Introduce TextureInfo class(W.I.P.) Syoyo Fujita 2019-07-23 22:37:06 +09:00
  • e940337796
    Merge pull request #180 from ux3d/master Syoyo Fujita 2019-07-23 18:55:34 +09:00
  • 1b5f476d95
    Merge pull request #178 from rapidimages/feature/write-to-streams Syoyo Fujita 2019-07-17 18:53:35 +09:00
  • 52936a00e0 clang format Johan Bowald 2019-07-17 09:06:45 +02:00
  • f3ef880029 call json constructor explicitly Benjamin Schmithüsen 2019-07-16 17:07:45 +02:00
  • 1af7c1d784 can write to streams Johan Bowald 2019-07-16 14:50:46 +02:00
  • c0b79afecc
    Merge pull request #2 from syoyo/master Benjamin Schmithüsen 2019-07-15 15:13:50 +02:00
  • c49461b7c2
    Merge pull request #176 from ux3d/feature/update-lights Syoyo Fujita 2019-07-10 21:20:12 +09:00
  • 051f4be2f1 serialize lights Benjamin Schmithüsen 2019-07-09 17:59:20 +02:00
  • 4557b6aa22 fix spot light parsingg Benjamin Schmithüsen 2019-07-09 16:55:55 +02:00
  • b2d7d88dbc parse additional light properties and fix defaults Benjamin Schmithüsen 2019-07-09 16:32:42 +02:00
  • b7ca7c9381 update lights to follow the KHR_lights_punctual extension Benjamin Schmithüsen 2019-07-08 18:04:24 +02:00
  • 0ffedcbe79
    Merge pull request #1 from syoyo/master Benjamin Schmithüsen 2019-07-08 17:40:20 +02:00
  • 98eef6ee75 Fix non-KTX texture was not handled correctly. Experience file drop API of glfw(not working yet). tinyktx Syoyo Fujita 2019-07-06 15:13:13 +09:00
  • c7bf800075 Support KTX texture of R8G8B8 format in basic example. Syoyo Fujita 2019-07-05 16:19:34 +09:00
  • 80faac5238
    Merge pull request #174 from Ybalrid/pr_material_param_tex_info Syoyo Fujita 2019-07-05 14:11:15 +09:00
  • 2a9d9deb67 Applied clang-format Arthur Brianville (Ybalrid) 2019-07-05 00:30:47 +02:00
  • 8a98d98cd9 Add Paramter::TextureStrength(). Precise default values. Arthur Brainville 2019-07-05 00:26:02 +02:00
  • 689edcbef6
    Merge pull request #173 from christophe-f8/master Syoyo Fujita 2019-07-04 15:39:22 +09:00
  • 820ede87db Adding texture scale reading (for normal maps) + asset copyright and texture names to the export Christophe 2019-07-04 15:21:21 +09:00
  • 006ab90c67 Initial support of KTX texture load using TinyKTX. Syoyo Fujita 2019-07-04 14:30:28 +09:00
  • 6f7518255f Add tinyktx. Add workaround for OpenGL3 context creation in basic example. Syoyo Fujita 2019-07-03 16:41:11 +09:00
  • d6b0d0a61f Explicitly define copy constructor and copy assignment operator for Model an Node. Syoyo Fujita 2019-06-29 17:31:13 +09:00
  • 3c0bcb7d72 Add document on schema validation feature. rapidjson Syoyo Fujita 2019-06-24 15:30:32 +09:00
  • 5f180aaf74
    Merge pull request #171 from Ybalrid/fix_double_parse_material_name Syoyo Fujita 2019-06-24 14:06:55 +09:00
  • dab0daaedf Material names are stored once in material.name, then duplicated in "additionalValues" Arthur Brainville (Ybalrid) 2019-06-23 21:50:10 +02:00
  • d5694dc15d Some pointer variables are not initialized. Syoyo Fujita 2019-06-15 16:22:40 +09:00
  • 0ccc8dc262
    Merge pull request #170 from Ybalrid/msvc_warn_fix Syoyo Fujita 2019-06-15 15:58:03 +09:00
  • 811e1d3899 Fix C4267 warning (size_t -> int) convertion Arthur Brainville (Ybalrid) 2019-06-15 07:32:38 +02:00
  • ddf0a0e83c Update rapidjson-amalgamation to include error/en.h and cursorstreamwrapper.h. Now schema validation is getting to work. Syoyo Fujita 2019-06-14 22:03:11 +09:00
  • f3ee08c595 Merge branch 'rapidjson' of github.com:syoyo/tinygltf into rapidjson Syoyo Fujita 2019-06-14 19:29:26 +09:00
  • f75327bc5b Fix compilation on MSVC. Syoyo Fujita 2019-06-14 19:29:13 +09:00
  • 7acc95a2ae Write an array of string to avoid the limit of the character length in MSVC compiler. Syoyo Fujita 2019-06-14 19:28:37 +09:00
  • 2a6f2cc356 Serializer now started to work. Syoyo Fujita 2019-06-13 20:36:01 +09:00
  • 0cf2812775 Use rapidjson for serialization(W.I.P. currently segfaults when serialize a scene) Syoyo Fujita 2019-06-12 22:35:28 +09:00
  • 2673d1d3ef Add C++ string of glTF Schema. Syoyo Fujita 2019-06-11 14:38:01 +09:00
  • cf8b7cc0a4 Add JSON schema ref resolver. Syoyo Fujita 2019-06-11 14:25:16 +09:00
  • 93d0e365bb RapidJson version of TinyGLTF. TODO: Serializer. Syoyo Fujita 2019-06-10 02:38:32 +09:00
  • 6ac97adf6b Add valijson. Currently it seg faults due to stack overflow when validating with glTF.schema.json json11 Syoyo Fujita 2019-05-29 20:09:47 +09:00
  • f65e06c5ca
    Merge pull request #169 from Ybalrid/remove_mesh_targets Syoyo Fujita 2019-05-26 16:23:46 +09:00
  • f29ae1a653 Remove Mesh::targets, as targets only exists inside Primitive Arthur Brianville (Ybalrid) 2019-05-25 22:30:55 +02:00
  • 3bf16e4be5 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2019-05-16 16:55:09 +09:00
  • fbc4295770 Remove CATMULLROMSPLINE, which was removed in the final glTF 2.0 spec. Syoyo Fujita 2019-05-16 16:54:28 +09:00
  • edf8d5cae1
    Merge pull request #164 from DiligentGraphics/master Syoyo Fujita 2019-05-09 12:47:24 +09:00
  • b7f2473225
    Updated readme: added link to Diligent Engine DiligentGraphics 2019-05-08 18:33:26 -07:00
  • ed7bf66255
    Merge pull request #162 from ux3d/master Syoyo Fujita 2019-05-03 15:08:36 +09:00
  • caa36dd050
    Merge pull request #163 from jwmcglynn/fix-test-gltfs-standalone Syoyo Fujita 2019-05-03 15:06:38 +09:00
  • 389d5016ad Add "asset" section to BoundsChecking test models Jeff McGlynn 2019-05-02 22:48:13 -07:00
  • d02ad0dede 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
  • 8f67121deb
    Merge pull request #161 from rainliang000/patch-1 Syoyo Fujita 2019-04-29 17:48:47 +09:00
  • 62be8d04cf
    if image.uri empty, should use bufferview rainliang000 2019-04-29 09:54:27 +08:00
  • d11a4c4d71
    Merge pull request #160 from jwmcglynn/parse-integer Syoyo Fujita 2019-04-27 14:57:54 +09:00
  • 19b806e052 Parse integers directly instead of casting doubles Jeff McGlynn 2019-04-26 14:49:38 -07:00
  • e0ab69cb31
    Merge pull request #158 from jwmcglynn/bounds-checking Syoyo Fujita 2019-04-26 12:56:21 +09:00
  • 8915252407 Add checks for boundary conditions for malformed glTF files Jeff McGlynn 2019-04-25 16:33:56 -07:00
  • 9446f65667 Set up tests to run in travis-ci and ignore test outputs in .gitignore Jeff McGlynn 2019-04-25 16:26:26 -07:00
  • fb9f709166
    Merge pull request #157 from Selmar/patch-1 Syoyo Fujita 2019-04-17 03:19:00 +09:00
  • a63cc6373d
    correct Value::Equals mistake Selmar 2019-04-16 16:57:43 +02:00
  • b3c1471317
    Merge pull request #155 from ffreling/accessor-normalized Syoyo Fujita 2019-03-22 01:32:34 +09:00
  • 9056aee823 Serialize accessor 'normalized' attribute. Fabien Freling 2019-03-21 17:03:18 +01:00
  • 29c431b2f2 Add build option with draco in Makefile. v2.2.0 Syoyo Fujita 2019-03-08 14:00:16 +09:00
  • d06b2c2022
    Merge pull request #154 from Ybalrid/patch-3 Syoyo Fujita 2019-03-08 13:32:31 +09:00
  • 339c9d578a
    Fix the display of the version history Arthur Brainville 2019-03-07 19:40:57 +01:00
  • 7c315fa8a8
    Merge pull request #153 from Ybalrid/patch-2 Syoyo Fujita 2019-03-07 21:30:20 +09:00
  • 0f04ed018a
    fix a few typos in README.md Arthur Brainville 2019-03-07 13:23:59 +01:00
  • ca56f726d6 Merge branch '16bit-lodepng' Syoyo Fujita 2019-03-07 21:04:25 +09:00
  • e8a46c4e1d Update README. Check bit depth when saving image as PNG. 16bit-lodepng Syoyo Fujita 2019-03-07 20:50:58 +09:00
  • 9cd14a461b Update README. Syoyo Fujita 2019-03-07 01:05:02 +09:00
  • 1ef603ea2a
    Merge pull request #150 from Ybalrid/sparse_accessor Syoyo Fujita 2019-03-07 00:49:29 +09:00
  • 14d259f361 glview can now load static geometry modified by sparse accessor Arthur Brainville (Ybalrid) 2019-03-06 14:48:44 +00:00
  • 9223d3133a Ran clang-format on tiny_gltf.h Arthur Brainville (Ybalrid) 2019-03-06 14:00:56 +00:00
  • 9b321a8515 clang-format + added sparse accessor in loader_example Arthur Brainville (Ybalrid) 2019-03-06 12:39:39 +00:00
  • 7e9f734d73 Parse sparse accessors Arthur Brainville (Ybalrid) 2019-03-06 12:27:23 +00:00
  • 9d86405d3d Fix accessor ctor Arthur Brainville (Ybalrid) 2019-03-06 11:33:30 +00:00
  • 1ccb4ff580 added sparse structure to accessors Arthur Brainville (Ybalrid) 2019-03-06 11:30:00 +01:00
  • 8fd91aea04 Update TinyEXR. Syoyo Fujita 2019-03-04 02:15:03 +09:00