Commit Graph

  • 0894de77f9 added stb_image_write.h johan bowald 2018-04-01 13:31:09 +02:00
  • 642a343684 output both embedded and image files, small fix to serializer. johan bowald 2018-04-01 12:37:18 +02:00
  • 719d7e4a74 Suppress clang warnings. Apply clang-format. Syoyo Fujita 2018-03-30 19:26:35 +09:00
  • 13fd7152ee
    Merge pull request #59 from bowald/feature/serializer-embed-buffer Syoyo Fujita 2018-03-30 19:17:18 +09:00
  • 30c5347afe added embed buffers as an option in serializer johan bowald 2018-03-30 11:49:36 +02:00
  • 841c858bfd
    Merge pull request #58 from bowald/Bowald-serializer-fixes Syoyo Fujita 2018-03-28 22:09:08 +09:00
  • faa2722f45 Serializer skips null values Johan Bowald 2018-03-28 14:44:45 +02:00
  • ae751c4882
    Merge pull request #57 from Squareys/patch-1 Syoyo Fujita 2018-03-28 19:23:39 +09:00
  • 6a04c87807
    Add Magnum's TinyGltfImporter plugin to projects Jonathan Hale 2018-03-28 12:19:42 +02:00
  • 5210f1539e Merge remote-tracking branch 'origin/devel' into generic_extension_support Selmar Kok 2018-03-26 16:22:18 +02:00
  • 35c798ed28 Merge remote-tracking branch 'origin/Selmar-generic_extension_support' into generic_extension_support Selmar Kok 2018-03-26 16:20:44 +02:00
  • 5e379693cb
    Merge pull request #55 from Ybalrid/pr_add_ogre_gltf_to_readme Syoyo Fujita 2018-03-22 02:09:49 +09:00
  • a403cd8736
    Add Ogre_glTF to the list of projects using the lib Arthur Brainville (Ybalrid) 2018-03-21 18:00:01 +01:00
  • 246654a15a Code clean-up. Reviewed by @Squareeyes. image-parse-refactor Syoyo Fujita 2018-03-21 20:32:22 +09:00
  • ba28ddcc9e Modify error message. Syoyo Fujita 2018-03-21 20:05:11 +09:00
  • 8e2c24fb92 Refactor ParseImage function. Returns error when both bufferView and uri are defined in Image. Syoyo Fujita 2018-03-21 19:54:38 +09:00
  • ba809ff52f Merge branch 'devel' of github.com:syoyo/tinygltf into devel Syoyo Fujita 2018-03-21 18:52:53 +09:00
  • d1f8bae89c Print extensions. Syoyo Fujita 2018-03-21 18:48:03 +09:00
  • 70d8b7a42b
    Merge pull request #53 from Ybalrid/gltfutil Syoyo Fujita 2018-03-20 11:01:22 +09:00
  • 3f1c5a90d3
    Merge pull request #54 from Ybalrid/fix_msvc_build_usage Syoyo Fujita 2018-03-20 10:36:26 +09:00
  • 2960379eba
    Can select image file format with -f argument in gltf util Arthur Brainville 2018-03-19 20:24:00 +01:00
  • 4ba01f5968
    Add a "not specified" option to the enum class for image formats Arthur Brainville 2018-03-19 20:06:59 +01:00
  • cd366ddd1d
    Fix MSVC build: removing static keyowrd befor tinygltf::LoadImageData Arthur Brainville 2018-03-19 19:40:04 +01:00
  • 68174a3fb3
    Fix MSVC build: removing static keyowrd befor tinygltf::LoadImageData Arthur Brainville 2018-03-19 19:40:04 +01:00
  • 34c8b60325
    Can specify output directory for dumped texture with -o Arthur Brainville (Ybalrid) 2018-03-19 17:21:18 +01:00
  • 8d8840f809
    Added basic texture dumper Arthur Brainville (Ybalrid) 2018-03-19 17:11:53 +01:00
  • 85b3cbc44d Merge branch 'devel' into generic_extension_support Selmar Kok 2018-03-19 16:15:22 +01:00
  • ea2b1c5e5d
    Start working on a gltf utility program Arthur Brainville 2018-03-19 15:08:47 +01:00
  • d5b0244e2c Serialize lights under as KHR_lights_cmn extension. Syoyo Fujita 2018-03-17 16:12:42 -05:00
  • f1cdd1c4cb
    Merge pull request #52 from Selmar/opt_out_external_image_loading Syoyo Fujita 2018-03-16 17:26:49 -05:00
  • 2a15f387bc Merge branch 'devel' into generic_extension_support Selmar Kok 2018-03-16 12:32:52 +01:00
  • 5b8eb9b429 Merge branch 'devel' into opt_out_external_image_loading Selmar Kok 2018-03-16 12:15:13 +01:00
  • 67af3c98aa
    Allow opting out of external image loading Selmar 2018-03-16 11:48:19 +01:00
  • 580d7c8b9f Parse defaultScene value correcrly. Fixes #47. Syoyo Fujita 2018-03-15 22:09:01 -05:00
  • e69069d53c Loading a GLB file without BIN data fails. Fixes #49. Syoyo Fujita 2018-03-15 22:01:18 -05:00
  • d42767e63f Store relative URI in Buffer serializer. Fixes #48. Apply clang-format. Add simple saver sample. Syoyo Fujita 2018-03-15 21:52:00 -05:00
  • 7d8cbba8e4
    removed code from another issue Selmar 2018-03-15 17:32:27 +01:00
  • 09d2ff12d8
    generic extension support Selmar 2018-03-15 17:30:42 +01:00
  • 20244e1e4e Fix storing uri to Buffer.uri. Fixes #50. Fix decoding DataURI with 'data:application/gltf-buffer;base64' mime. Syoyo Fujita 2018-03-15 11:01:05 -05:00
  • 4f0b893d73
    Merge pull request #45 from Squareys/custom-image-loaders Syoyo Fujita 2018-03-14 10:07:49 +09:00
  • 2d3594de22 Allow opting out of STB_IMAGE dependency Squareys 2018-03-13 22:40:53 +01:00
  • ff644d82c9 Allow specifying custom image loader callback Squareys 2018-03-13 22:36:18 +01:00
  • f99f760b07 Clean up obsolete debug output Squareys 2018-03-13 22:29:31 +01:00
  • 4337463c79 Remove trailing whitespaces Squareys 2018-03-13 22:20:48 +01:00
  • 188965b11e Fix minor typo Squareys 2018-03-13 22:20:01 +01:00
  • 179edbf054 Fix empty serialization. Fixes #44. Syoyo Fujita 2018-03-06 12:04:51 +09:00
  • 1e94d05012
    Merge pull request #43 from Ybalrid/devel Syoyo Fujita 2018-03-03 02:15:44 +09:00
  • 92000ddeed
    raytrace: remove code that ouput the 1st loaded texture as PPM Arthur Brainville 2018-03-02 16:58:30 +01:00
  • abf4bd1800
    Merge pull request #42 from Ybalrid/pr_raytrace_texture_loading Syoyo Fujita 2018-03-03 00:55:58 +09:00
  • c14616d21c
    Merge pull request #41 from Ybalrid/pr_upgrade_imgui_imguizmo_raytrace Syoyo Fujita 2018-03-03 00:43:18 +09:00
  • e832baf229
    Restored previous behavior when moving node in scene Arthur Brainville 2018-03-02 16:21:28 +01:00
  • df9003ea08
    Update scene when moving gizmo Arthur Brainville 2018-03-02 16:10:20 +01:00
  • ab156c7d18
    Upgraded dear imgui and ImGuizmo to the latest version Arthur Brainville 2018-03-02 15:44:37 +01:00
  • dd45c56927
    raytrace: add simple code that load texture data Arthur Brainville 2018-03-02 13:57:37 +01:00
  • 0b01361d15 Fix return location. Syoyo Fujita 2018-02-28 19:59:32 +09:00
  • 493cad4e64
    Merge pull request #40 from Ybalrid/pr_raytrace_example Syoyo Fujita 2018-02-28 00:04:07 +09:00
  • c227c5bddb
    Fixed triangle fan indices Arthur Brainville 2018-02-27 12:47:06 +01:00
  • de8e3a6e6b
    Enforece some const correctness. Add comments. Arthur Brainville (Ybalrid) 2018-02-25 01:23:04 +01:00
  • a5a03a2d44
    Reorder UVs in vacevaying order Arthur Brainville (Ybalrid) 2018-02-25 01:14:57 +01:00
  • 6cf0228fa7
    Handle all types of triangle-based vertex buffer. Arthur Brainville (Ybalrid) 2018-02-25 00:52:50 +01:00
  • 1cd3b0f756
    Fix pesudo -> pseudo typo Arthur Brainville (Ybalrid) 2018-02-25 00:42:35 +01:00
  • 0e0a884378
    Check the type of vectors before checking the type of their component Arthur Brainville (Ybalrid) 2018-02-24 22:09:17 +01:00
  • 8eb0fbb3d4
    Fix the loading of normals by putting them into facevarying order Arthur Brainville (Ybalrid) 2018-02-24 21:52:53 +01:00
  • 0da2b35085
    Fixes problem when mesh in glTF file doesn't have a name Arthur Brainville (Ybalrid) 2018-02-23 15:15:33 +01:00
  • 55bff342c2
    Merge branch 'pr_raytrace_example' of github.com:Ybalrid/tinygltf into pr_raytrace_example Arthur Brainville (Ybalrid) 2018-02-23 14:26:55 +01:00
  • 37ba0ae481
    Log the types of data used by the currently loaded GLTF file Arthur Brainville (Ybalrid) 2018-02-23 14:23:30 +01:00
  • 27ae4ba9c1
    load texture coordinates Arthur Brainville (Ybalrid) 2018-02-21 10:02:04 +01:00
  • 07e6c5c109
    Small code cleanup Arthur Brainville 2018-02-21 08:56:09 +01:00
  • 0b4f54162b
    Switch to unsigned int for the int arrays. Fix compatibility issue Arthur Brainville 2018-02-20 21:47:22 +01:00
  • db1e8b3e8b
    added loading of doubles for position Arthur Brainville 2018-02-20 21:42:44 +01:00
  • 2b211221c8
    Add double type vector. Remove by default byte_stride value Arthur Brainville 2018-02-20 21:40:55 +01:00
  • 72f535e198
    Move defined types (array adapter templates) to the header Arthur Brainville (Ybalrid) 2018-02-20 15:55:23 +01:00
  • 02fce26c6c
    Use default material as the 1st material on the array Arthur Brainville (Ybalrid) 2018-02-20 14:25:46 +01:00
  • 7218e40bfd
    Fix pivot. Hack material to prevent crash Arthur Brainville (Ybalrid) 2018-02-20 10:14:26 +01:00
  • 2b10d88e42
    Load inside the scene graph the gltf mesh (like the obj) Arthur Brainville (Ybalrid) 2018-02-20 09:35:19 +01:00
  • aad6f06208
    Fix linux build in C++11 strict Arthur Brainville 2018-02-20 02:00:50 +01:00
  • b62e95f414
    Load the normal vectors of the primitive Arthur Brainville 2018-02-20 01:30:15 +01:00
  • ffc79a719b
    Also access the position attribute of the primitive Arthur Brainville 2018-02-19 23:44:31 +01:00
  • ce75870894
    Now load index buffer Arthur Brainville (Ybalrid) 2018-02-19 18:01:53 +01:00
  • 49721f0fd4
    Add the entry point for loading gltf files. Arthur Brainville (Ybalrid) 2018-02-19 14:30:28 +01:00
  • 62da4688af
    Only attempt to load the obj file if the obj_filename is defined in json Arthur Brainville (Ybalrid) 2018-02-19 13:16:40 +01:00
  • 365e56b779
    Small adjustment to the NanoSG readme Arthur Brainville (Ybalrid) 2018-02-19 02:29:04 +01:00
  • 1baa211450
    Add files to .gitignore Arthur Brainville (Ybalrid) 2018-02-19 01:29:03 +01:00
  • 01bf27443e
    Fix where stb image is actually implemented Arthur Brainville 2018-02-19 01:27:42 +01:00
  • 7e91e9bb9f
    Setup CI for raytrace example Arthur Brainville (Ybalrid) 2018-02-18 21:08:33 +01:00
  • 67f5fbd79e
    Add a gltf_filename feild to the renderconfig struct Arthur Brainville (Ybalrid) 2018-02-18 21:01:59 +01:00
  • a6cbf3d35b
    Applyind clang-format on main.cc. Included gltf-loader Arthur Brainville (Ybalrid) 2018-02-18 20:24:57 +01:00
  • 3903446bfc
    Move the implementation of stbi to it's own .cc file Arthur Brainville (Ybalrid) 2018-02-18 20:09:24 +01:00
  • 8066a54415
    Build the tinygltf loader code Arthur Brainville (Ybalrid) 2018-02-18 19:55:02 +01:00
  • 3d63a08ce2
    Make this code buildable as is Arthur Brainville (Ybalrid) 2018-02-18 19:21:38 +01:00
  • d868aff1d1
    Add the current code of nanort + nanosg Arthur Brainville (Ybalrid) 2018-02-18 19:15:50 +01:00
  • 6233b2e6bb
    Remove old nanort/nanosg code. Keep the gltf-loader class on hand Arthur Brainville (Ybalrid) 2018-02-18 19:13:57 +01:00
  • b09d660c38 Update premake script for glview example. Fixes #39. Syoyo Fujita 2018-02-23 01:09:58 +09:00
  • 0dca478817
    load texture coordinates Arthur Brainville (Ybalrid) 2018-02-21 10:02:04 +01:00
  • b7bf01c679
    Switch to unsigned int for the int arrays. Fix compatibility issue Arthur Brainville 2018-02-20 21:47:22 +01:00
  • dc07a50ab7
    added loading of doubles for position Arthur Brainville 2018-02-20 21:42:44 +01:00
  • 6edd3a7f60
    Add double type vector. Remove by default byte_stride value Arthur Brainville 2018-02-20 21:40:55 +01:00
  • fac0ad9243
    Move defined types (array adapter templates) to the header Arthur Brainville (Ybalrid) 2018-02-20 15:55:23 +01:00
  • 58baa51463
    Use default material as the 1st material on the array Arthur Brainville (Ybalrid) 2018-02-20 14:25:46 +01:00
  • d095ef53c4
    Fix pivot. Hack material to prevent crash Arthur Brainville (Ybalrid) 2018-02-20 10:14:26 +01:00