Skip to content

Releases: Twinklebear/tobj

Release 3.0.1

24 May 02:27
Compare
Choose a tag to compare

Changes

Release 3.0.0

12 May 02:03
Compare
Choose a tag to compare

Changes

This release brings API breaking changes to tobj that add a number of optional features that can be valuable for offline rendering. A huge thanks goes to @virtualritz for implementing these features! These features are:

The API has also changed to default to not compute a single index, but to instead return separate indices for normals and texture coordinates (as also done in tinyobjloader). Setting the load options single_index will provide the old behavior where vertex data may be duplicated to create unique vertices (https://github.com/Twinklebear/tobj/blob/master/src/lib.rs#L405-L423). For example, a rasterizer would typically set triangulate and single_index to true in the load options.

This release also resolves #30, which splits the load result into separate items for the OBJ file and the MTL file. This allows materials to fail to load without causing the entire mesh load to fail.

Release 2.0.2

03 Jun 01:37
Compare
Choose a tag to compare

Changes

  • Fix bug for some MTL files which had map_NS used for the shininess texture. Thanks @Husenap !

Release 2.0.1

26 May 03:57
Compare
Choose a tag to compare

Changes

  • Fix name parsing for map_Ns texture parameters, which would previously incorrectly truncate the first character of the texture map. Thanks @Meiguro !

Release 2.0.0

10 May 21:50
Compare
Choose a tag to compare

Changes

  • Fix mistake in MTL normal map parsing. These were incorrectly parsed as map_Ns when they should be reading map_Bump. Thanks @azymohliad !

  • Added support for material names with spaces. Thanks @CheezBarger !

  • Breaking change: Added an option to not triangulate the faces when loading an OBJ file, passed as an additional bool param to load_obj. Resolves #22

Release 1.0

27 Mar 02:05
Compare
Choose a tag to compare

Changes

  • Take AsRef<Path> types as the path for load_obj and load_mtl to provide a more egonomic API (#21). Thanks @alarsyo !

  • Remove use of now deprecated Error::description (#20). Thanks @alarsyo !

  • Add Clone, Copy and PartialEq to LoadError (#19). Thanks @ondrowan !

Fixes

  • tobj will now return an error if a face vertex references an out of bounds vertex position, texcoord or normal, resolving #18 . Thanks for the bug report @ondrowan !

Release 0.1.12

25 Feb 04:51
Compare
Choose a tag to compare

Changes

  • Add support for lines geometry with l faces. Thanks @tkonolige !

Release 0.1.11

04 Oct 15:48
Compare
Choose a tag to compare

Changes

  • Support for obj files exported without a name assigned to the object, thanks @aleksijuvani !

Release 0.1.10

13 Aug 15:25
Compare
Choose a tag to compare

Changes

  • Suppress log output from tobj via #14 , this can now be enabled by building with the feature gate "log" . Thanks @Skynoodle !

Release 0.1.9

12 Aug 00:02
Compare
Choose a tag to compare

Changes

  • Add support for in line comments after color params in MTL files, closing #13