Skip to content

Releases: blueburncz/BBMOD

2.2.1

10 May 19:15
Compare
Choose a tag to compare

Conversion tool changelog:

  • Fixed converting models with -db/--disable-bone parameter (it resulted into an invalid file format).

2.2.0

08 May 06:17
Compare
Choose a tag to compare

Conversion tool changelog:

  • Added new command line options:
    • -db, --disable-bone - Disable saving bones and animations.
    • -dc, --disable-color - Disable saving vertex colors.
    • -dn, --disable-normal - Disable saving normal vectors. This also automatically applies --disable-tangent.
    • -dt, --disable-tangent - Disable saving tangent vectors and bitangent signs.
    • -duv, --disable-uv - Disable saving texture coordinates.
    • Please note that using any of these arguments will result into a vertex format that the shaders in the BBMOD library do not account for! You will have to write compatible shaders yourself!
  • The -iw option for inverting vertex winding order can now be also written as --invert-winding.
  • The -lh option for converting data to left-handed can now be also written as --left-handed.
  • The tool can now be compiled as a DLL. The DLL and a GML library required to call its functions is not currently distributed.

Library changelog:

  • Added optional argument interpolate_frames to the script bbmod_animation_player_update, using which you can disable interpolation between animation frames, which increases performance.
  • Another minor optimization to the script bbmod_animate.

2.1.1

21 Apr 06:23
beeb9a1
Compare
Choose a tag to compare

Changelog:

  • Fixed typo in script bbmod_animation_player_update.

2.1.0

19 Apr 09:30
Compare
Choose a tag to compare

The GML library now contains API for overriding bone transformations. This can be used for example to rotate a character's hand to point at a target or its head to look in camera's direction etc.

Changelog:

  • Added new scripts bbmod_set_bone_position and bbmod_set_bone_rotation for overriding bone positions
    and rotations.
  • Added new script bbmod_model_find_bone_id, which finds an id that is assigned to a bone with specified name. This script shouldn't be used in release builds, as it can slow down your game. You should use the ids available from the _log.txt files, which are created when a model is converted.
  • Structure AnimationPlayer now contains two new members - BonePositionOverride and BoneRotationOverride, which contain position and rotation overrides for bones.
  • Script bbmod_animate now takes an AnimationPlayer structure as the first parameter instead of a Model. This change was required to be able to obtain bone transform overrides.

2.0.6

19 Apr 06:27
Compare
Choose a tag to compare

Changelog:

  • Added new option -iw to invert winding order of triangles. Use this option when CCW culling shows polygons that are facing away from the camera.
  • Fixed vertex colors (they were inverted).

2.0.5

18 Apr 05:22
42ebf8a
Compare
Choose a tag to compare

Changelog:

  • Fixed bug in bbmod_animate - it couldn't play animations with a single keyframe.

2.0.4

17 Apr 17:10
Compare
Choose a tag to compare

Changelog:

  • Optimized script bbmod_animate - animations now run 2 times faster!
  • Fixed script bbmod_model_get_bindpose_transform, which was doing a lot of unnecessary work.

2.0.3

11 Apr 11:11
Compare
Choose a tag to compare

Changelog:

  • Improved command line argument parsing.
  • Added new argument -lh for converting models into left-handed coordinate system. Default is right-handed.

2.0.2

11 Apr 08:55
Compare
Choose a tag to compare

Changelog:

  • Added BBMOD_MATERIAL_DEFAULT_ANIMATED as a default material for animated models.
  • Updated script bbmod_render - when the material array is not defined a new one is created with either BBMOD_MATERIAL_DEFAULT or BBMOD_MATERIAL_DEFAULT_ANIMATED (based on whether the transformation array was defined).
  • Fixed error in script bbmod_model_get_bindpose_transform.
  • Fixed animation playback example in the quickstart documentation.
  • Updated Catalyst requirements.

2.0.1

11 Apr 05:57
Compare
Choose a tag to compare

Changelog:

  • Fixed colorized output to console (in model conversion tool).