The smartphone software could then use this to work out which part of its camera's image should be superimposed and what angleof the interior image should be shown.
Most notably, the 3D effect only works in a limited viewing range, so if you hold the device at an angle or not directly in front of you, the image goes blurry.