On Fri, 2008-05-09 at 17:49 +0900, hard off wrote:
you will probably need a middleman program to take the wii data and
convert it into OSC messages so PD can read it.
just google " wii + OSC + your operating system" and you should find
what you need.
OSCulator (mac) is good. and someone just said that 'glovepie' is
good for windows.
then just map the pitch, roll and yaw of the wii remote to the camera
angle.
you don't get angles directly, but the magnitude of X, Y and Z vectors
(or more accurately: the accelerations). however, you can calculate
pitch and roll from the wiimote data. since g (gravity) is parallel to
the yaw rotation axis, you cannot track the yaw angle.
the [wiimote-help] by mike wozniewski comes with an example about how to
do that.
roman
___________________________________________________________
_______________________________________________