# 3D Multiview Rendering

I have the following scene (please see the image below) the right ball is hitting the middle cube which starts to roll and eventually hits the left cube. The depth information is important to me so I use two cameras with side angles to gain the depth of the objects as well.

1) How is it possible to render both of the cameras to one output file? (if you have any other suggestions of how to get the depth of the object I would love to hear about it) 2) If (1) is not possible how is it possible to render both of the cameras to two different files? 3) How can I get the data of an object which wasn't animated? for example in the current scene, I want to know the location of the middle cube in each frame. How can I get JSON file (or any other format) with this data?

Setup: Ubuntu 18.04 Blender 2.8

• Are you wanting the to switch between cameras in the animation? – Millard Sep 1 '19 at 13:39
• No @Millard I know how to switch between cameras I want to shot from two cameras at the same time and turn them into one output file. – AvivSham Sep 1 '19 at 14:13
• Well, I don't think it's possible to render both cameras to one file, (I could be wrong) why do you need them on the same file? – Millard Sep 1 '19 at 14:15
• In order to create stereo video and depth. Do you know how can I render both of the cameras to separate files? – AvivSham Sep 1 '19 at 18:48
• If youre only interested in the distance of the camera to the center of the cube, you could use python to measure it like (camera.location - object.location).length. – Leander Sep 4 '19 at 17:10