pyrender icon indicating copy to clipboard operation
pyrender copied to clipboard

Interpolation artifacts in segmentation masks.

Open LucaBonfiglioli opened this issue 2 years ago • 0 comments

Hello, I need to render segmentation masks with pyrender. Normally I would do it by setting flags=pr.RenderFlags.SEG and by adding the segmentation color map as described in your documentation.

This works fine, except for when two meshes are colliding, in which case some artifacts appear in the segmentation mask. See the example below. 0_image

As you can see, wherever there's a collision between meshes, the segmentation is wrong: the pixels get assigned a mixing of the two colliding colors. image

Is there any workaround to solve this issue?

LucaBonfiglioli avatar Nov 15 '23 13:11 LucaBonfiglioli