Closed nafisehnamazypour closed 2 years ago
Easiest thing would be to comment out the tile_x render setting, or implement your own foo_render_settings()
function with your desired render settings. However, its worth noting that all of zpy
and the corresponding tutorials were designed and tested for Blender 2.9, so there are likely many things that will break if you use Blender 3.0
Thank you! I removed two lines for tile_x and tile_y and it worked. Thanks for your immediate help.
Hi! I wrote a code exactly like what you have written in the suzanne example and the tutorial in the youtube. but unfortunately when I want to render the image the following error appears:
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\config.py", line 1078, in gin_wrapper utils.augment_exception_message_and_reraise(e, err_str) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\utils.py", line 49, in augment_exception_message_and_reraise six.raise_from(proxy.with_traceback(exception.traceback), None) File "", line 3, in raise_from
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\config.py", line 1055, in gin_wrapper
return fn(*new_args, *new_kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\zpy\render.py", line 210, in render
default_render_settings()
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\config.py", line 1078, in gin_wrapper
utils.augment_exception_message_and_reraise(e, err_str)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\utils.py", line 49, in augment_exception_message_and_reraise
six.raise_from(proxy.with_traceback(exception.traceback), None)
File "", line 3, in raise_from
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\gin\config.py", line 1055, in gin_wrapper
return fn( new_args, **new_kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\site-packages\zpy\render.py", line 310, in default_render_settings
scene.render.tile_x = tile_size
AttributeError: 'RenderSettings' object has no attribute 'tile_x'
In call to configurable 'default_render_settings' (<function default_render_settings at 0x000002F6D85FAAF0>)
In call to configurable 'render' (<function render at 0x000002F6D85FA1F0>)
Error: Python script failed, check the message in the system console
as I understood there is no tile_x in blender3.0 and tile size is not accessible in it. how should I solve the problem? Would you please help me?