Commit Graph

  • 8f76d790b8
    Merge pull request #148 from Ybalrid/16bit-lodepng-good-byteswap Syoyo Fujita 2019-03-04 01:15:20 +09:00
  • 853f6df7b5 Simplify byteswap code to convert to big endian 16bit Arthur Brainville (Ybalrid) 2019-03-03 16:26:20 +01:00
  • 758a1240c9 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
  • 7bdfed3bec Add lodepng to save 16bit PNG. Suppress clang/gcc warnings. Syoyo Fujita 2019-03-03 17:04:49 +09:00
  • bf9c2f4abd
    Merge pull request #146 from WARP-LAB/master Syoyo Fujita 2019-03-03 15:31:09 +09:00
  • fc0116b323 rename TINYGLTF_BYPASS_INCLUDE_x to TINYGLTF_NO_INCLUDE_x kroko 2019-03-03 08:28:49 +02:00
  • 962552c5c8
    Merge pull request #145 from Ybalrid/upgrade_stb_libs Syoyo Fujita 2019-03-03 13:39:10 +09:00
  • 606e5dde31 be more precise in readme about include bypassing flags kroko 2019-03-03 01:56:34 +02:00
  • 6a0d4c57b1 Fix for when json and stb is aready used in project v2 kroko 2019-03-03 01:28:45 +02:00
  • f4b6d11abc Fix for when json and stb is aready used in project kroko 2019-03-03 01:11:31 +02:00
  • 5a4c898912 Fixed wrong metadata in case 16bit image wasn't actually loaded Arthur Brainville (Ybalrid) 2019-03-02 22:03:34 +01:00
  • f2addc0e44 16bit images are 16bit images: added Image::bits and Image::pixel_type Arthur Brainville (Ybalrid) 2019-03-02 22:00:48 +01:00
  • 70d16a7b92 Upgrade the STB libraries, and fix #132 Arthur Brainville (Ybalrid) 2019-03-02 16:10:54 +01:00
  • 326d7ea310
    Merge pull request #144 from SaschaWillems/master Syoyo Fujita 2019-02-24 14:42:51 +09:00
  • eb011068c0 Added function to easily access texture coordinate set index on a texture parameter Sascha Willems 2019-02-23 21:15:45 +01:00
  • 87be0ce34b Define WIN32_LEAN_AND_MEAN to save the number of including files. Syoyo Fujita 2019-02-19 21:36:32 +09:00
  • 7d9a0bda3a Define NOMINMAX to avoid defining MIN/MAX macros on Windows. Without defining NOMINMAX, MIN/MAX macro would affect other header/c++ files. Fixes #143 Syoyo Fujita 2019-02-19 16:03:23 +09:00
  • 06f93c859d Remove validator example scine it requires nlohmann's json.hpp Embed json11.cpp/json11.hpp into tiny_gltf.h Syoyo Fujita 2019-02-15 17:40:07 +09:00
  • 9e4a4d5b94 Compile with json11.cpp Syoyo Fujita 2019-02-15 16:09:42 +09:00
  • 7ece5c8275
    Merge pull request #142 from ebirenbaum/animation-sampler-interpolation Syoyo Fujita 2019-02-15 14:04:06 +09:00
  • 6bdffedcbe Change AnimationSampler::interpolation to a non-required field. The spec states to default to LINEAR when not present. Evan Birenbaum 2019-02-14 13:30:57 -08:00
  • d2fb7dc2af
    Merge pull request #140 from timmmeh/master Syoyo Fujita 2019-02-10 00:01:11 +09:00
  • 4a35464d9b Finish porting of using json11. Syoyo Fujita 2019-02-09 21:58:40 +09:00
  • e316127243 Porting to use json11(W.I.P.) Syoyo Fujita 2019-02-08 16:32:58 +09:00
  • c0d0251e2c Update json.hpp to fix compilation with clang with C++17(-std=c++1z) support. Syoyo Fujita 2019-02-04 16:19:13 +09:00
  • 62a72c4845 fix compile timmmeh 2019-01-31 11:46:19 -08:00
  • 73584ba7b7 Adding default values for min and mag filter. timmmeh 2019-01-30 18:38:46 -08:00
  • ead876fce9
    Merge pull request #138 from dolphineye/dolphineye/add_mode_line_strip Syoyo Fujita 2019-01-30 23:19:30 +09:00
  • 6c4a006496 Add line strip primitive mode define Thomas Tissot 2019-01-30 13:10:51 +01:00
  • 281af41b6c
    Merge pull request #137 from Ybalrid/pr_fix_glview_no_scene_no_nodes Syoyo Fujita 2019-01-28 13:00:26 +09:00
  • 215e1fae61 handle not having default scene Arthur Brainville (Ybalrid) 2019-01-27 20:28:23 +00:00
  • cba75b9927 fix glview in case gltf asset doesn't have a default scene Arthur Brainville (Ybalrid) 2019-01-27 20:20:58 +00:00
  • 4de57db325 Add TINYGLTF_ENABLE_DRACO flag to README. v2.1.0 draco Syoyo Fujita 2019-01-27 00:43:02 +09:00
  • a32fa80102 Add support for building glview with draco. Fix out-of-bounds access when calling DrawMesh(). Fix potential out-of-bounds access when filling window title string. Syoyo Fujita 2019-01-27 00:38:34 +09:00
  • 5f34dab548
    Merge pull request #136 from abwood/draco Syoyo Fujita 2019-01-26 23:22:55 +09:00
  • 0d77a291f7 Updates to draco decoding: - When injecting draco decoded meshes into accessor data, update count to match the optimized and decoded draco mesh - accessor.componentType is now used for extraction of decoded draco meshes. Alexander Wood 2019-01-26 08:58:45 -05:00
  • b926195ef8
    Merge pull request #134 from abwood/draco Syoyo Fujita 2019-01-25 16:45:33 +09:00
  • c8ba17fcab Looks like I'm colliding with work by syoyo. Only difference so far appears to be our macro name. Alex Wood 2019-01-24 15:45:16 -05:00
  • df39e04e7b Merge branch 'draco' of https://github.com/abwood/tinygltf into draco Alex Wood 2019-01-24 15:40:28 -05:00
  • 7319db7a50 Initial support for draco mesh compression. In this PR, we establish that draco is a dependency built external to tinygltf, which breaks from the current tradition of header only dependencies. For that reason, this feature is hidden behind a #define TINYGLTF_ENABLE_DRACO and requires developers to explicitly opt-in for draco support. Alex Wood 2019-01-24 15:38:16 -05:00
  • 7ae7110800 Begin supporting draco. Syoyo Fujita 2019-01-19 03:03:22 +09:00
  • b864ea7349 Support macOS + OpenGL 3.3+ GPU Syoyo Fujita 2019-01-14 22:10:32 +09:00
  • 1b7994a4f4 Make lodepng optional. lodepng Syoyo Fujita 2019-01-14 21:32:40 +09:00
  • d6b0b0b990 Convert UTF16 file to UTF8. Add premake project to build on Linux. Syoyo Fujita 2019-01-14 21:30:53 +09:00
  • c91b6468e8
    Merge pull request #133 from Ybalrid/lodepng Syoyo Fujita 2019-01-11 02:29:29 +09:00
  • d4f8fcea10 fix ci build of example Arthur Brainville (Ybalrid) 2019-01-10 18:19:20 +00:00
  • ab069ffb40 Initial support of loading 16bit PNG using lodepng. Syoyo Fujita 2019-01-07 02:27:28 +09:00
  • cbf13fef62 Merge branch 'master' into lodepng Syoyo Fujita 2019-01-07 01:05:12 +09:00
  • 57074aee04 Add single file version of lodepng. Syoyo Fujita 2019-01-07 01:04:02 +09:00
  • af3ebb2e76 Show more expressive messages when parsing image. Syoyo Fujita 2019-01-06 18:55:57 +09:00
  • 94c47b15c3 Introduce tiny_gltf_util.h header file which contains some useful helper/util functions. anim-dump Syoyo Fujita 2018-12-29 18:28:35 +09:00
  • 105694b468
    Merge pull request #129 from SaschaWillems/master Syoyo Fujita 2018-12-29 12:33:34 +09:00
  • 5f9cb24245 Added new feature for loading all gltf related files (including textures, binaries, etc.) from assets packaged with an Android app Sascha Willems 2018-12-28 20:53:41 +01:00
  • 48b3422925 Initial addition of animation data dumper. Add an utility function to get buffer byte address. Syoyo Fujita 2018-12-28 22:26:47 +09:00
  • 9fcd3f998e
    Merge pull request #127 from nyue/master Syoyo Fujita 2018-12-28 14:31:33 +09:00
  • d96b45df06 Renamed glTFConfig to TinyGLTFConfig Tan Meng Yue 2018-12-27 10:24:13 +11:00
  • dd7c9efbea
    Merge pull request #125 from nyue/master Syoyo Fujita 2018-12-25 15:06:37 +09:00
  • 80a85af661 Fix bug in handling OS X build via CMake Tan Meng Yue 2018-12-25 17:03:58 +11:00
  • 7cf2c44ad7
    Merge pull request #124 from nyue/master Syoyo Fujita 2018-12-25 11:27:33 +09:00
  • f1b5bb12fd Add support for static GLFW3 library linking Nicholas Yue 2018-12-25 09:48:26 +11:00
  • 174334eaf4 Fix GLFW3 handling on CentOS Nicholas Yue 2018-12-25 09:15:13 +11:00
  • 1212a6ee51 Update README. Syoyo Fujita 2018-12-24 01:50:17 +09:00
  • 8674c60781 Add document on TINYGLTF_NO_EXTERNAL_IMAGE. Fixes #123 Syoyo Fujita 2018-12-18 21:59:23 +09:00
  • 9d89f02cf0
    Merge pull request #122 from lebek/master Syoyo Fujita 2018-12-09 12:23:39 +09:00
  • 463408c4a0 Fix incorrect index into bufferViews array Peter Le Bek 2018-12-08 16:04:42 -08:00
  • a9d862aeee
    Merge pull request #119 from nyue/master Syoyo Fujita 2018-12-07 18:48:14 +09:00
  • 2123da775b Add CMake package for developer Tan Meng Yue 2018-12-07 20:45:13 +11:00
  • 20806b27d7
    Merge pull request #118 from nyue/master Syoyo Fujita 2018-12-07 16:07:16 +09:00
  • 94fcfdeb9d Added installation of headers and target binaries Tan Meng Yue 2018-12-07 18:01:08 +11:00
  • d44b6e7bcc
    Merge pull request #117 from viperscape/master Syoyo Fujita 2018-12-06 11:20:18 +09:00
  • 9df05806ad find missing bufferView target types and fill them in viperscape 2018-12-05 14:11:01 -05:00
  • 93db9e20c0
    Merge pull request #1 from syoyo/master Chris Gill 2018-12-05 13:03:44 -05:00
  • 2c5597f591
    Merge pull request #115 from Selmar/serialization_fixes Syoyo Fujita 2018-12-06 02:05:26 +09:00
  • 2dcf79566f Add CMake configuration for glview Tan Meng Yue 2018-12-05 23:56:23 +11:00
  • f20888ae8b Added top level CMake configuration file Tan Meng Yue 2018-12-05 23:55:53 +11:00
  • 5892d3e3ea Set a default for sampler.wrapR, because it was serializing an uninitialized value Selmar Kok 2018-12-04 19:55:56 +01:00
  • 27aab61d62 Fix prettyprint to really not print pretty Selmar Kok 2018-11-30 18:01:31 +01:00
  • d80f0f9a6c
    Merge pull request #111 from viperscape/master Syoyo Fujita 2018-11-16 14:01:13 +09:00
  • 5110820ebb
    Merge pull request #110 from AlvaroBarua/warnings_cleanup Syoyo Fujita 2018-11-16 14:00:33 +09:00
  • c3e34c2ff7 add screenshot viperscape 2018-11-15 17:03:38 -05:00
  • 0ddfaead8f add basic example viperscape 2018-11-15 17:02:20 -05:00
  • ae2cf8e26f Removed unreachable code and fixed ambiguity warning. Unknown 2018-11-15 18:36:59 +00:00
  • 8b7cdde30c
    Merge pull request #109 from viperscape/master Syoyo Fujita 2018-11-15 00:28:06 +09:00
  • 764bcb5a8a add win32 includes viperscape 2018-11-14 10:19:39 -05:00
  • 50ada7ff11 rework to include VS 2017 project, fully configured and tested viperscape 2018-11-14 10:15:58 -05:00
  • 16fae080f9 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2018-11-10 20:08:02 +09:00
  • 90c0008b0e Merge branch 'loomai-master' Syoyo Fujita 2018-11-10 20:07:47 +09:00
  • b572650d26 Merge branch 'master' of https://github.com/loomai/tinygltf into loomai-master Syoyo Fujita 2018-11-10 20:07:15 +09:00
  • 6af9e886cd
    Merge pull request #107 from Selmar/serialization_fixes Syoyo Fujita 2018-11-10 02:32:56 +09:00
  • 60f97325b1 Merge remote-tracking branch 'origin/master' into serialization_fixes Selmar Kok 2018-11-09 10:34:55 +01:00
  • a3595488e3 Fix missing serialization: sampler.wrapR Selmar Kok 2018-11-09 10:34:39 +01:00
  • cf60322e73
    Merge pull request #105 from rapidimages/bugfix/write_image_to_disk Syoyo Fujita 2018-11-07 00:56:34 +09:00
  • 77decfaff8 fixed a reference error which cause an error when writing images to disk Johan Bowald 2018-11-06 14:28:20 +01:00
  • e26117e026 Merge branch 'master' of github.com:syoyo/tinygltf Syoyo Fujita 2018-11-05 13:33:27 +09:00
  • 33514af61a Fix logic error. Fixes #104 Syoyo Fujita 2018-11-05 13:32:43 +09:00
  • ba3c3c99ef
    Merge pull request #102 from 1div0/master Syoyo Fujita 2018-10-28 15:30:21 +09:00
  • 8d96b4a14e
    Merge pull request #103 from Selmar/serialization_fixes Syoyo Fujita 2018-10-26 02:12:24 +09:00
  • 1cef6dcf33 Merge remote-tracking branch 'origin/master' into serialization_fixes Selmar Kok 2018-10-25 16:48:14 +02:00
  • e46774940c fail serialization if a buffer file fails to be written (e.g. due to access rights) Selmar Kok 2018-10-25 16:45:49 +02:00
  • dddaee695d Merge branch 'master' of https://github.com/1div0/tinygltf Peter Kovář 2018-10-17 15:30:33 +02:00