Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Id map does not show up #27

Open
jimmy-academia opened this issue Apr 9, 2021 · 3 comments
Open

Id map does not show up #27

jimmy-academia opened this issue Apr 9, 2021 · 3 comments
Labels

Comments

@jimmy-academia
Copy link

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?

models_r_000_albedo0001
models_r_000_depth0001
models_r_000_normal0001
models_r_000

@mvoelk
Copy link
Contributor

mvoelk commented Apr 9, 2021

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.

@panmari
Copy link
Owner

panmari commented Apr 12, 2021

If I remember correctly from playing around some time ago, id map is only produced when --engine=CYCLES. Have you tried that?

@mvoelk
Copy link
Contributor

mvoelk commented Apr 17, 2021

The passes 'Object Index' and 'Material Index' are not implemented in Eevee (2.92). Consequently id maps will only be generated with Cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants