Commit Graph

  • a645cfc840 Added include directory ../common/ for trackball.h Peter Kovář 2018-10-17 15:24:59 +02:00
  • 040310e0d3 Added include direectory ../common/ for trackball.h Peter Kovář 2018-10-17 15:24:59 +02:00
  • d9eddbfeb9
    Merge pull request #101 from 1div0/master Syoyo Fujita 2018-10-16 19:11:17 +09:00
  • 10365a53ff Fixed make lint Peter Kovář 2018-10-16 12:03:45 +02:00
  • d0e293fd7d Fixed typos Peter Kovář 2018-10-16 12:00:24 +02:00
  • 3b25d9130a
    Merge pull request #100 from Selmar/serialization_fixes Syoyo Fujita 2018-10-11 01:25:12 +09:00
  • 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) Selmar Kok 2018-10-10 18:10:58 +02:00
  • 30bbe0fe3c
    Merge pull request #99 from Selmar/serialization_fixes Syoyo Fujita 2018-10-09 02:12:38 +09:00
  • 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 Selmar Kok 2018-10-08 16:20:43 +02:00
  • 924d86e362 Serialize extension with empty object. Fixes #97 Use pretty printing JSON when serializing for the readability. Syoyo Fujita 2018-10-08 21:15:12 +09:00
  • 04d8d637fc Add HandmadeMath. Add simple morphing code. skinning Syoyo Fujita 2018-10-08 14:20:45 +09:00
  • f02c504481 Merge branch 'skinning' of github.com:syoyo/tinygltf into skinning Syoyo Fujita 2018-10-07 21:27:12 +09:00
  • 5c47eda8be Implement some animation. Syoyo Fujita 2018-10-07 21:25:19 +09:00
  • 68353f1b34 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2018-10-07 20:35:14 +09:00
  • 05a8d0bc52 Fix premake script. Syoyo Fujita 2018-10-07 20:34:45 +09:00
  • 39a263c2a8 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2018-10-06 03:20:31 +09:00
  • 61673a62ef Update README. Syoyo Fujita 2018-10-06 03:20:11 +09:00
  • fdf105645b
    Merge pull request #96 from Selmar/serialization_fixes Syoyo Fujita 2018-10-06 01:36:27 +09:00
  • 440cb1e66b tabs to spaces Selmar Kok 2018-10-05 16:30:50 +02:00
  • c884e5827e better implementation for bin file name checking Selmar Kok 2018-10-05 16:25:54 +02:00
  • 7cb31e4e23 - support writing multiple bin files - use existing buffer.uri as filename if not empty and not a data uri Selmar Kok 2018-10-05 16:02:29 +02:00
  • 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 Selmar Kok 2018-10-05 14:36:05 +02:00
  • 13b6402388 Merge branch 'master' of github.com:syoyo/tinygltf into serialization_fixes Selmar Kok 2018-10-05 14:30:16 +02:00
  • 8eb3904de2 - Parse image extras property - Optionally serialize texture.source (it is not required in the current spec) Selmar Kok 2018-10-05 14:29:35 +02:00
  • b5a72a1ba2 Remove duplicated files. Syoyo Fujita 2018-10-04 15:48:17 +09:00
  • 0820d83a9d Update to v2.0.1 Syoyo Fujita 2018-10-04 15:45:13 +09:00
  • 641b3ccf8c Suppress clang warnings. Apply clang-format. Syoyo Fujita 2018-10-04 15:43:33 +09:00
  • 7518334044
    Merge pull request #95 from Selmar/equality_operator_and_some_additions Syoyo Fujita 2018-10-04 13:56:35 +09:00
  • efc919c022 Merge branch 'master' into devel Syoyo Fujita 2018-10-04 13:55:21 +09:00
  • fa0a998a8b Merge branch 'master' of github.com:syoyo/tinygltf into equality_operator_and_some_additions Selmar Kok 2018-10-03 15:46:23 +02:00
  • 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 Selmar Kok 2018-10-03 15:39:05 +02:00
  • e59dd6a5c0 Update TODOs. Syoyo Fujita 2018-09-25 03:03:49 +09:00
  • 876f6e194e Fix build. Syoyo Fujita 2018-09-25 02:21:53 +09:00
  • 1b85cb8c59 Implement some skinnig stuff. Syoyo Fujita 2018-09-24 22:41:15 +09:00
  • 134d660722 Merge branch 'skinning' of github.com:syoyo/tinygltf into skinning Syoyo Fujita 2018-09-24 21:09:46 +09:00
  • a15bfdc85d Add missing file. Syoyo Fujita 2018-09-24 21:09:24 +09:00
  • 39a309c416 Merge branch 'skinning' of github.com:syoyo/tinygltf into skinning Syoyo Fujita 2018-09-24 21:03:49 +09:00
  • 4402576a91 Check bufferView.target Syoyo Fujita 2018-09-24 16:18:12 +09:00
  • 26a7a9f525 Implement some vertex skinning . Syoyo Fujita 2018-09-24 02:00:43 +09:00
  • d180641246 Do not draw skinned mesh(node) otherwise glview crashes. Syoyo Fujita 2018-09-23 18:24:19 +09:00
  • 0c0b993639 Show value when printing UNKNOWN Syoyo Fujita 2018-09-23 17:57:00 +09:00
  • 0de4d7c05f Initial skinning example(W.I.P). Syoyo Fujita 2018-09-22 17:51:05 +09:00
  • e66d8c992f Add as-is flag to Image. Tentative solution for issue #82 Syoyo Fujita 2018-09-02 16:58:43 +09:00
  • 3e53feb046 Parse extensions property of Image. Syoyo Fujita 2018-09-02 15:36:17 +09:00
  • 9ec7109089 Bump clang version from 3.7 to 3.9 since clang-3.7 apt source is untrusted. Syoyo Fujita 2018-08-30 21:27:11 +09:00
  • da9eac2fbe Enable support for writing binary glTF. David Harmon 2018-08-30 08:06:05 -04:00
  • 5cf22e3abc Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2018-08-28 21:34:06 +09:00
  • a8f0b1c383 Suppress unknown pragma warning on clang 3.7 Syoyo Fujita 2018-08-28 21:33:40 +09:00
  • 098dfee982
    Merge pull request #92 from walf443/respect_stb_image_write_error devel Syoyo Fujita 2018-08-28 21:33:07 +09:00
  • c0cfc1ed95 handling stbi_write_xxx_to_func return code Keiji Yoshimi 2018-08-28 21:13:03 +09:00
  • be718436c1
    Merge pull request #90 from victorbush/force_32bit_tex Syoyo Fujita 2018-08-23 12:51:43 +09:00
  • 18ef338ff5 Force default image loader to use 32-bit images for Vulkan compatibility. Victor Bushong 2018-08-22 22:03:30 -05:00
  • 1d0bd6c64f
    Merge pull request #89 from Selmar/missing_bin_to_error_message Syoyo Fujita 2018-08-23 02:16:10 +09:00
  • e3b3fa9eb6 add required parameter to LoadExternalFile Selmar Kok 2018-08-22 19:04:21 +02:00
  • cda38e03ed change from warning to error for missing bin files Selmar Kok 2018-08-22 18:26:10 +02:00
  • fcdfc71ba6
    Merge pull request #88 from Selmar/forward_declare_dataUri_utils Syoyo Fujita 2018-08-22 21:36:16 +09:00
  • 0d0e97e8cd forward declare DataURI helper functions to allow usage outside of implementation file (in case of custom image handling) Selmar Kok 2018-08-22 14:01:57 +02:00
  • dfc3545d79 Fix unit test. Update README. Syoyo Fujita 2018-08-22 20:35:04 +09:00
  • 1898f10836 Merge branch 'devel' Syoyo Fujita 2018-08-22 20:30:52 +09:00
  • 96d2f314cd
    Merge pull request #86 from mosra/fail-when-bin-missing-from-glb Syoyo Fujita 2018-08-17 19:52:09 +09:00
  • fd84ceb791 Properly fail also when external *.bin are missing from *.glb. Vladimír Vondruš 2018-08-16 21:07:56 +02:00
  • 6d38ca3894 Merge branch 'devel' of github.com:syoyo/tinygltf into devel Syoyo Fujita 2018-08-16 15:57:28 +09:00
  • a6802d10fb Fix typo(n2.z -> n1.z) Syoyo Fujita 2018-08-16 15:56:13 +09:00
  • 28dc902368 Add link to px_render. Syoyo Fujita 2018-08-09 01:58:40 +09:00
  • 7c8d4ed748 Added 'warning' message parameter to glTF loader API. Asset loading failure messages(e.g. image file is missing) are now stored in warning message, not error message. Syoyo Fujita 2018-07-27 16:49:10 +09:00
  • a71be9cc98
    Merge pull request #80 from mosra/texture-name Syoyo Fujita 2018-07-25 13:51:41 +09:00
  • 8c29e35b42
    Merge pull request #81 from mosra/emscripten-file-paths Syoyo Fujita 2018-07-25 13:51:00 +09:00
  • 9f04583280 Don't try to expand file paths on Emscripten. Vladimír Vondruš 2018-07-24 23:32:17 +02:00
  • 239be2c09f Import texture names as well. Vladimír Vondruš 2018-07-24 23:23:56 +02:00
  • 39abfb5f91 Consider Data URI buffers in binary. Fixes #79. Syoyo Fujita 2018-07-11 02:46:52 +09:00
  • 81bbf86e2a
    Merge pull request #78 from UberLambda/devel Syoyo Fujita 2018-07-08 15:17:13 +09:00
  • b2a587af96 Fixed C++11 compliance of previous commit Paolo Jovon 2018-07-07 21:50:01 +02:00
  • e6601bfb4b Added filesystem callback support Paolo Jovon 2018-07-07 20:43:33 +02:00
  • 90e2c9cc74
    Merge pull request #76 from mynz/devel Syoyo Fujita 2018-06-28 20:25:23 +02:00
  • c0d4d1c50c parse extras on the root object mynz 2018-06-28 23:06:00 +09:00
  • 0f282f7e26
    Merge pull request #75 from holzon/fix/allextras Syoyo Fujita 2018-06-04 19:07:49 +09:00
  • b3af2f1cf6 adding missing extras field serializaton Jens Olsson 2018-06-04 10:17:49 +02:00
  • 4769b1ca37 Apply clang-format. Syoyo Fujita 2018-06-04 18:40:16 +09:00
  • 0067a9e43a Support gltf-buffer mime. Make min and max parameters in Accessor optional. Syoyo Fujita 2018-06-04 18:26:05 +09:00
  • 57f8e7ca3b Correctly handle filename containing spaces for external resources. Fixes #74. Syoyo Fujita 2018-06-04 17:52:08 +09:00
  • a48f12d2fc
    Merge pull request #73 from holzon/fix/extras Syoyo Fujita 2018-05-24 23:59:56 +09:00
  • a9718668b4 fixing typo Jens Olsson 2018-05-24 15:48:49 +02:00
  • b96f6966ab added missing extras serialization for nodes Jens Olsson 2018-05-24 15:29:54 +02:00
  • 7c56f8eb9e
    Merge pull request #69 from benbuzbee/serialization-fixes Syoyo Fujita 2018-04-26 14:06:18 +09:00
  • f6af224135 Remove use of optional Ben Buzbee 2018-04-25 15:13:05 -07:00
  • 3b735bb878 Serialization fixes Ben Buzbee 2018-04-24 11:39:30 -07:00
  • 2d17a31d3b typedef struct -> struct for enabling forward declarations of struct. Syoyo Fujita 2018-04-17 15:45:42 +09:00
  • 48f6db0994 Suppress clang warnings. Syoyo Fujita 2018-04-15 18:40:55 +09:00
  • c89fc5f06b Describe supported VS 2015 update revision. Syoyo Fujita 2018-04-12 11:52:14 +09:00
  • 1e629c8efe Fix printing accessor.min and accessor.max in loader_example. Initial support for printing extensions(no pretty printing at the moment). Merge branch 'generic_extension_support' of https://github.com/Selmar/tinygltf into Selmar-generic_extension_support Syoyo Fujita 2018-04-05 15:37:57 +09:00
  • 341fc31aee Merge remote-tracking branch 'origin/devel' into generic_extension_support Selmar Kok 2018-04-04 18:34:30 +02:00
  • 7b0bbc6570 Merge branch 'devel' into Selmar-generic_extension_support Selmar-generic_extension_support Syoyo Fujita 2018-04-05 01:27:03 +09:00
  • 9eae110946 serialize texture extensions Selmar Kok 2018-04-04 18:10:37 +02:00
  • fa7022f364 Changed ExtensionMap to use Value instead of ParameterMap Selmar Kok 2018-04-04 18:10:20 +02:00
  • 6c67da478f
    Merge pull request #62 from bowald/feature/serializer-handle-image-output Syoyo Fujita 2018-04-02 15:24:04 +09:00
  • b97d34cfee bugfix, serializer skipped texture samplers refering to first index. johan bowald 2018-04-02 07:29:29 +02:00
  • 142aed7499
    Merge pull request #61 from bowald/fix/readme-update Syoyo Fujita 2018-04-02 12:42:49 +09:00
  • ca80a591e0 updated readme: fixed example, fixed dead links to stb_image/stb_image_write johan bowald 2018-04-01 22:53:45 +02:00
  • dc4bb86bf1 Suppress clang warnings. Syoyo Fujita 2018-04-02 02:04:24 +09:00
  • ef151a4fed update examples with new defines johan bowald 2018-04-01 13:44:48 +02:00