A tool to convert Blender blend files to Panda3D BAM files
Project description
blend2bam
blend2bam
is a CLI tool to convert Blender blend files to Panda3D BAM files
Installation
Use pip to install the panda3d-blend2bam package:
pip install panda3d-blend2bam
Usage
usage: blend2bam [-h] [--version] [-m {legacy,pbr}]
[--physics-engine {builtin,bullet}] [--srcdir SRCDIR]
[--blender-dir BLENDER_DIR] [--append-ext]
[--pipeline {gltf,egg}]
src [src ...] dst
positional arguments:
src source path
dst destination path
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-m {legacy,pbr}, --material-mode {legacy,pbr}
control how materials are exported
--physics-engine {builtin,bullet}
the physics engine to build collision solids for
--srcdir SRCDIR a common source directory to use when specifying
multiple source files
--blender-dir BLENDER_DIR
directory that contains the blender binary
--append-ext append extension on the destination instead of
replacing it (batch mode only)
--pipeline {gltf,egg,gltf28}
the backend pipeline used to convert files
Pipelines
blend2bam
has support for multiple backend "pipelines." Currently, gltf
and egg
are supported.
gltf
uses blendergltf and panda3d-gltf while egg
uses YABEE and egg2bam
from the Panda3d SDK.
For Blender 2.80+, only glTF is supported via the the gltf28
pipeline which uses the glTF exporter built into Blender 2.80+.
The below table hightlights some of the differences.
Feature | glTF | EGG | glTF28 |
---|---|---|---|
Static Meshes | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Textures | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Multiple Diffuse Textures | :x: | :heavy_check_mark: | :x: |
Legacy Materials | :heavy_check_mark: | :heavy_check_mark: | :x: |
PBR Materials | :heavy_check_mark: | :x: | :heavy_check_mark: |
Lights | :heavy_check_mark: | :x: | :heavy_check_mark: |
Skinned Meshes | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Skeletal Animations | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Shape Keys | :x: | :heavy_check_mark: | :x: |
Shape Key Animations | :x: | :heavy_check_mark: | :x: |
CollisionSolids | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Bullet Shapes | :heavy_check_mark: | :x: | :heavy_check_mark: |
Tags from Game Properties | :heavy_check_mark: | :heavy_check_mark: | :x: |
Tags from Custom Properties | :heavy_check_mark: | :x: | :heavy_check_mark: |
Convert Particle Systems to Meshes | :heavy_check_mark: | :x: | :heavy_check_mark: |
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
panda3d-blend2bam-0.9.tar.gz
(9.1 MB
view hashes)
Built Distribution
Close
Hashes for panda3d_blend2bam-0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139a1913d9389613e26e25834eec8e06beeff4d056c40a13101d68f7b3b3be09 |
|
MD5 | 556ee451b7d642877eb9d9262f1f3fb2 |
|
BLAKE2b-256 | 079e820b9c8243e529b049f23667920b237acfff5376e7d007d4bfee948f3867 |