Skip to main content

Synthetic Rendering for Blender

Project description

BlenderSynth

Synthetic Blender pipeline - aimed at generating large synthetic datasets.

BlenderProc is an incredibly useful tool for synthetic dataset generation. We aim here to provide an alternative that is (a) more specialised for uncommon data forms, and (b) runs faster for creating large scale datasets.

We produce support for:

  • Custom Shader AOVs (eg. UVs, Normals, etc.)
  • Multi-threading support
  • Efficient run-speed

Installation

  1. Install Blender

  2. Install blendersynth

If Blender is not in your PATH, you will need to specify the path to your Blender installation on install.

From pip:

pip install blendersynth
python -c "import blendersynth"

Or from local clone:

git clone https://github.com/OllieBoyne/BlenderSynth
cd BlenderSynth
python setup.py install
python -c "import blendersynth" --local

Examples

See here for usage examples.

Note that bsyn imports all bpy functionality, so you can call any bpy function as if you would normally.

Contributions

This project is currently in Beta. Please let me know what new features you would like, or feel free to make a pull request!

Troubleshooting

If any issues with the Blender scripts not having the correct modules, try bsyn.fix_blender_modules(), or to completely reconfigure Blender, bsyn.fix_blender_install(). If installing from local clone, use local=True argument to both.

Benchmarking

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blendersynth-0.0.3.tar.gz (28.7 kB view hashes)

Uploaded Source

Built Distribution

blendersynth-0.0.3-py3-none-any.whl (38.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page