Makepano fails when 'left' text is in face file names when using wildcard for input files on command line

  • The following individual face files are used as input into KRPANO's makepano tool:

    The input command is as follows (the above files are all placed into the Temp folder and a wildcard is used to keep the length of the cmd down since we often have over 100 scenes * 6 faces):

    Code
    ".\krpanotools.exe" makepano -config="./ABVR_VTour_Creator.config" -stereosupport="false" -multires=false -tilesize=1024 -levelsizes=1024 -minsize=auto -maxsize=auto -maxcubesize=1024 -tilepath="./panos/ºSENAME%/pano[_c].jpg" -previewpath="./panos/ºSENAME%/preview.jpg" -makethumb=true -thumbsize=256 -thumbpath="./panos/ºSENAME%/thumb.jpg" -jpegquality=90 -jpegsubsamp=420 -parsegps=false -autolevel=off -prealignheading=false ".\Temp\*.jpg"

    PS the code above changes % BASENAME% (no space) into ºSENAME%

    This produces the following folders with proper tiles, previews, and thumbnails:

    Code
    Field_House_-_Bleachers_FIXME
    Field_House_-_Bleachers_FIXMErightFIXME
    Field_House_-_Court_Bottom
    Field_House_-_Court_Entry_FIXME
    Field_House_-_Court_Entry_FIXMErightFIXME
    Field_House_-_Court_Entry_FIXMErightFIXME_2

    It seems as though the LEFT text and anything after is getting chopped off, but not the RIGHT text. I haven't tested with other directions. This also only produces 6 outputs from 7 sets of files because Field House - Court Entry FIXMEleftFIXME 2_b chopped is the same as Field House - Court Entry FIXMEleftFIXME_b chopped, so those tiles are just overwritten.

    PS, I'm using the FIXME text to get around the automatic attempt by makepano to use them as face files when in fact they were previously (before we moved to individual face files) entire spherical panos. Makepano could be made smarter by only automatically using files with those strings as individual faces when the aspect ratio is correct and there are other face files with the same base name.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!