I have already found one similar question, however it doesn't correctly address what I am talking about.
Please see this, example to know exactly what I'm talking about.
I have only found this, and this, but both use a curved plane to do the trick, which would work unless the object is to be rotated(in animation) to view from every angle.
Yes, again we could rotate the object instead of the camera but, what about a large array of object, that would really distort the scene and setting the camera accordingly would be very difficult.
Setting the camera at this angle would be good even for a large array of objects:
, but what if we need a more acute view like this:
, (even if we set the world background color to white this would be impossible to actually blend if taking the lighting into account, as it would emit light and the edges of planes would be visible.)
I don't know if there is a workaround with the lightpath node with this to only make the area where the shadow falls visible.
And I don't know how to take only the shadow information into the compositor to make this?
Primarily focusing two problems:
1) how to make such a world in cycles, infinite, only the shadow information and the object?
2) How to make such a world in cycles, infinite, only the shadow information and the object and a slight gradient in the infinite world?
Therefore, I resolved here.