Habe es selber lösen können. Das Windows "MAKE MULTIRES PANO droplet.bat" ist nicht für Cubes gemacht und müsste "SPHERE MULTIRES droplet" heissen. Ich habe "MAKE MULTIRES PANO droplet.bat" so abgeändert:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@echo off
IF %1 == "" GOTO ERROR
IF %2 == "" GOTO ERROR
IF %3 == "" GOTO ERROR
IF %4 == "" GOTO ERROR
IF %5 == "" GOTO ERROR
IF %6 == "" GOTO ERROR
IF NOT EXIST %1 GOTO ERROR
IF NOT EXIST %2 GOTO ERROR
IF NOT EXIST %3 GOTO ERROR
IF NOT EXIST %4 GOTO ERROR
IF NOT EXIST %5 GOTO ERROR
IF NOT EXIST %6 GOTO ERROR
"%~dp0\kmakemultires" %1 %2 %3 %4 %5 %6
GOTO DONE
:ERROR
echo ERROR - drop a panorama image to create multires pano...
pause
:DONE
|
Zudem habe ich gesehen das im "CUBE to SPHERE droplet.bat" ein Fehler drinn ist, aber es funktioniert auch mit Fehler. Die Aufzählung ist falsch:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@echo off
IF %1 == "" GOTO ERROR
IF %2 == "" GOTO ERROR
IF %3 == "" GOTO ERROR
IF %4 == "" GOTO ERROR
IF %4 == "" GOTO ERROR
IF %5 == "" GOTO ERROR
IF NOT EXIST %1 GOTO ERROR
IF NOT EXIST %2 GOTO ERROR
IF NOT EXIST %3 GOTO ERROR
IF NOT EXIST %4 GOTO ERROR
IF NOT EXIST %5 GOTO ERROR
IF NOT EXIST %6 GOTO ERROR
"%~dp0\kcube2sphere" %1 %2 %3 %4 %5 %6
GOTO DONE
:ERROR
echo ERROR - drop the 6 cube images to create a spherical pano...
pause
:DONE
|
Gruss Daniel