I tell you that these are two different problems, just read it again:
1, given light source and an object, find position of occluders so that the object is never illuminated
and
2, given light source and occluders, find all places that are not getting illuminated,
I tell you that these are two different problems, just read it again:
1, given light source and an object, find position of occluders so that the object is never illuminated
and
2, given light source and occluders, find all places that are not getting illuminated,