Difference between revisions of "Headtracking"

From WiiBrew
Jump to: navigation, search
(My first Wii demo)
 
(targets idea)
Line 37: Line 37:
 
The image can be changed by replacing gfx/view.png and running `raw2c view.png` in the gfx directory
 
The image can be changed by replacing gfx/view.png and running `raw2c view.png` in the gfx directory
 
If the picture isn't 800x600 make sure you change main.c to compensate (IMAGE_HEIGHT & IMAGE_WIDTH)
 
If the picture isn't 800x600 make sure you change main.c to compensate (IMAGE_HEIGHT & IMAGE_WIDTH)
 +
 +
==Ideas==
 +
The next step would be the 3d room with the floating targets further on in Johnny's video.

Revision as of 13:50, 20 July 2008

Template:Infobox homebrewapp

Headtracking is a demo based on Johnny Chung Lee's YouTube video.

Place the Wiimote on your TV facing you and hold the sensorbar close to your head. As you move around, the image will pan and zoom accordingly.


Controls

Button Action
Wiimote D-Pad Wiimote - Button Wiimote + Button Change variabeles (see debuginfo)
Wiimote A Button Toggle debuginfo
Wiimote HOME Button Return

As the first Wiimote is probably out of reach by your TV you can also use the second Wiimote for above controls

Licence

My code is as free as it can possibly be. Use it, modify it, copy it. Image is made by me and may also be used for anything.

Source

The image can be changed by replacing gfx/view.png and running `raw2c view.png` in the gfx directory If the picture isn't 800x600 make sure you change main.c to compensate (IMAGE_HEIGHT & IMAGE_WIDTH)

Ideas

The next step would be the 3d room with the floating targets further on in Johnny's video.