mli0603 / BlenderNeuralangelo

Blender addon to inspect and preprocess COLMAP data for Neuralangelo (CVPR 2023)
308 stars 21 forks source link

I got an error when load COLMAP Data too #13

Closed ConquerorXv closed 1 year ago

ConquerorXv commented 1 year ago

First, thanks for your work.

I add the BlenderNeuralangelo addon to Blender I try to load toy_example, when I press the button load COLMAP Data, Python is reporting an error.

Python: Traceback (most recent call last): File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\neuralangelo_addon.py", line 1113, in execute load_camera(colmap_data, context) File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\neuralangelo_addon.py", line 963, in load_camera generate_camera_plane_texture(image_sequence) File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\neuralangelo_addon.py", line 891, in generate_camera_plane_texture material.node_tree.links.new(image_texture.outputs['Color'], principled_bsdf.inputs['Base Color']) AttributeError: 'NoneType' object has no attribute 'inputs' 1

mli0603 commented 1 year ago

Hi @ConquerorXv

Thank you for reporting this. The log above suggests that the node creation step failed, and thus the rest of the loading steps. I wonder if this is something related to 3.6 (I've been testing with 3.4). Let me bump up the version on my end to test.

mli0603 commented 1 year ago

Hi @ConquerorXv

I did a fresh installation of Blender 3.6.1 and it worked out of the box. I wonder if this has something to do with Chinese characters in the file path. Is this the case? image

ConquerorXv commented 1 year ago

Thank you very much @mli0603 , it's a language issue, I set Blender's language to English and it works perfectly! Also my Blender installation path is set to an English path.