Thursday, October 30, 2008

Screenshot time

As you can see below, I have drawn my name in the program, but the amazing thing is, I drew it in the Z direction! I then rotated the drawing so it could be read.

Wednesday, October 29, 2008

Drawing is a success

I was able to replace the movable sphere with an ArrayList of vertices, then draw the vertices as a line list. I initially had some problems, the program would run out of memory, and there would always be stray lines at the beginning and end of the drawing. It turned out that I was setting the vertices whether the wiimotes were receiving a signal or not, causing the ArrayList to bloat up with unused points, and waste memory. This was also the cause of the stray lines.
I also made a modification to the IR pen. It appears that if the LED is pointed directly at the wiimote camera, then the light is refracted causing some erroneous data. Also, the side of the LED was not bright enough, so the solution was to wrap the LED in a couple layers of scotch tape to diffuse the light. The IR pen looks even uglier than before, but it works a little better now.
More pictures and screenshots to follow.

Friday, October 24, 2008

Screenshot

Here is the screenshot of what I have in the program so far. The IR pen controls the sphere moving around the screen.

Wednesday, October 15, 2008

Great progress!

I made an IR light pen according to the schematics I posted earlier. It is not pretty, but it works.
I also have DirectX working together with the Wiimotes in a test application where I can move a sphere around in 3D space. Screenshots to come.

Tuesday, October 7, 2008

Updates

I found a schematic for an IR pen from Johnny Lee's website http://www.cs.cmu.edu/~johnny/projects/wii/

I plan to go to the hardware store this week and get some ideas for an adjustable apparatus to hold the wiimotes.