DLR-RM / DLR-RM/BlenderProc

Update blenderproc to accommodate blender's introduction as a python module

Open
#840 5 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3.7k
Forks
518
PR merge metrics
No merged PRs in 30d

Description

Hi,

I noticed that blender in version 3.4 has updated to be provided as a python module ([bpy](https://pypi.org/project/bpy/
))

This means that we can use our own python environment instead of the blender python environment, and use blender as python module as all modules in python.

This is a huge improvement since we can now use **our own** python modules and python environment ( without using addons) and debug in our specific development environment. ( without using pycharm professional for example)

I used the blenderproc package and tweaked it a bit so I can use my own python environment with the bpy package to render images, instead of running blender as an executable as it is now, and it worked great.

Do you plan to upgrade blenderproc for this change? A lot of your pipeline is around that constraint of blender's python environment, so you can safely remove some setup stages.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing BlenderProc's current setup stages and the path that runs Blender as an executable, then compare them with the bpy package approach described in the issue. Done means BlenderProc can use an external Python environment with bpy and the setup stages constrained by Blender's bundled Python environment are updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.