Can anyone tell me what should I change in a picture so that I get 3D effect on 3D VR glassed like google cardboard ? I mean what should be the difference between the view for left and right eye?
The key parameter that determines the 3D effect in a left/right pair of images is the disparity (the difference in the horizontal position of for the same object in both images), so objects that are close to the observer must have a larger disparity than objects that are far form the observer. I suggest that, as an intermediate step, you build a disparity map of one of the views and then build the second view using this disparity to place the objects in the desired positions.