A three-dimensional, 3D, camera for capturing images for providing virtual reality, VR, the 3D camera comprising: a plurality of cameras; a position sensor comprising a global positioning system, GPS, and an inertial measurement unit, IMU, the position sensor being configured to track a position of the 3D camera, wherein the plurality of cameras are arranged at each vertex of a polyhedron formed by the 3D camera, and at least three cameras of the plurality of cameras are arranged at each vertex of the polyhedron; wherein a distance between vertexes of the polyhedron corresponds to a distance between two eyes of a user, wherein respective fields of view of the at least three cameras arranged at each vertex of the polyhedron overlap each other such that they are adapted to capture a panorama image; a memory; and a processor configured to: generate an index distribution map including unique indexes and positions of the vertexes of the polyhedron formed by the 3D camera with respect to the real world, wherein a unique index identifies a polyhedron, the polyhedron being formed by the vertexes of the polyhedron formed by the 3D camera at the position of the 3D camera, and not overlapping with another polyhedron identified by another unique index stored in the memory at another position of the 3D camera, capture unique images at each of the positions of the 3D camera indicated by the unique indexes, and store only the unique images and the index distribution map in the memory. a plurality of cameras; a position sensor comprising a global positioning system, GPS, and an inertial measurement unit, IMU, the position sensor being configured to track a position of the 3D camera, wherein the plurality of cameras are arranged at each vertex of a polyhedron formed by the 3D camera, and at least three cameras of the plurality of cameras are arranged at each vertex of the polyhedron; wherein a distance between vertexes of the polyhedron corresponds to a distance between two eyes of a user, wherein respective fields of view of the at least three cameras arranged at each vertex of the polyhedron overlap each other such that they are adapted to capture a panorama image; a memory; and a processor configured to: generate an index distribution map including unique indexes and positions of the vertexes of the polyhedron formed by the 3D camera with respect to the real world, wherein a unique index identifies a polyhedron, the polyhedron being formed by the vertexes of the polyhedron formed by the 3D camera at the position of the 3D camera, and not overlapping with another polyhedron identified by another unique index stored in the memory at another position of the 3D camera, capture unique images at each of the positions of the 3D camera indicated by the unique indexes, and store only the unique images and the index distribution map in the memory. generate an index distribution map including unique indexes and positions of the vertexes of the polyhedron formed by the 3D camera with respect to the real world, wherein a unique index identifies a polyhedron, the polyhedron being formed by the vertexes of the polyhedron formed by the 3D camera at the position of the 3D camera, and not overlapping with another polyhedron identified by another unique index stored in the memory at another position of the 3D camera, capture unique images at each of the positions of the 3D camera indicated by the unique indexes, and store only the unique images and the index distribution map in the memory.