BlenderProc
BlenderProc copied to clipboard
Not what I see in Blender
Describe the issue
The same scene is loaded in blender and blenderproc.
The scene looks well-lit in Blender. The same scene is dark when rendered through blenderproc. The Blender versions are different (Blender v4, blenderproc uses v3.5), but I would not expect this to be the culprit.
Understandably, blenderproc has a purpose, and rendering a scene exactly as what Blender would render might not be the top priority. I would very much love, however, if time spent on preparing the blend files could be reflected in blenderproc renders, too.
Minimal code example
# load the blend file
loaded = bproc.loader.load_blend(blend_file.as_posix())
# add some camera poses
bproc.camera.add_camera_pose(pose)
# enable depth outputs
bproc.renderer.enable_depth_output(False)
# set max sample count
bproc.renderer.set_max_amount_of_samples(1024)
# do render
data = bproc.renderer.render()
Files required to run the code
I'm guessing there might be obvious reasons for the discrepancy. If not, I would try to establish a shareable blend file.
Expected behavior
It's not the same angle, but the differences are apparent.
Blenderproc
Blender
BlenderProc version
main
Hey @nkyriazis
sorry for the late response. When using the load_blend importer, per default only the objects are imported, but not for example the lights. You can change that by adapting the parameters of the function. I would recommend to use the blenderproc debug mode to see which items are actually imported and how that differs from your original blend file.