-
Install blender 3.6.9 and setup
PATHenvvar to callblenderfrom command line.blender --version
-
Create a virtual env of python 3.10. This can be done by either
condaor python packagevenv.-
condaapproachconda create -p ./.conda python=3.10 conda activate ./.conda
-
venvapproach First usepyenvor other tools to install a python intepreter of version 3.10. Here 3.10.14 is used as example:pyenv install 3.10.14 pyenv shell 3.10.14
Then create a virtual environment:
python -m venv .venv --prompt mocap_blender . .venv/bin/activate
-
-
Install
mocap_blenderpackage.pip install -e ./package
-
Start blender / Batch render.
- Start blender for scene editing. Debug the blender python script, adjust the lights, setup the materials and save them in the scene. The provided example scene is
asset/base.blendand the linked script isscript/preview/example.py.
./blender.sh
- Batch rendering. Implement the interface script (an example is
batch_render_example.py), then place the data pickles in corresponding directories.
Then call the interface from the command line.
python ./script/batch_render_example.py data/example data/example_render
The output logs are generated under directory
temp. Check these logs for debug usage. - Start blender for scene editing. Debug the blender python script, adjust the lights, setup the materials and save them in the scene. The provided example scene is
View the introductory video on youtube.