google-research / multinerf

A Code Release for Mip-NeRF 360, Ref-NeRF, and RawNeRF
Apache License 2.0
3.62k stars 341 forks source link

Error about reading the blend file of ShinyBlender dataset #143

Open YiningPeng opened 11 months ago

YiningPeng commented 11 months ago

I want to use the *.blend file to create my own dataset. But when I use the bpy lib to read it, there is something wrong with it. The error information is here. I think this problem may be related to the version of blender. Could you tell me the blender version you used? Or could you give me some suggestion? Looking forward to your reply. Thank you so much. File "/mnt/A/hust_pyn/code2/nerfactor/third_party/xiuminglib/xiuminglib/blender/scene.py", line 57, in open_blend bpy.ops.wm.open_mainfile(filepath=inpath)

File "/mnt/A/hust_pyn/mylib/blender/blender-2.93.9-linux-x64/2.93/scripts/modules/bpy/ops.py", line 132, in __call__ ret = _op_call(self.idname_py(), None, kw)

RuntimeError: Error: File format is not supported in file '/mnt/D/hust_pyn/Data/ShinyBlender/ShinyBlender_source/coffee.blend'

ZyyZyy06 commented 1 week ago

I have this question too.

ZyyZyy06 commented 1 week ago

I have solved this problem. if you want to use nerfactor's script to relight shinyblend's blend files, You can use higher version of blender(I use 3.5.0). Then, you need to delete some unused operation in xiuminglib, like tileX, tileY. Besides, You need to change "Render Layers" to "Custom Output".