To add only photo 360 data in Real World Location Management, you must upload it in a .zip file that contains all the images in the .jpg or .png format, and an index. This index is a .json configuration file that provides a structured way to define the properties of the images. The index ensures that the images are rendered or manipulated correctly in the 3D web apps. It contains the following top-level fields:
VersionThe version field specifies the version of the index. This helps managing changes and ensures compatibility.
ImagesThe images array contains one or more image objects, each defining a specific image with its properties. Each image has the following fields: Note:
For the images, only .jpg and .png
types are supported.
Example: Complete Index FileExample of a complete index file: {
"version": 1,
"images": [
{
"id": "location00",
"type": "cubemap",
"axis": "POS_X",
"data": [
"location00_front.png",
"location00_back.png",
"location00_right.png",
"location00_left.png",
"location00_top.png",
"location00_bottom.png"
],
"position": [
7.802924,
-1.457458,
70.795174
],
"orientation": [
-0.0040079,
0.0037362,
0.9966134,
0.0820468
]
},
{
"id": "location01",
"type": "spherical",
"axis": "POS_Y",
"data": [ "location01.jpg" ],
"position": [ 0.0, 0.0, 0.0 ],
"orientation": [ 0.0, 0.0, 0.0, 1.0 ]
}
]
}
| ||||||||||||||||||||||||||||||||||||