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

Dose anyone have some methods to get instance-level mask? #38

Open
Alioth5670 opened this issue Jan 14, 2025 · 2 comments
Open

Dose anyone have some methods to get instance-level mask? #38

Alioth5670 opened this issue Jan 14, 2025 · 2 comments

Comments

@Alioth5670
Copy link

No description provided.

@TimmHess
Copy link
Owner

One main issue is that the depth-stencils only support uint8, i.e. 256 slots. At least this was the case last time I checked.
Depending on your task this might be enough? But probably isn't.
If you can pre-allocate your scene and camera path then it might be worth looking into the unreal "render-queue". I think there are multiple tools that do instance level annotations.

Generally, you want to find a way that allows you to get per-pixel object id's. And there certainly should be a way - how else do the depth-stencils work in the fist place? But I never found how to do that. It is probably hidden somewhere in the rendering pipeline..

@Alioth5670
Copy link
Author

Thank you for your response, I will explor other ways if it possiable.

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

No branches or pull requests

2 participants