I think you need 2 images, for 2 cameras/eyes to make stereography, maybe thats the root cause of our mutual confusion (or Im understanding side-by-side wrong).
This is one cubeface (you project to sdies of cube from inside), this is maximum cubetile marzipano handles, zoom_level 5, in browser its much better to serve many small images, than one big, so you cut this to squares with side 512px, counted 0 based from topleft corner, so white number is X and green number is Y.
you send equirectangular projection file, to convert this to cubetiles you can usu hugin/panotools toolset
the nona tool, is reimplementation of panotools stitcher, to get front (f) cubetile you have to do:
"C:\Program Files\Hugin\bin\nona.exe" -o C:\path\to\cubetiles\cube_front_4k C:\path\to\hugin\scripts\cubetiles_front.txt
in cubetiles_front.txt
# generate cube front face
p f0 w4096 h4096 v90 n"TIFF_m c:LZW r:CROP"
m g1 i2 f0 m0
o w16384 h8192 f4 p90 r0 v360 y0 u10 m0 n"C:\path\to\equirectangular_image.jpg"
the r, p, y are roll pitch yaw coordinates in spheric projection, value is right next to variable name without whitespace, for other faces you need to set for faces f,b,l,r,u,d
r0 p0 y0
r0 p0 y180
r0 p0 y90
r0 p0 y270
r0 p270 y0
r0 p90 y0
then you need crop and size individual faces by zoom_levels, this script makes you maximal size face with side 4096 so you need 8x8 tiles (zoom_level=4).
smaller zoom levels are
3 2048 4x4tiles
2 1024 2x2tiles
1 512 1x1tile
0(preview) - this is halftiles (256px side) composited from top to bottom in one image in order - f,b,l,r,u,d and is saved in tiles/pano_id/preview.jpg
is that clear? english is not my native tongue as you can probably guess, so ask and I will clarify if I know it :)
Stepan
Dne sobota 7. ledna 2017 12:02:54 UTC+1 VRAcc napsal(a):