blend2bam

A CLI tool to convert Blender blend files to Panda3D BAM files

MIT License

Downloads
1.6K
Stars
65
blend2bam - v0.25.0 Latest Release

Published by Moguri 11 months ago

  • Do not use sparse accessors when exported from Blender 4.0+
  • Fallback to separate textures when using embedded textures on Blender 4.0+ instead of erroring (embedded textures still need to be re-worked to work with Blender 4.0+)
  • Require at least panda3d-gltf 1.1.0 (fixes error with using urllib.parse)
blend2bam - v0.24.0

Published by Moguri 12 months ago

  • Use unbuffered output for Python in Blender (makes the output more stable for parsing)
  • Require panda3d-gltf ~= 1.0
blend2bam - v0.23.0

Published by Moguri about 1 year ago

  • Fix exporting lights from Blender 3.4+ (use the old RAW lighting export until panda3d-gltf has better support)
  • Do not attempt to add actions to NLA editor if not exporting animations
blend2bam - v0.22.1

Published by Moguri about 1 year ago

  • Re-fix broken animations for Blender 3.6 (the fix broke when fixing Blender 2.83 support)
blend2bam - v0.22.0

Published by Moguri about 1 year ago

  • Remove support for Blender 2.79
  • Fix crashes when a modifier cannot be applied
  • Support combined textures generated by the glTF exporter
  • Fix exporting animations in Blender 3.6
  • Fix Windows error when%temp% is on a different driver
  • Force materials to be single-sided by default (override with new --allow-double-sided-materials flag
blend2bam - v0.21

Published by Moguri over 1 year ago

gltf28

  • Do not attempt to delete non-existent mesh node
  • Fix applying modifiers and apply modifiers on all meshes (instead of just skinned meshes)
  • Fix shape keys when using Blender 3.3+
  • Fix version check in blender_script_common to properly detect Blender 3.0+
  • Export loose edges and vertices as lines and point (requires Blender 2.93+)
  • Set export_keep_originals to True when available since blend2bam does not handle packed textures well

CLI

  • Show defaults for options in help text
  • Hide some prints behind a new --verbose flag

Other

  • Fix FileNotFoundError when looking for flatpak versions of Blender (fixes #70)
  • Use panda3d-gltf CLI instead of using less-stable internal APIs
  • Make Settings a mutable dataclass
blend2bam -

Published by Moguri almost 3 years ago

  • Support exporting invisible collision solids without meshes
  • Improve caching of running Blender checks
  • Support Blender 3.0+
  • Fix error when '.exe' is appended to --blender-bin argument (#64)
  • Support flatpak Blender installs
blend2bam - v0.19

Published by Moguri over 3 years ago

  • Cache getting the blender version to avoid launching Blender so much
  • Fix prepare_meshes function for linked collections ("ViewLayer 'x' does not contain object 'y'" error)
  • Add --blender-bin option to the cli
blend2bam - v0.18

Published by Moguri almost 4 years ago

  • Fix referencing texture paths that start with '..' (#43)
  • Don't load temporary BAM file through BAM cache (#44)
  • Fix error exporting images whose name doesn't match filename (#49)
  • Support locating Blender on macOS
blend2bam - v0.17

Published by Moguri about 4 years ago

  • Apply modifiers on armature meshes before export to speed up animation export
  • Add --animations flag, the valid options for this new flag are:
    • 'embed': store animations in the same BAM file as the rest (default)
    • 'separate': store animations in separate BAM files
    • 'skip': do not convert animations
blend2bam - v0.16

Published by Moguri about 4 years ago

  • Various fixes for running on Windows
blend2bam - v0.15

Published by Moguri about 4 years ago

  • Change default material mode from legacy to pbr (this is a breaking change)
  • Add partial legacy material support for gltf28 pipeline
blend2bam - v0.14.1

Published by Moguri about 4 years ago

  • Fix using quotes for --blender-dir option
blend2bam - v0.14

Published by Moguri about 4 years ago

  • Fix errors when using Blender 2.90
  • Handle quotes in file paths
blend2bam - v0.13

Published by Moguri about 4 years ago

  • Export tangents when using Blender 2.80+
  • Add support for PANDA3D_physics_collision_shapes
  • Only call duplicates_make_real() if an object has particle systems
  • Attempt to auto-discover Blender install locations on Windows
blend2bam - v0.12

Published by Moguri over 4 years ago

  • Make panda3d-gltf a dependency instead of vendorizing it
  • Fix running as a Python File Loader
  • Fix error when attempting to make particles real on hidden objects (gltf28)
  • Remove explicit gltf28 pipeline option (the correct pipeline is automatically chosen when gltf is selected)
  • Fix issue with garbage paths when converting blend files to an intermediate form (#24)
  • Auto-export all armature actions by adding them to the NLA editor before invoking the exporter (gltf28)
blend2bam - v0.11

Published by Moguri over 4 years ago

  • Fix potential error when switching to object mode to make particles real
blend2bam - v0.10

Published by Moguri almost 5 years ago

  • Allow python -m blend2bam to work
  • Fix conversion error if in Pose or Edit mode
  • Add --no-srgb option to not make sRGB textures for glTF pipelines (not spec-compliant, but sometimes useful)
  • Fix error in Python file loader
  • Add new texture handling options to allow copying textures
  • Update panda3d-gltf to v0.5
    • This includes various fixes and morph target support
blend2bam - v0.9

Published by Moguri about 5 years ago

gltf28 Pipeline

  • Fix physics export crashing if an armature is present
  • Convert particle systems to meshes on export

gltf Pipeline

  • Convert particle systems to meshes on export

CLI

  • Fix --blender-dir option so it actually works
blend2bam - v0.8

Published by Moguri about 5 years ago

  • Add Python file loader (allows loading blend files via the Loader API)
  • Update panda3d-gltf
    • Adds support for lights for gltf28 pipeline
  • Add support for collision shapes (Bullet or builtin) with the gltf28 pipeline
Package Rankings
Top 6.44% on Pypi.org
Badges
Extracted from project README
License
Related Projects