Skip to content

Releases: jkuhlmann/cgltf

cgltf v1.14

25 Apr 20:19
Compare
Choose a tag to compare
  • Add support for writing glb files.
  • Add support for KHR_materials_anisotropy.
  • Add support for KHR_materials_dispersion.
  • Add cgltf_component_size() and cgltf_size cgltf_calc_size() to help calculating required memory.
  • Add getter functions for indices of various objects.
  • Add cgltf_accessor_unpack_indices() to optimize data extraction.
  • Change handling of extras data to make a copy of the data.
  • Improve validation.
  • Improve parsing robustness.
  • Fix support for EXT_mesh_gpu_instancing.
  • Fix writing of normal and occlusion texture info.
  • Fix writing extras data for lights.
  • Fix handling 2GB+ files.
  • Fix undefined behavior when converting negative floats.
  • Fix detection of whether the cgltf is being compiled with MSVC.
  • Fix unnecessary usage of variable length arrays.
  • Remove support for extras and extensions in cgltf_accessor_sparse and cgltf_texture_view.

cgltf v1.13

28 Aug 14:16
Compare
Choose a tag to compare
  • Added support for KHR_materials_iridescence.
  • Added support for EXT_mesh_gpu_instancing.
  • Added custom vertex attributes handling.
  • Added *_max_enum suffixes to enumerated types.
  • Fixed unpack_floats() for signed integers.
  • Fixed to allow preprocessor overwrite of free/alloc.
  • Some documentation fixes.

cgltf v1.12

03 Feb 20:19
Compare
Choose a tag to compare
  • Added support for KHR_materials_emissive_strength.
  • Added cgltf_decode_string for decoding escaped JSON strings.
  • Changed tests to be built with AddressSanitizer.
  • Fixed Intellisense define in cgltf_write.h.

cgltf 1.11

13 Sep 19:05
Compare
Choose a tag to compare
  • Added support for KHR_texture_basisu.
  • Added support for files > 2GB.
  • Added extras data to lights.
  • Added a flag for the texture transform's texcoord to be able to tell if it's actually present.
  • Fixed memory possibly being freed using the wrong function (when parsing base64 data and/or file data).
  • Fixed light default values when loading.
  • Fixed writer to write light diffuse factor correctly and only write alpha cutoff when using alpha mask mode.

cgltf 1.10

22 Mar 20:18
Compare
Choose a tag to compare
  • Added support for KHR_materials_variants.
  • Added support for KHR_materials_volume.
  • Added support for optional camera properties: aspect ratio, zfar,
  • Added support for the "name" property to accessor, buffer, buffer view, and sampler.
  • Added support for raising asserts from within the cgltf_validate() function.
  • Updated support for KHR_materials_specular to support specularTexture and specularColorTexture.
  • Fixed parsing of files with targetNames:null.
  • Fixed some crashes on invalid inputs.

cgltf 1.9

07 Dec 20:44
Compare
Choose a tag to compare
  • Added support for KHR_materials_sheen.
  • Added support for EXT_meshopt_compression.

cgltf 1.8

09 Oct 06:39
Compare
Choose a tag to compare
  • Added support for KHR_materials_ior.
  • Added support for KHR_materials_specular.
  • Increased precision when writing floats.

cgltf 1.7

04 Aug 19:57
Compare
Choose a tag to compare
  • Added support for KHR_materials_transmission.
  • Added decoding URIs (which may be percent encoded).
  • Added support for unsupported extension (can now get access to the underlying JSON).
  • Fixed writing extras in root.

cgltf 1.6

23 Apr 05:54
Compare
Choose a tag to compare
  • Added KHR_draco_mesh_compression extension.
  • Added KHR_materials_clearcoat extension.
  • Fixed some warnings.
  • Fixed some memory leaks.

cgltf 1.5

03 Feb 20:52
Compare
Choose a tag to compare
  • Added callbacks for file read operations that can now be specified via cgltf_options.
  • Added cgltf_accessor_read_uint() that can be used to read integer vertex data.
  • Added support for writing extras data.
  • Added detection for glTF version 1 files so that we can return a more specific error for these unsupported files.
  • Changed reading of data to fail and not crash in case buffers have not been loaded.
  • Changed malloc() and free() not to be used and stdlib.h not to be included if CGLTF_MALLOC and CGLTF_FREE macros are defined.
  • Fixed writing the correct mime type property name for images.
  • Fixed writing of the correct property name for light colors.
  • Fixed some warnings.