stanford-shapenet-renderer
stanford-shapenet-renderer copied to clipboard
Id map does not show up
I tested the script on a single shape net object file. All other renderings (image, albedo, depth, normal) rendered correctly, but the id map does not appear and there isn't any warning. Does anyone know what might be the issue?
For example, if you assign obj.pass_index = 1
and have a color depth of 8 bits, then the value 1 is visually barely visible with 256 different values.
For a color depth of 16 bit you can in principle assign 65536 different object IDs in the scene.
If I remember correctly from playing around some time ago, id map is only produced when --engine=CYCLES
. Have you tried that?
The passes 'Object Index' and 'Material Index' are not implemented in Eevee (2.92). Consequently id maps will only be generated with Cycles.