Skip to content

Tags: pygfx/gltflib

Tags

v1.0.13

Toggle v1.0.13's commit message
Added:

- Added ability to read and write from a stream (instead of a file) (#240)
- Output typing information for py.typed (#239)

v1.0.12

Toggle v1.0.12's commit message
Fixed:

- Handle scenario where multiple buffers or images point to same URI when embedding

v1.0.11

Toggle v1.0.11's commit message
Fixed:

- Handle some inconsistencies with URI encoding during conversion.

v1.0.10

Toggle v1.0.10's commit message
Fixed:

- Support for URL-encoded spaces (#162). See: [KhronosGroup/glTF#1449](KhronosGroup/glTF#1449).
- BufferView.byteOffset is Optional and can be None.
- Allow comparing int-based enum with int values.

v1.0.9

Toggle v1.0.9's commit message
Fixed:

- Ensure dataclasses install requirement is only applied for Python 3.6 in setup.py (dataclasses is available natively in Python 3.7+). This fixes an issue that can occur when this package is consumed in some scenarios (e.g., executable packaging).

v1.0.8

Toggle v1.0.8's commit message
Fixed:

- Set MIME type correctly when embedding file-based image resources (#123)

v1.0.7

Toggle v1.0.7's commit message
Changed:

- Support non-conforming glTF/GLB files with wrong encoding for JSON data. Per the spec, glTF/GLB should
use UTF-8 without BOM. However, the library now also supports reading files encoded with UTF-8 with BOM,
UTF-16-LE, UTF-16-BE, and Windows-1252.

v1.0.6

Toggle v1.0.6's commit message
Fixed:

- Fixed issue with embedding more than 2 buffers when saving GLB (#109)
- Set uri to undefined when embedding images (#58)

v1.0.5

Toggle v1.0.5's commit message
Changed:

- Emit runtime warning instead of error when encountering unexpected EOF

v1.0.4

Toggle v1.0.4's commit message
v1.0.4

Added:
- Added roundtrip tests for all models in the glTF-Sample-Models repository
- Added "extensionsUsed" and "extensionsRequired" properties to model

Changed:
- Create missing parent directories automatically when exporting the model (and its resources)
- Retain empty strings, lists, and dictionaries in the model when exporting (only remove properties set to None, leave everything else the same)

Fixed:
- Loosened type restrictions on "extensions" property to avoid error during load when the property is set