Beiträge von ender

    I am taking 360 pano pictures with a drone and as such, I do not take zenith pictures. Therefore, my panos are not 360x180 but instead 360x120 (give or take a few degrees). The krpano droplets don't like it when I try to use an image that is not 2:1. PanoTour (which uses krpano as it's foundation) however, detects the dimensions of the picture I give it, and adjusts the vertical FOV automatically instead of just giving me a "pano.tiff is not a 360x180 panorama image!" error like krpano does.

    Is there a way to configure the droplets so that it can automatically read the dimensions of the image and set the vertical FOV accordingly?

    I figured out how to do it. No thanks to you guys *tongue*

    For others that may stumble upon this thread in the future here is what I did:

    I placed the gyro2.js file in a plugins folder. I then copied the following files:

    • MAKE PANO (MULTIRES) droplet.bat and renamed it to MAKE PANO (MULTIRES_GYRO2) droplet.bat
    • multires.config file found in /templates/ and renamed the copy multires_gyro2.config
    • panoonly.xml and renamed it panoonly_gyro2.xml

    I then edited MAKE PANO (MULTIRES_GYRO2) droplet.bat to point to multires_gyro2.config

    Code
    "%~dp0\%KRPANOTOOLSEXE%" makepano "%~dp0\templates\multires_gyro2.config" %*

    I then edited multires_gyro2.config to point to panoonly_gyro2.xml

    Code
    # skin / xml template
    include defaultbuttons.skin
    xmltemplate=xml/panoonly_gyro2.xml


    I then edited panoonly_gyro2.xml to include gyro2 plugin

    And voila! Now I just drag my pano to this new droplet and it automagically has the gyro2 plugin included. Hope this helps someone.

    I use the gyro2 plugin for all of my 360 panos but it's a pain having to manually add it every time after running the NORMAL.bat file which uses the normal.config file. Is there a way to edit the normal.config file (or a copy of it) so that the .bat file automatically adds the gyro2 plugin to the new directory it creates AND edits the pano.xml file to include the gyro2 plugin activation and settings code?

    Thanks in advance for your help on this matter.