for those who are interested, the program glovepie works as a driver for the wiimote,
and you can program it to take blob touches and translate those to mouse and keyboard events easiely
for example
if Wiimote1.dot1vis = true Mouse.x = MapRange(Wiimote1.dot1x, 0,1023, 0,1) Mouse.y = MapRange(Wiimote1.dot1y, 0,767, 0,1) Mouse.leftButton = true end if
simply looks for one ir point using the camera and translates it to cursor movement with the left button down for movement,
if anyone could help me make a algorithm to work with nasa world wind, please post it here.
I plan to use the wii mote for my multi touch, has anyone tried using it with FTIR?, and is there any way to interface with the camera
on the wii mote like a webcam
here is a very crude script, i defiantly do not think that the zoom or rotate section works properly, nothing is mapped correctly, but it might give you a idea how it might work
looks like the code is good, just needed to change something with the zoom math, which works great now
I am still having some trouble with the rotate part and that means i am also going to have problems with the tilt stuff (maybe), but it is mostly working
*note* you must disable the bank clock feature in Nasa world widns for this to work, i don’t know why
can anybody tell me how well the wiimote works with FTIR?
roftlol
I have a FTIR setup right now and am also working on a DI setup. I would like
to try using the Wiimote but am curious of how you have yours set up? could you
post a pic or vid of your setup ? As soon as i get them up and running I will let
you know how it works for me.
i haven’t actually setup my wiimote under my ftir table(it is at school), i have been testing the program using my home pc with a tv remote and a two circuit boards with two led’s on each, so I don’t actually know if it will detect my fingers on the ftir setup because i don’t know if they are bright enough. there is no way to calibrate the ir sensor except on the Wii console so I need somebody to try it out. to get it working donwloadthe glove pie app linked above, pair your wiimote to your pc, copy the code and press run. If you want to test, panning stopping and zooming are the only things working in the most recent version of my code, don’t try to tilt or rotate. ALSO VERY IMPORTANT: delete the mouse.x =500 and mouse.y =500 at the end of the code, other wise you can’t control the mouse manually.
NEW!!!! this is version 2, as opposed to the previous versions, this one can do everything i wanted it to do, except sometimes it messes up, so I only need to eliminate bugs as apposed to adding functionality. Please, I need you guys to test this code out, thanks and post your responses and suggestions here.
// // // // // TEH LOL version 2 beta // // PIE.FrameRate = 75Hz