Sie sind nicht angemeldet.

jl-krp

Fortgeschrittener

Beiträge: 154

Wohnort: Bath

Beruf: Panographer - hobby and commercial

  • Nachricht senden

21

Mittwoch, 31. Juli 2013, 11:00

leaping

Hi
Got my Leap controller yesterday - leaping, er more like groping, towards controlling it
Has anyone actually managed to control a pano with one?
bw

JL

22

Mittwoch, 31. Juli 2013, 13:35

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

jl-krp

Fortgeschrittener

Beiträge: 154

Wohnort: Bath

Beruf: Panographer - hobby and commercial

  • Nachricht senden

23

Donnerstag, 1. August 2013, 11:57

more leaping

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

rey

Schüler

Beiträge: 48

Wohnort: Tallinn, Estonia

Beruf: 360VR photographer

  • Nachricht senden

25

Dienstag, 17. September 2013, 13:32

Hi all!

Any news here? Anyone succeeded in control panoramas using Leap Motion controller?

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

26

Donnerstag, 19. September 2013, 11:14

I'm on the way, I already did some nice improvments with communication between leapmotion and krpano, but still nothing to show...

You can check that :

http://vimeo.com/64691782
everpano.com step beyond 360

27

Samstag, 21. September 2013, 14:06

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

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

28

Donnerstag, 26. September 2013, 19:07

Leap motion used to control krpano : http://www.dailymotion.com/video/x14w4fu…itone-2013_tech
Very basic function as it's hard for new users to use this device... left, right, up, down and click (hotspots automaticly selected when middle of screen.

29

Sonntag, 29. September 2013, 01:27

Thanks for sharing that.

So little of Leap is shown that I'm afraid it just
teases me. lol...


Regards

James

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

30

Dienstag, 1. Oktober 2013, 00:15

That looks amazing !! By the way, how do you know it's using krpano ?
It should be 3 slipteed screens which I m sure that can be done using js
everpano.com step beyond 360

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

31

Dienstag, 1. Oktober 2013, 00:33

That looks amazing !! By the way, how do you know it's using krpano ?
It should be 3 slipteed screens which I m sure that can be done using js

The slipped screens are done with matrox display port.
You can see the virtual tour displayed here : www.explornova360.com

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

32

Mittwoch, 16. Oktober 2013, 11:59

leap motion is getting closer to HTML5

everpano.com step beyond 360

33

Freitag, 3. Januar 2014, 14:50

Any update on this?
I would really like to get some good use for Leap Motion with Virtual Tours.

Regards
James

34

Freitag, 17. Januar 2014, 21:47

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:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
var krpanoplugin = function () {
    var local = this,
        krpano = null,
        plugin = null;


    /* Register the plugin for use with Krpano */
    
    local.registerplugin = function (krpanointerface, pluginpath, pluginobject) {
        krpano = krpanointerface;
        plugin = pluginobject;
        
        initializeleapcontroller();
    }


    /* Clean up when unloading the plugin */
    
    local.unloadplugin = function () {
        plugin = null;
        krpano = null;
    }


    /* Detect clicks on the plugin [ NOT USED ] */
    
    local.hittest = function (x, y) {
        return false;
    }


    /* Plugin was resized from XML Krpano [ NOT USED ]  */
    
    local.onresize = function (width, height) {
        return false;
    }
    
    /* Initialize Leap Controller */
    
    function initializeleapcontroller() {
        
        Leap.loop(function (frame, done) {
            var hand = frame.hands[0];


            if (hand) {
                
                var x = hand.palmPosition[0],
                    y = hand.palmPosition[1],
                    z = hand.palmPosition[2];
		
                var pNx = hand.palmNormal[0],
                    pNy = hand.palmNormal[1],
                    pNz = hand.palmNormal[2];
		
                var pDxr = hand.direction[0],
                    pDyr = hand.direction[1],
                    pDzr = hand.direction[2];
                
                /* Tilting Forward and Backward Actions */
                
if ( pNz > 0.3 ) {
                    // Forward
                    krpano.set("vlookat_moveforce", "0.5");
                } 
                else if ( pNz < -0.3 ) {
                    // Backward
                    krpano.set("vlookat_moveforce", "-0.5");
                } 
                else {
                    // Steady
                    krpano.set("vlookat_moveforce", "0.0");
                }
                
                /* Tilting Left and Right Actions */
                
                if ( pNx > 0.3 ) 
                {
                    if ( pNx > 0.6 ) { 
                        // Fast Left
                        krpano.set("hlookat_moveforce", "-2.0");
                    } else {
                        // Left
                        krpano.set("hlookat_moveforce", "-0.5");
                    }
                } 
                else if ( pNx < -0.3 )
                {
                    if ( pNx < -0.6 ) {
                        //Fast Right
                        krpano.set("hlookat_moveforce", "2.0");
                    } else {
                        // Right
                        krpano.set("hlookat_moveforce", "0.5");
                    }
                }
                else {
                    // Steady
                    krpano.set("hlookat_moveforce", "0.0");
                }
            }
            else {
                // Hand is no longer visible then we stop all movement
                krpano.set("vlookat_moveforce", "0.0");
                krpano.set("hlookat_moveforce", "0.0");
            }
            
            done();
        });
        
    }
};



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


Quellcode

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

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

35

Montag, 20. Januar 2014, 21:07

Great Stefan, great base for starting developing krpano/leap plugin !
Would be great if someone could do the same basic function in as3 as it looks the js plugin can't be used with the flash player...
here is the leap as3 ressource :https://github.com/logotype/LeapMotionAS3
sorry but I really don't know anything about as3....

thanx !

36

Sonntag, 6. April 2014, 07:37

A little issue

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

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

37

Sonntag, 6. April 2014, 08:34

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

38

Sonntag, 6. April 2014, 19:27

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/tou…windows/windows

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »thevtman« (7. April 2014, 02:05)


39

Samstag, 12. April 2014, 05:32

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

40

Freitag, 16. Mai 2014, 14:12

Leap Motion Success

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