我不确定这是最好的地方,但我去...
我正在尝试使用 Blender 2.79b 的 Pov ray 插件渲染图像。当我这样做时,它只会向我展示一个丑陋的棋盘。
经过一番闲逛后,我单击了信息选项卡,它向我显示了这条小消息:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\render_povray\render.py", line 4147, in render
self._export(scene, povPath, renderImagePath)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\render_povray\render.py", line 3837, in _export
write_pov(self._temp_file_in, scene, info_callback)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\render_povray\render.py", line 3648, in write_pov
shading.writeMaterial(using_uberpov, DEF_MAT_NAME, scene, tabWrite, safety, comments, uniqueName, materialNames, material)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\render_povray\shading.py", line 251, in writeMaterial
if(t and t.use and validPath and
UnboundLocalError: local variable 'validPath' referenced before assignment
location: <unknown location>:-1
不幸的是,我并不真正了解 Python(或一般的编码),所以在我更好地理解它之前我不想接触任何东西。