In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Headtracking: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
LoganA (talk | contribs)
mNo edit summary
IMacros (talk | contribs)
No edit summary
Line 1: Line 1:
{{Infobox homebrewapp
これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!
| title      = Headtracking
==これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!==
| image      =
===これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!===
| desc        = Panning an image based on sensorbar movement
これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!
| type        = Demo
[[これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!]]
| author      = PaulWagener
| display    =  
| download    = [http://wii-headtracking.googlecode.com/svn/trunk/Headtracking.zip Headtracking.zip]
| source      = [http://code.google.com/p/wii-headtracking/source/browse Browse source]
| peripherals = {{Wiimote2}}
| hbc        = 1
| hbb        = 1
}}
 
'''Headtracking''' is a demo based on [http://www.youtube.com/watch?v=Jd3-eiid-Uw 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==
{| class="wikitable"
|-
! Button !! Action
|-
| {{WiimoteDPad}} {{WiimoteMinusButton}} {{WiimotePlusButton}} || Change variables (see debuginfo)
|-
| {{WiimoteAButton}} || Toggle debuginfo
|-
| {{WiimoteHomeButton}} || 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.

Revision as of 18:08, 5 March 2009

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて! これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!