Sie sind nicht angemeldet.

1

Donnerstag, 5. Oktober 2023, 22:32

Krpanotools spheretocube

Hi all,

When i do ./krpanotools makepano it gives me in output the following

-yourimage.tiles
-b
-l1
-1
-l1_b_1_1.jpg
-l1_b_1_2.jpg
-2
-l2
-l3
-d
-f
-l
-r
-u

Which krpanotools spheretocube or maketiles command can i use to have the same output as makepano, but with only the tile folder, without all the files ?

I saw in tour.xml krpano reads it as

Quellcode

1
    <image>      <cube url="/panos/DJI_0334.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1280,2624"/>    </image>


But cannot repeat it as output file for. krpano maketiles...

Will need some help *cool*

2

Donnerstag, 5. Oktober 2023, 22:47

Got it done with :

Quellcode

1
./krpanotools makepano ./public/template/customonlytiles.config inputfile.jpg





here is a modified version of the multires.config :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Multi-Resolution Panos# Skin with Default Buttons# Documentation: https://krpano.com/docu/tools/config/# krpano 1.21

# basic settingsinclude basicsettings.configpanotype=autodetect,flathfov=360

# output pathoutputpath=%INPUTPATH%

# convert spherical/cylindrical to cubicalconverttocube=trueconverttocubelimit=360x120converttocubemaxwidth=60000

# multiresolution settingsmultires=truetilesize=512levels=autolevelstep=2maxsize=automaxcubesize=auto


# output images pathtilepath=%OUTPUTPATH%/%BASENAME%.tiles/[c/]l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg

# preview pano settingspreview=truegraypreview=falsepreviewsmooth=25previewpath=%OUTPUTPATH%/%BASENAME%.tiles/preview.jpg

# generate smaller mobile images#customimage[mobile].size=1024#customimage[mobile].path=%OUTPUTPATH%/%BASENAME%.tiles/mobile_%s.jpg#customimage[mobile].imagesettings=jpegquality=85 jpegsubsamp=444 jpegoptimize=true#customimage[mobile].xml=<mobile>[NL][TAB]<cube url="[PATH]" />[NL]</mobile>

# xml outputxml=falsexmlpath=%OUTPUTPATH%/pano.xml

# skin / xml templateinclude defaultbuttons.skin

# html output/templatehtml=falsehtmlpath=%OUTPUTPATH%/index.htmlhtmltemplate=html/embedpano.html

# compression settings (note - disable jpegoptimize for extreme big panos because this could cause high much memory usage during building)jpegquality=82jpegsubsamp=422jpegoptimize=false