Needs Python 3.11 because Blender Python module (currently 4.4.0) is on Python 3.11. Make a virtualenv if not on 3.11.
pip install bpy pillow
- On Windows - drag and drop an image onto the
render.bat
OR
py -3.11 main.py IMAGE_FILENAME
OR if python is 3.11
python3 main.py IMAGE_FILENAME
- Open
scene.blend
(preferably also in Blender 4.4.0 for compatibility) - Change things in scene
- Script expects
textureMaterial
blender material to exist - Script expects animation render operation to output to
//output/image
- Anything else goes
- Script expects
- Save scene
- Re-render