I have an issue where the albedo and image render as completely black.
I first suspected that this is due either to
the directory of the texture images being incorrect relative to the OBJ files, or
the directory of the texture images being incorrect relative to the rendering script.
I put the shapenet OBJ files in a directory called shapenet/models. I placed the rendering script in the shapenet directory, and ran blender from that directory. I have tried placing the textures directory in the models directory, placing it in theshapenet directory, and copying the JPG texture images directly into the models directory, to no avail.
Upon inspecting, the logs seem to indicate that the materials and images are loaded:
So I now suspect that this has something to do with the lighting/scene settings instead. I'll place the settings here in case there's anything I'm obviously missing.
Settings
Views: 30 (default)
Obj: models/17c318cf53f978d22feb9fdea8e07927.obj
Output Folder: tmp (note: local, not the OS /tmp)
Scale: 0.005 (note: gave good results for the normals)
Remove doubles: False
Edge Split: True
Depth Scale: 1.4
Color Depth: 8 (also tried 16)
Format: PNG
Resolution: 2000
Engine: BLENDER_EEVEE (also tried CYCLES, got even more degenerate results, entire image was black and normals/depth were empty)
I have an issue where the albedo and image render as completely black.
I first suspected that this is due either to
I put the shapenet OBJ files in a directory called
shapenet/models
. I placed the rendering script in theshapenet
directory, and ran blender from that directory. I have tried placing thetextures
directory in themodels
directory, placing it in theshapenet
directory, and copying the JPG texture images directly into themodels
directory, to no avail.Upon inspecting, the logs seem to indicate that the materials and images are loaded:
So I now suspect that this has something to do with the lighting/scene settings instead. I'll place the settings here in case there's anything I'm obviously missing.
Settings Views: 30 (default) Obj: models/17c318cf53f978d22feb9fdea8e07927.obj Output Folder:
tmp
(note: local, not the OS/tmp
) Scale: 0.005 (note: gave good results for the normals) Remove doubles: False Edge Split: True Depth Scale: 1.4 Color Depth: 8 (also tried 16) Format: PNG Resolution: 2000 Engine: BLENDER_EEVEE (also tried CYCLES, got even more degenerate results, entire image was black and normals/depth were empty)Outputs Albedo: Depth: Normal: Image: