Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 1-Dec-2014 15:02:26

RasaMohamed
Member
Registered: 21-Nov-2014
Posts: 8

Multi Gesture Input Checking

Hi,

Recently Finger's found Functionality are added so How can I check Multi fingers are found in single condition. I mean using 'If' or 'switch' condition how can I acomplish that ...:cool:

Last edited by RasaMohamed (1-Dec-2014 15:04:02)

Offline

#2 1-Dec-2014 19:53:25

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Multi Gesture Input Checking

Hi

multi touch is automatically managed by FPS navigation plugit and interface button.
The multi touch plugit can also gives some events on touch.
it return the number of fingers found with the Nb cursor event.

Offline

#3 2-Dec-2014 06:37:29

RasaMohamed
Member
Registered: 21-Nov-2014
Posts: 8

Re: Multi Gesture Input Checking

FPS.Circle right Progress -> switchcaseRight
switchcaseRight -> FPS like controller inst.control        This would control Right side rotation and as same as for Left rotation.
FPS.Second index found -> FPS like controller.control
FPS.Second index lost -> FPS like controller.control      This would control walk forward and as same as for back with some modification.

Whereas how can I accomplish this with two gesture I mean If ' index and middle found ->  FPS like controller.control '. Is it possible to implement this multi touch plugit in to FPS

Offline

#4 2-Dec-2014 09:36:47

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Multi Gesture Input Checking

I don't understand,

the defaut FPS like multi touch control do not fit your needs ?

On multi touch device there is no finger identification. it's only "points" just like you were using several mouses.

you can disable FPS control default inputs and make your own.
add input multi touch plugit
depending of the nb cursor event enable or disable a control switch.

but how do you want the 2 fingers to be interpreted to move the camera ?

Offline

#5 2-Dec-2014 10:20:42

RasaMohamed
Member
Registered: 21-Nov-2014
Posts: 8

Re: Multi Gesture Input Checking

Yes, you don't understand . . .
I'm not asking about MultiTouch control, After your 1st reply I did asked about Multitouch.

Simple, I'm using only single finger gesture [ for walk ] as input for FPS like controller. If Index finger has found it starts to walk that's it.
Now I'm trying to do is if I show two finger[ Index and middle finger found ] it have to move forward.


' FPS.index found-> scene.FPS like controller ' now this will move forward if I show my index finger. Instead of this it have to move forward if only my index and middle fingers are found.

Offline

#6 2-Dec-2014 10:42:26

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Multi Gesture Input Checking

ho ok you forgot to tell you were using leap motion.

this way you can use several switch plugits.

switch index and swtich middle

index found -> switch index. switch right
index lost -> switch index. switch left
middle found -> switch middle. switch right
middle found -> switch middle. switch left

index found -> switch index.input
middle found -> switch index.input

switch index.right -> switch middle.input
switch middle.right -> control

Offline

Board footer

Powered by FluxBB