I've been trying to find a method to generate an occlusion mask in COPs.
Specifically I'm wanting to generate a mask on a characters body where it is occluded by some clothing.
I've been using this posted example as a starting point: Copernicus compute ambient occulision of Geometry [www.sidefx.com]
It's mostly working the way I want however for some reason the intersect function doesn't seem to generate hits for some parts of the body (around the crotch area) and I don't understand why this is happening or how to correct it.
I'm hoping that someone might know why this is happening and how to correct it.
Example file attached.
Thanks.
Peter