Krpano and Leap Motion.

  • Hello.
    Its relatively easy to control a pano, the only thing that is difficult is zooming in and out.

    Install Touchless from Apirpsace on your computer. Run it in Basic Mode. Now to pan around your pano, open all your fingers and spread them apart.

    To point on a Hot Spot, remove your hand and change it's shame to fist closed with your index finger out as a pointer.

    Regards
    James

  • Thanks James
    After trying with mac and win7 on my desktop I've had most success with a laptop and now have some very rudimentary control of a pano.
    I look forward to software updates for the motion controller and to Klaus's krp plugin.

    After some time one becomes aware of the weight of the hands which are unsupported unlike other drawing/writing activities. I'll try some acrylic and glass sheets and see if the controller can see the hands though them.

    Regards

    JL

  • I've tons of practice at this point using Krpano with Touchless and I can make it look effortless.

    I would show friends and the odd client how it works. They are all blown away by what they see, but when they ask for a go and I let them, ho man it's funny to watch. They don't have a hope of controlling it with any ease.

    A dedicated plugin is badly needed.

    Regards
    James

  • Hi.
    This is a very basic script that you can start off with. You'll be able to navigate left, right, top, bottom by holding your open hand
    over the leap controller and tilting your hand left and right and up and down. You may want to change the numbers in the if statements
    to something more comfortable. Obviously lots of room for improvement.

    Have Fun!

    The plugin code is as follows:


    To use, include the leap library in the html tour file and lastly in the xml file include the following lines:


    Code
    <plugin name="leapcontroller"	url="leapcontroller.js"	parent=""	preload="true"	x="0" y="0"	visible="true"	keep="true"/>
  • Thanks so much for the plugin but I am having a little issue.
    I just go the device and I tried the code but I am getting this error with the latest release of KRpano

    ERROR: decoding failed - leapcontroller.js

    I have this in my html file
    <script src="leapcontroller.js"></script>

    And this in my xml file

    <plugin name="leapcontroller"
    url="leapcontroller.js" parent=""
    preload="true" x="0" y="0"
    visible="true" keep="true"
    />

    and the code above is in a file called "leapcontroller.js" as suggested

    What am I missing?

    Thank you

  • You have to force html5 player, flash can't decode js.

    Thank you all so much, the error is gone.
    I don't mean to be a bather but I don't know so I ask so that I may know.
    Can someone who has done it and gotten it to work give a step by step procedure on how they get the leapmotion to work with krpano.
    1. Do I have to edit or modify any variables in the "leapcontroller.js" file?
    2. I was getting a black screen until I remove "preload="true" from the plugin statement. I remove preload="true" and then I get no error but nothing happens.

    Am I suppose to load something else?

    I seem to be missing something.

    Thank you

    EDITED
    I found this "Airspace" app for leapmotion that allows you to control the entire computer screen and it works OK (not great) when I load the VT in a browser.
    https://airspace.leapmotion.com/apps/touchless-for-windows/windows

    Edited once, last by thevtman (April 7, 2014 at 2:05 AM).

  • I would really appreciate an example file if anyone has done this successfully, I have a leap motion sitting doing nothing because I bought it just for this.

    Sorry to be one of those who ask questions but I call it the learning stage.

    Thank you

  • Seems to be some FUD regarding how to use LeapMotion with KRPano, with some nice videos but no info. The included Touchless app is simpy useless for Panoramas, so I was excited to see some Leap KRPano code in this Forum, however just like others I could not get it to work with the “leap library”.


    However hope is at hand with the Gamewave app (£3 on the Airspace Store) which is the only app which I have seen which does not emulate a jerky mouse. It has a steering mode ideal for panoramas, since it allows you to control actions with continuous hand movement, like a joystick. When it is correctly set up anyone could use it after a few minutes practise.


    Setup is quite simple, since you do not need to set all the parameters for panoramas. Combined with the KRPano XML control code Gamewave is very flexible and can be precisely adjusted. At present I am using a right hand swipe to navigate panoramas and a left hand finger for hotspots. Have also made some KRPano key code calls to flick between little planet and normal view with my thumb.


    I do not however intend using Leap with my computer when there is work to be done…


    http://www.z360.com

Participate now!

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