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: | :x: |
| 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: | :x: |
| Bullet Shapes | :heavy_check_mark: | :x: | :x: |
| Tags from Game Properties | :heavy_check_mark: | :heavy_check_mark: | :x: |
| Tags from Custom Properties | :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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panda3d-blend2bam-0.7.tar.gz.
File metadata
- Download URL: panda3d-blend2bam-0.7.tar.gz
- Upload date:
- Size: 9.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9d3997b095def112f1adb7e4d3bb647c0998a76a916d2ed156bfa2d8177c215
|
|
| MD5 |
998c5e0ed63c7faf18229178d611bc75
|
|
| BLAKE2b-256 |
d56c4966a97980f8f671b76dafee7ecf3f7019787d570b7cc50084ee4f88a14a
|
File details
Details for the file panda3d_blend2bam-0.7-py2.py3-none-any.whl.
File metadata
- Download URL: panda3d_blend2bam-0.7-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dd6b1a58ca46a11c61c21e3e273afc4393e0fd812b040c00aca36ebccd8d78d
|
|
| MD5 |
49016122a49fb455af454ff87a870e30
|
|
| BLAKE2b-256 |
2d5b1d53655a678cdc2eeec712d2f99bb85506bff62bf24f827a06b412b7042e
|