Commit Graph

  • 5727596f3f 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
  • a85ef89208 Merge pull request #45 from Squareys/custom-image-loaders Syoyo Fujita 2018-03-14 10:07:49 +09:00
  • b613c4007a Allow opting out of STB_IMAGE dependency Squareys 2018-03-13 22:40:53 +01:00
  • a22c6b24fb Allow specifying custom image loader callback Squareys 2018-03-13 22:36:18 +01:00
  • 6bc80acfb3 Clean up obsolete debug output Squareys 2018-03-13 22:29:31 +01:00
  • 660aec3973 Remove trailing whitespaces Squareys 2018-03-13 22:20:48 +01:00
  • 781aa4b770 Fix minor typo Squareys 2018-03-13 22:20:01 +01:00
  • 5bd6a463fc Fix empty serialization. Fixes #44. Syoyo Fujita 2018-03-06 12:04:51 +09:00
  • a605c00a48 Merge pull request #43 from Ybalrid/devel Syoyo Fujita 2018-03-03 02:15:44 +09:00
  • 4236dccc3f raytrace: remove code that ouput the 1st loaded texture as PPM Arthur Brainville 2018-03-02 16:58:30 +01:00
  • f7f2354a7c Merge pull request #42 from Ybalrid/pr_raytrace_texture_loading Syoyo Fujita 2018-03-03 00:55:58 +09:00
  • 83b8218c97 Merge pull request #41 from Ybalrid/pr_upgrade_imgui_imguizmo_raytrace Syoyo Fujita 2018-03-03 00:43:18 +09:00
  • bd16abeb25 Restored previous behavior when moving node in scene Arthur Brainville 2018-03-02 16:21:28 +01:00
  • 82533402a4 Update scene when moving gizmo Arthur Brainville 2018-03-02 16:10:20 +01:00
  • b3fd75f89e Upgraded dear imgui and ImGuizmo to the latest version Arthur Brainville 2018-03-02 15:44:37 +01:00
  • 4acfd9b037 raytrace: add simple code that load texture data Arthur Brainville 2018-03-02 13:57:37 +01:00
  • 88b6a9e911 Fix return location. Syoyo Fujita 2018-02-28 19:59:32 +09:00
  • 6d7748759d Merge pull request #40 from Ybalrid/pr_raytrace_example Syoyo Fujita 2018-02-28 00:04:07 +09:00
  • 721ac3b4bf Fixed triangle fan indices Arthur Brainville 2018-02-27 12:47:06 +01:00
  • 65cc97eb6d Enforece some const correctness. Add comments. Arthur Brainville (Ybalrid) 2018-02-25 01:23:04 +01:00
  • d54853e812 Reorder UVs in vacevaying order Arthur Brainville (Ybalrid) 2018-02-25 01:14:57 +01:00
  • 038ebb230b Handle all types of triangle-based vertex buffer. Arthur Brainville (Ybalrid) 2018-02-25 00:52:50 +01:00
  • ef5d264f35 Fix pesudo -> pseudo typo Arthur Brainville (Ybalrid) 2018-02-25 00:42:35 +01:00
  • 49466f0280 Check the type of vectors before checking the type of their component Arthur Brainville (Ybalrid) 2018-02-24 22:09:17 +01:00
  • 1c00bdf009 Fix the loading of normals by putting them into facevarying order Arthur Brainville (Ybalrid) 2018-02-24 21:52:53 +01:00
  • 4e375075b6 Fixes problem when mesh in glTF file doesn't have a name Arthur Brainville (Ybalrid) 2018-02-23 15:15:33 +01:00
  • cad562a390 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
  • 4899323a06 Log the types of data used by the currently loaded GLTF file Arthur Brainville (Ybalrid) 2018-02-23 14:23:30 +01:00
  • e1b7cb5e06 load texture coordinates Arthur Brainville (Ybalrid) 2018-02-21 10:02:04 +01:00
  • b0d3f22701 Small code cleanup Arthur Brainville 2018-02-21 08:56:09 +01:00
  • 7c0e935f5d Switch to unsigned int for the int arrays. Fix compatibility issue Arthur Brainville 2018-02-20 21:47:22 +01:00
  • 92eb0927cf added loading of doubles for position Arthur Brainville 2018-02-20 21:42:44 +01:00
  • 9bbe0f53f4 Add double type vector. Remove by default byte_stride value Arthur Brainville 2018-02-20 21:40:55 +01:00
  • 509a637972 Move defined types (array adapter templates) to the header Arthur Brainville (Ybalrid) 2018-02-20 15:55:23 +01:00
  • 891175210e Use default material as the 1st material on the array Arthur Brainville (Ybalrid) 2018-02-20 14:25:46 +01:00
  • aeae115cf2 Fix pivot. Hack material to prevent crash Arthur Brainville (Ybalrid) 2018-02-20 10:14:26 +01:00
  • a2b5caaf2f Load inside the scene graph the gltf mesh (like the obj) Arthur Brainville (Ybalrid) 2018-02-20 09:35:19 +01:00
  • 166679563a Fix linux build in C++11 strict Arthur Brainville 2018-02-20 02:00:50 +01:00
  • 32c1efafd1 Load the normal vectors of the primitive Arthur Brainville 2018-02-20 01:30:15 +01:00
  • 44743284b3 Also access the position attribute of the primitive Arthur Brainville 2018-02-19 23:44:31 +01:00
  • f0d27a93a4 Now load index buffer Arthur Brainville (Ybalrid) 2018-02-19 18:01:53 +01:00
  • 9d08a41841 Add the entry point for loading gltf files. Arthur Brainville (Ybalrid) 2018-02-19 14:30:28 +01:00
  • afa5dae15a 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
  • 136e9dac7e Small adjustment to the NanoSG readme Arthur Brainville (Ybalrid) 2018-02-19 02:29:04 +01:00
  • f63017ef7b Add files to .gitignore Arthur Brainville (Ybalrid) 2018-02-19 01:29:03 +01:00
  • 46c9a46862 Fix where stb image is actually implemented Arthur Brainville 2018-02-19 01:27:42 +01:00
  • 09fc3ce916 Setup CI for raytrace example Arthur Brainville (Ybalrid) 2018-02-18 21:08:33 +01:00
  • 46621374d4 Add a gltf_filename feild to the renderconfig struct Arthur Brainville (Ybalrid) 2018-02-18 21:01:59 +01:00
  • e6a688e60e Applyind clang-format on main.cc. Included gltf-loader Arthur Brainville (Ybalrid) 2018-02-18 20:24:57 +01:00
  • c8d7a88f28 Move the implementation of stbi to it's own .cc file Arthur Brainville (Ybalrid) 2018-02-18 20:09:24 +01:00
  • 60417f2ac8 Build the tinygltf loader code Arthur Brainville (Ybalrid) 2018-02-18 19:55:02 +01:00
  • 07f0122056 Make this code buildable as is Arthur Brainville (Ybalrid) 2018-02-18 19:21:38 +01:00
  • 4902ebcd5c Add the current code of nanort + nanosg Arthur Brainville (Ybalrid) 2018-02-18 19:15:50 +01:00
  • 835d09e32f Remove old nanort/nanosg code. Keep the gltf-loader class on hand Arthur Brainville (Ybalrid) 2018-02-18 19:13:57 +01:00
  • b46856ca2f Update premake script for glview example. Fixes #39. Syoyo Fujita 2018-02-23 01:09:58 +09:00
  • e579bd1602 load texture coordinates Arthur Brainville (Ybalrid) 2018-02-21 10:02:04 +01:00
  • 7f77e39fb4 Switch to unsigned int for the int arrays. Fix compatibility issue Arthur Brainville 2018-02-20 21:47:22 +01:00
  • 0c86b74d1f added loading of doubles for position Arthur Brainville 2018-02-20 21:42:44 +01:00
  • 7374b959d5 Add double type vector. Remove by default byte_stride value Arthur Brainville 2018-02-20 21:40:55 +01:00
  • ed7d206c38 Move defined types (array adapter templates) to the header Arthur Brainville (Ybalrid) 2018-02-20 15:55:23 +01:00
  • df08ad2c55 Use default material as the 1st material on the array Arthur Brainville (Ybalrid) 2018-02-20 14:25:46 +01:00
  • 9cbd581292 Fix pivot. Hack material to prevent crash Arthur Brainville (Ybalrid) 2018-02-20 10:14:26 +01:00
  • 644e4e4918 Load inside the scene graph the gltf mesh (like the obj) Arthur Brainville (Ybalrid) 2018-02-20 09:35:19 +01:00
  • ee95287c54 Fix linux build in C++11 strict Arthur Brainville 2018-02-20 02:00:50 +01:00
  • 54512a77df Load the normal vectors of the primitive Arthur Brainville 2018-02-20 01:30:15 +01:00
  • 89648e1180 Also access the position attribute of the primitive Arthur Brainville 2018-02-19 23:44:31 +01:00
  • 2504b9669d Now load index buffer Arthur Brainville (Ybalrid) 2018-02-19 18:01:53 +01:00
  • da6ab7642d Add the entry point for loading gltf files. Arthur Brainville (Ybalrid) 2018-02-19 14:30:28 +01:00
  • 5eb8509d29 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
  • 91a704206b Small adjustment to the NanoSG readme Arthur Brainville (Ybalrid) 2018-02-19 02:29:04 +01:00
  • c3a6733db1 Add files to .gitignore Arthur Brainville (Ybalrid) 2018-02-19 01:29:03 +01:00
  • 019dee91f2 Fix where stb image is actually implemented Arthur Brainville 2018-02-19 01:27:42 +01:00
  • 262e1d13f0 Setup CI for raytrace example Arthur Brainville (Ybalrid) 2018-02-18 21:08:33 +01:00
  • 2f0eb86498 Merge branch 'devel' of github.com:syoyo/tinygltf into devel Syoyo Fujita 2018-02-19 19:28:17 +09:00
  • 266679ed93 Add link to Vulkan-glTF-PBR. Syoyo Fujita 2018-02-19 18:05:47 +09:00
  • 7ac021c928 Add a gltf_filename feild to the renderconfig struct Arthur Brainville (Ybalrid) 2018-02-18 21:01:59 +01:00
  • 36312f8ee1 Applyind clang-format on main.cc. Included gltf-loader Arthur Brainville (Ybalrid) 2018-02-18 20:24:57 +01:00
  • 80f1b5ba49 Move the implementation of stbi to it's own .cc file Arthur Brainville (Ybalrid) 2018-02-18 20:09:24 +01:00
  • 3dc96bbfe4 Build the tinygltf loader code Arthur Brainville (Ybalrid) 2018-02-18 19:55:02 +01:00
  • 2d52f2d3c8 Make this code buildable as is Arthur Brainville (Ybalrid) 2018-02-18 19:21:38 +01:00
  • 598ea4b732 Add the current code of nanort + nanosg Arthur Brainville (Ybalrid) 2018-02-18 19:15:50 +01:00
  • 3f0158a8e4 Remove old nanort/nanosg code. Keep the gltf-loader class on hand Arthur Brainville (Ybalrid) 2018-02-18 19:13:57 +01:00
  • 1522d1da9b Merge pull request #38 from o-micron/patch-2 Syoyo Fujita 2018-02-10 16:53:00 +09:00
  • 3cec231409 Fix return value when error occurs Omar C. F 2018-02-10 09:50:35 +02:00
  • 5a94d3e4f5 Merge pull request #37 from o-micron/patch-1 Syoyo Fujita 2018-02-10 16:11:35 +09:00
  • 8b311835c5 Add missing bmp and gif mimetypes Omar C. F 2018-02-10 09:09:41 +02:00
  • d484193480 Merge pull request #36 from Ybalrid/devel_add_gitignore Syoyo Fujita 2018-02-02 00:57:32 +09:00
  • 1d18a7357e Add gitignore file Arthur Brainville (Ybalrid) 2018-02-01 15:38:34 +01:00
  • 4a6652650b Merge branch 'devel' of github.com:syoyo/tinygltf into devel Syoyo Fujita 2018-01-21 12:20:00 +09:00
  • 1c6707eb66 Set GL_DOUBLE value from OpenGL spec. Fixes #35. Syoyo Fujita 2018-01-21 12:19:01 +09:00
  • c5a09f6a3b Suppress clang warnigns. Refactor code to use C++11 features. Syoyo Fujita 2018-01-16 18:55:13 +09:00
  • f283d4b070 Add more note on Visual Studio version. Syoyo Fujita 2018-01-11 14:06:10 +09:00
  • f262e3b5bb Merge pull request #34 from Ybalrid/patch-1 Syoyo Fujita 2018-01-10 20:52:24 +09:00
  • 0fc7d639e3 Add language tag on code snippets in README Arthur Brainville 2018-01-10 12:04:51 +01:00
  • 609e801fc7 Describe note on Visual Studio version. Syoyo Fujita 2018-01-10 18:32:51 +09:00
  • 96c2123ae1 Merge pull request #33 from Ybalrid/CI_fix Syoyo Fujita 2018-01-10 18:30:45 +09:00
  • d8d3e6c95d Change VS version to one that is better compatible with C++11 Arthur Brainville (Ybalrid) 2018-01-10 09:09:21 +01:00
  • 5ceb834077 Merge pull request #32 from Ybalrid/narrowingConversionWarning Syoyo Fujita 2018-01-10 12:20:28 +09:00
  • 3b05513ba9 Silence a MSVC warning about narrowing conversion Arthur Brainville 2018-01-10 01:27:12 +01:00
  • 5364f178ae Update README of gltf-validator. Syoyo Fujita 2018-01-09 14:28:16 +09:00