Sie sind nicht angemeldet.

1

Montag, 20. Januar 2014, 18:57

recreate lost panos from tiles+SOLVED

Hi , sorry, I can't find the thread with this problem but once I saw here in the forum year ago.

I lost some of my equirectangular and have only tiles on the web.
Mainly done with droplet of 1.0.8.14 ( 2011-04-11)and all tiles are in one folder.
The naming starts l1_b_0101.jpg, l1_b_0102.jpg .........

Another project was done in 1.0.8.15(2012-10-05) and standard naming in this build was
l1_b_1_1.jpg, l1_b_1_2.jpg ........

Please guide me how to use droplet? to reverse the ordinary progress from eqirect to tiles to tiles to eirect or cubefaces.

I am searching how to use kmaketiles.exe...............

Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »martyhr« (22. Januar 2014, 18:20)


usagi

Schüler

Beiträge: 99

Wohnort: Australia

Beruf: Virtual tour creator, VR app developer

  • Nachricht senden

2

Dienstag, 21. Januar 2014, 14:50

Same query

I'd like to know the same as martyhr.
I understand it involves using kmaketiles in the command line.

I followed this older thread format for existing tiled image - to make one image... to then drop in kmakemultires and tried to implement the kind of code below as I have 2 levels of tiles

Quellcode

1
2
3
4
kmaketiles l2_l_%0v_%0u.jpg l2_l_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1kmaketiles l2_f_%0v_%0u.jpg l2_f_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1
kmaketiles l2_r_%0v_%0u.jpg l2_r_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1
kmaketiles l2_b_%0v_%0u.jpg l2_b_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1
kmaketiles l2_u_%0v_%0u.jpg l2_u_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1 kmaketiles l2_d_%0v_%0u.jpg l2_d_combined.tif 0 -insize=5000x5000 -intilesize=1000 -inindexbase=1




However, I'm stuck at the output file. It doesn't merge the tiles into one file. What happens is I just get multiple tif files such as l2_f_combined.tif, l2_r_combined.tif etc
basically as if for each cube face. So, somewhat confused.

Any clarification would be greatly appreciated

Thanks

3

Dienstag, 21. Januar 2014, 15:25

Usagi,
You have cubefaces.

Merge them to the sphere :


kcube2sphere -l=big_l.tif -f= big_f.tif -r=big_r.tif -b=big_b.tif -u=big_u.tif -d=big_d.tif -o=big.tif

4

Dienstag, 21. Januar 2014, 16:26

I managed to make cube faces from my tiles.

But I'd like not to repeat every command in command line manually.

Can anyone help me with a bat file? I quite remmember DOS commands but this lines in BAT file do not work and I get an error:

kmaketiles dvur.tiles/l3_b_%0v%0h.jpg bigback.tif 0 -insize=3183x3183 - intilesize=579

ERROR: unable to open inputimage dvur.tiles/l3_b_start.batvstart.bath.jpg - it seems the %0v%0h inside BAT file is wrongly interpreted

The command works from command line *huh*

5

Mittwoch, 22. Januar 2014, 18:21

I do it manually. Lot of work but the result OK.

6

Samstag, 25. Januar 2014, 08:58

Can anyone help me with a bat file? ... it seems the %0v%0h inside BAT file is wrongly
Hi,

inside BAT files the % character has a special meaning - to get a normal one, it need to be used twice: %%.

e.g.
test.bat:
kmaketiles dvur.tiles/l3_b_%%0v%%0h.jpg bigback.tif 0 -insize=3183x3183 - intilesize=579

Best regards,
Klaus