ShichenLiu / SoftRas

Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"
MIT License
1.24k stars 156 forks source link

Why SoftRasterizer render a mesh mask to different colors (i.e., surfaces are white, edges are gray)? #109

Open SwordHolderSH opened 1 year ago

SwordHolderSH commented 1 year ago

Thanks for your fantastic work!

We would like to ask that why SoftRasterizer render a mesh mask to different colors (i.e., surfaces are white, edges are gray)?

As shown in the following Figure, in the rendered mask, the rendered surfaces are white and the rendered edges are gray. Could you please tell me how to render the mesh mask to the ideal mask (rendered surfaces and edges are all white) in the Figure?

sample