how does wii remote pointing work?

her34

Senior member
Dec 4, 2004
581
1
81
the sensor bar only emits ir from its ends, so the wii remote only sees 2 points.

the 2 points alone let you calculate distance of wii remote to sensor bar and roll, but how does the wii determine where you are aiming?
 

nycxandy

Diamond Member
Apr 11, 2001
3,731
0
76
From wikipedia.

"The Wii Remote has the ability to sense acceleration along three axes through the use of an ADXL330 accelerometer.[28][12] The Wii Remote also features a PixArt optical sensor, allowing it to determine where the Wii Remote is pointing.[29]"

http://en.wikipedia.org/wiki/Wii_Remote
 

DivideBYZero

Lifer
May 18, 2001
24,117
2
0
Essentially the Wiimote has a megapixel camera on the end. If you imagine a 1024 x 768 canvas that remains static, the points lit up by the sensor bar will move according to the position you are pointing it in. Point the Wiimote to the top left of your TV and the 'dots' will be at the bottom right (or thereabouts) of the static canvas. Flip the the X & Y position of the dots, overlay that resulting position of the dots onto the display and place a cursor there. Job done. :) As there are two dots rotation can also be assessed.

^massive oversimplification to get the principle across.
 

Modeps

Lifer
Oct 24, 2000
17,254
44
91
Originally posted by: nycxandy
From wikipedia.

"The Wii Remote has the ability to sense acceleration along three axes through the use of an ADXL330 accelerometer.[28][12] The Wii Remote also features a PixArt optical sensor, allowing it to determine where the Wii Remote is pointing.[29]"

http://en.wikipedia.org/wiki/Wii_Remote

You forgot the "magic" part.