Skip to content

Releases: jkuhlmann/cgltf

cgltf 1.5

03 Feb 20:52

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.

cgltf 1.4

25 Nov 20:32

Choose a tag to compare

  • Added parsing of target names in meshes.
  • Added cgltf_accessor_unpack_floats.
  • Fixed a few corner cases in cgltf_component_read_*.
  • Fixed transforms for non-uniform scale.
  • Fixed warnings and smaller issues.
  • Restored C99 conformance.

cgltf 1.3

19 Aug 19:29

Choose a tag to compare

  • Fixed a memory leak.
  • Made the parser safer.
  • Fixed cgltf_write to compile as C99.

cgltf 1.2

04 Jul 20:28

Choose a tag to compare

  • Added support for writing glTF data.
  • Added support for extras data.
  • Added support for required and used extension lists.
  • Improved performance for parsing large glTF files.
  • Fixed some warnings

cgltf 1.1

18 Apr 10:41

Choose a tag to compare

  • Added some helpers: cgltf_accessor_read_float(), cgltf_accessor_read_index().
  • Made cgltf_result cgltf_load_buffer_base64() public.
  • Fixed cgltf_calc_size() to return correct values for the special cases specified in the spec.

cgltf 1.0

14 Feb 20:13

Choose a tag to compare

cgltf is a glTF 2.0 parser written in C:

  • it's only one file
  • no dependencies (only a few standard C headers and an embedded JSON parser)
  • supports glTF 2.0 and all current KHR extensions (except for KHR_draco_mesh_compression and KHR_techniques_webgl)