If I have multiple objects, how can I get their silhouettes with different indexes rather than using the same index for all of them?
I guess a hacking method is to apply textures with different colors, e.g. red for object 1, green for object 2, blue for object 3, and get the silhouettes by using argmax on the rendered image. But this method only works when the number of objects is smaller than 3.
Thanks for the great work!
If I have multiple objects, how can I get their silhouettes with different indexes rather than using the same index for all of them?
I guess a hacking method is to apply textures with different colors, e.g. red for object 1, green for object 2, blue for object 3, and get the silhouettes by using argmax on the rendered image. But this method only works when the number of objects is smaller than 3.
Thanks!