Headtracking
Jump to navigation
Jump to search
Headtracking | |
General | |
---|---|
Author(s) | PaulWagener |
Type | Demo |
Links | |
Download | |
Source | |
Downloadable via the Homebrew Browser | |
Peripherals | |
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 |
---|---|
Change variables (see debuginfo) | |
Toggle debuginfo | |
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.