tinygltf
tinygltf copied to clipboard
Header only C++11 tiny glTF 2.0 library
Do not discard image data uri if uri still needed
**Describe the issue** When adding binary image data, I am confused about the purpose of `Image::image` and `Image::bufferView`. https://github.com/syoyo/tinygltf/blob/a5e653e46cca64bbc0ecee7ede007347a94c39b0/tiny_gltf.h#L636-L637 Both seem to be a way of specifying image binary data....
The extension [KHR_animation_pointer](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer) provides a path to the element to animate, and the path might be like this: `/materials/0/pbrMetallicRoughness/baseColorFactor` Unfortunately, parsing such string is rather difficult in tinygltf without a...
Bump minimum required version to 3.10.0. After updating CMake on my system I was getting annoyed by warning that support for CMake < 3.10 will be removed in future version.
The `GetBaseFilename` function was previously used to extract the base filename from the decoded URI. However, the decoded URI already represents the desired filename. This allow to preserve the sub-directory...