Skip to content
Discussion options

You must be logged in to vote

mask loss and provides a strong regularization

I see. It's for the shape mask loss.
This is very common in CV but is a little bit hard in CG, especially in a PBR renderer.

The correct way to do it in my mind is roughly as follows:
Render an aov channel of hit or not, compare with reference mask to know for every pixel should we see more or less of the shape. Note that this information will be very sparse, only non-zero on the visibility silhouettes.
To use the derivative, we cannot rely on autodiff and have to explicitly sample the silhouettes to compute some "boundary derivative". You can take a look at the "sppp" part of the logic in the projective integrator, which does roughly the s…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GuangyanCai
Comment options

@ziyi-zhang
Comment options

Answer selected by njroussel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants