Wiimote Homography

freeka's icon

Hello,
i already posted something about that subject but never had any replies, so i try again..
i basically want to do a 4 corner calibration "à la" wiimotewhiteboard with the IR of a wiimote but inside max, the value are coming thru OSC from OSCULATOR.
here are more understandable explanations :)
http://www.digitalperformance.org/node/396

if someone can help with these mathematic formula inside max..
everything is here:
http://alumni.media.mit.edu/~cwren/interpolator/
thank you!

Mayou's icon

Hello,

You should take a look at this website : http://www.adrienm.net/index.html
(French one) and then maybe try to contact Adrien Mondot : http://www.adrienm.net/contact/index.html

I was working with him on this one week ago and he done something similar with a light and a wiimote to grab some elements on a big transparent screen with the light (the IR part).

I hope it might help,

Cheers,

Mathieu

Antoine Villeret's icon

Hi there,

I'm currently working on building some OpenCV functions for Max especially cvFindHomography and cvGetPerspectiveTransform. Also I've integrated the cvPerspectiveTransform and cvWarpPerspective associated with those functions.
Currently it's in very beta version, but feel free to contact me through my contact form http://antoine.villeret.free.fr/?page_id=25 if you are interesed one some of those functions in max...
cheers

antoine

freeka's icon

thanks, i'll try these directions!

jayrope's icon
Max Patch
Copy patch and select New From Clipboard in Max.

as i am working on a wiimote sound design application i wrote this little patch to calibrate the wii position to the momentary position (returning a center 0 value then) upon pressing a certain button. i will post the logics below, hope they help: