I am working on an application where I want to create segmentation masks of individual instances in a scene. I've created these instances by using the 'instance on points' node in geometry nodes. The collection of objects that I use contains up to 100 individual objects and the number of vertices varies between objects.
What I would like to achieve is an individual segmentation image for every single image (see example below). However I can't seem to figure out how to isolate one single instance. Hopefully someone has an idea about how to achieve this, thanks in advance guys!