Some math stuff with cycles.
My requirement is,
I am rendering screenshot with cycles (not inside blender. Using programming cycles).
After the screenshot is rendered, I should be able to draw boundary around the object.
To achieve this,
How to get the boundaries (2d polygons) of every rendered object in 2d space when a camera, width and height are given? An object might have more than 1 polygons. Some objects may not have any polygons as they are not in the rendered image.
Thanks a lot in advance.