added function to return binary masks for the different polygon and edge types.
use occlusion boundary information in rendering the scene