Structure of sphere - fran6t/ExhibMyDrone GitHub Wiki
A sphere must be deposited on the server respecting a file tree structure.
The name of the image representing the flat sphere is the base of the structure here is an example:
Let's go back to the example of the high-resolution sphere of the Lac du Tordre.
The flat file is DJI_0001-DJI_0026.small.jpg
1/ We are therefore going to make 1 first sub-directory of the same name with .d instead of .jpg
The DJI_0001-DJI_0026.small.d directory will contain all the information and files necessary for the presentation of the sphere
2/ Creation in DJI_0001-DJI_0026.small.d of the tiles subdirectory
This subdirectory will contain the 128 tiles
3/ Creation in DJI_0001-DJI_0026.small.d of the src subdirectory
This subdirectory must contain the images that were used to build the sphere, DJI_0001.jpg --> DJI_0026.jpg
4/ Creation in DJI_0001-DJI_0026.small.d of the thmb subdirectory
This sub-directory must contain the reduced images of the src directory
In the case of a high resolution sphere with tiles, the minimum structure is point 1 and 2
Example Sphere HD avec tuile
DJI_0001-DJI_0026.small.jpg
βββ DJI_0001-DJI_0026.small.d
βββ src (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ thmb (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ tiles (required)
βββ tile_0000.jpg
βββ ...
βββ tile_0127.jpg
Example Sphere DJI
DJI_0001-DJI_0026.jpg
βββ DJI_0001-DJI_0026.d
βββ src (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ thmb (optional)
βββ DJI_0001.jpg
βββ ...
βββ DJI_0026.jpg
Une sphΓ¨re doit Γͺtre deposΓ©e sur le serveur en respectant une arborescence de fichier.
Le nom de l'image représentant la sphère à plat est la base de la structure voici un exemple:
Reprenons l'exemple de la sphère haute résolution du lac du tordre.
Le fichier Γ plat est le fichier DJI_0001-DJI_0026.small.jpg
1/ Nous allons donc faire 1 premier sous rΓ©pertoire du mΓͺme nom avec .d Γ la place de .jpg
Le repertoire DJI_0001-DJI_0026.small.d contiendra toutes les infos et fichiers necessaire à la présentation de la sphère
2/ Creation dans DJI_0001-DJI_0026.small.d du sous repertoire tiles
Ce sous repertoire contiendra les 128 tuiles
3/ Creation dans DJI_0001-DJI_0026.small.d du sous repertoire src
Ce sous repertoire devra contenir les images qui ont servies à construire la sphère, DJI_0001.jpg --> DJI_0026.jpg
4/ Creation dans DJI_0001-DJI_0026.small.d du sous repertoire thmb
Ce sous repertoire devra contenir les images reduites du repertoire src
Dans le cas d'une sphère haute resolution avec tuiles, la structures minimum est le point 1 et 2
Exemple Sphere HD avec tuile
DJI_0001-DJI_0026.small.jpg
βββ DJI_0001-DJI_0026.small.d
βββ src (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ thmb (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ tiles (required)
βββ tile_0000.jpg
βββ ...
βββ tile_0127.jpg
Exemple Sphere DJI
DJI_0001-DJI_0026.jpg
βββ DJI_0001-DJI_0026.d
βββ src (optional)
β βββ DJI_0001.jpg
β βββ ...
β βββ DJI_0026.jpg
βββ thmb (optional)
βββ DJI_0001.jpg
βββ ...
βββ DJI_0026.jpg