-
Notifications
You must be signed in to change notification settings - Fork 209
Cannot run render_images.py on Blender 2.81 #23
Comments
I ran through the same issue too, Blender 2.81 changed few configurations, the best is to use Blender 2.78c as the authors did. |
Thanks @guicho271828 for sharing the fixes. As some of the newer graphic cards are not supported by older version of blender, this fix is quite helpful. |
The fixes above work but then a I get a new error: old_use_antialiasing = render_args.use_antialiasing |
probably a new change in blender. Which version is it? |
2.93.2 and 2.81a |
It is working until 2.91 https://app.travis-ci.com/github/IBM/photorealistic-blocksworld/builds/235932705 |
no, actually 2.92 |
actually 2.93.3 also worked after I fixed the url. |
Removing |
Same here. I try to use Blender 2.8 and 2.9 and this issue always exists. Have you already found the solution? |
With Blender 2.81, on macOS Mojave I get the following error when I run
blender --background --python render_images.py -- --num_images 10
Blender 2.81 (sub 16) (hash f1aa4d18d49d built 2019-12-04 14:33:18)
found bundled python: /Applications/Blender.app/Contents/Resources/2.81/python
Read blend: data/base_scene.blend
Traceback (most recent call last):
File "/Users/tommaso/CSEM_repos/clevr-dataset-gen/image_generation/render_images.py", line 568, in
main(args)
File "/Users/tommaso/CSEM_repos/clevr-dataset-gen/image_generation/render_images.py", line 187, in main
output_blendfile=blend_path,
File "/Users/tommaso/CSEM_repos/clevr-dataset-gen/image_generation/render_images.py", line 264, in render_scene
bpy.ops.mesh.primitive_plane_add(radius=5)
File "/Applications/Blender.app/Contents/Resources/2.81/scripts/modules/bpy/ops.py", line 201, in call
ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: : keyword "radius" unrecognized
Blender quit
The text was updated successfully, but these errors were encountered: