You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

tommo77funk

Intermediate

  • "tommo77funk" started this thread

Posts: 159

Location: London

Occupation: Photographer

  • Send private message

1

Monday, July 27th 2009, 2:36pm

Confusion over SPHERE to CUBE MULTIRES droplet.bat

Hi Klaus,

I have been a bit shy to ask cos no one else has mentioned it, but should SPHERE to CUBE MULTIRES droplet.bat allow me convert a batch of panoramas, because it will only do 1 for me at a time, whereas kmakemultires.exe will do a whole batch *huh* I have 100 panoramas i would like done.

Perhaps I have been doing it wrong, is there something in the config file that will mean kmakemultires.exe will output like the sphere to cube multires ?

Many thanks and best wishes,

tom

2

Tuesday, July 28th 2009, 5:46pm

Hi,

yes, the "SPHERE to CUBE MULTIRES droplet.bat" was currently designed to handle only one file as input,
but this can be changed easily:

open the "SPHERE to CUBE MULTIRES droplet.bat" with a texteditor (e.g. notepad)
and replace it's content with the following one:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off

IF %1 == "" GOTO ERROR
IF NOT EXIST %1 GOTO ERROR

for %%i in (%*) do (
"%~dp0\ktransform" cube6 %%i "%%~dpni.tif"
"%~dp0\kmakemultires" "%%~dpni_*.tif" -waitkey=false
del "%%~dpni_l.tif"
del "%%~dpni_f.tif"
del "%%~dpni_r.tif"
del "%%~dpni_b.tif"
del "%%~dpni_u.tif"
del "%%~dpni_d.tif"
)
GOTO DONE

:ERROR
echo ERROR - drop spherical panorama images to create cubical multires panos...

:DONE
pause


then it is possible to drop more than one image at once
(in the next release these changes will be also included)

best regards,
Klaus

3

Wednesday, July 29th 2009, 2:18pm

Thanks Klaus. This will be very helpful. I too had this problem but had not yet posted the question. And thank you tommo77funk for bringing up this issue.

tommo77funk

Intermediate

  • "tommo77funk" started this thread

Posts: 159

Location: London

Occupation: Photographer

  • Send private message

4

Wednesday, July 29th 2009, 4:10pm

Wo hoo ! thanks Klaus, You time saver ! So pleased I asked the question, and am so grateful for a solution.

Many many thanks Klaus !

tom

bulp

Intermediate

Posts: 390

Location: Malaysia

  • Send private message

5

Sunday, August 9th 2009, 3:59am

hye guys...

maybe some cant open SPHERE to CUBE MULTIRES droplet.bat with notepad or wordpad...

so this is the file "SPHERE to CUBE MULTIRES droplet.bat" that can convert as many as you have sphere images....

please do some back up of the original file... just in case anything can happen... *thumbsup*

SPHERE to CUBE MULTIRES droplet.zip

Similar threads