BrianPeek.com
A Compendium of Random Uselessness

October 2008 - Brian Peek's Blog

  • TL39: Coding4Fun: Windows Presentation Foundation Animation, YouTube, iTunes, Twitter, and Nintendo's Wiimote


    image Well, PDC2008 is over.  I had a lot of fun, met a ton of interesting and fun people, and learned about a lot of exciting new technologies.  I hope to make it back out there next year.

    Our PDC2008 session video has been posted up at Channel 9 along with the PowerPoint slide deck.  In this session you will learn about four of our current projects:  WiiEarthVR by myself, InnerTube by Dan Fernandez, TwitterVote by Clint Rutkas and BabySmash by Scott Hanselman.

    If you’d like to check out the video, you can watch it “live” or download the deck and video in various formats with the following links:

    Source code for all projects will be available soon and I’ll provide an update when it’s available.  WiiEarthVR will also have its own Coding4Fun article within a week or two.  InnerTube and TwitterVote are also featured in depth in our new book, “Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More”, which comes out very soon.

    As always, questions and comments are welcome on the session.  Thanks!


  • Coding4Fun Book Chapter Teaser for PDC


    image Update: Looks like the link has expired since PDC is now over.  Thanks to all who downloaded!

    At PDC2008 we have been giving away printouts of our first chapter and table of contents for our new book, “Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More” to anyone who drops by the Coding4Fun area.  We ran out of copies early today, so for those of you at PDC (and anyone else for that matter) that’s interested in taking a look at the (not really properly formatted in all places) first chapter of the book in PDF format, you can do so by visiting http://oreilly.com/go/mspdc .  This chapter covers how to build a simple 2D game named Alien Attack using XNA 3.0.

    This link will die within the next few days, so download soon.  Any questions and comments are welcome, as always…enjoy!


  • WiiEarthVR at PDC


    Update 1/20/09: Here’s a vid from Channel9 showing the WiiEarthVR project:

    Get Microsoft Silverlight

     

    Time to talk a little bit about my PDC demo…

    About a year ago, I wrote an application to control Virtual Earth 3D with the Wiimote named WiiEarth and a corresponding Coding4Fun article on how it was done.  Since that time VE3D has been updated several times and code changes have broken my application.  Since their API is undocumented and unsupported, it was bound to happen.  Here’s a video of the old WiiEarth application:

    For PDC this year, I decided to write a new version of WiiEarth, now named WiiEarthVR, using the Wiimote and some additional hardware, namely the Wii Fit Balance Board and a pair of Vuzix VR920 glasses.  Using the Balance Board, the user can shift their center of gravity (i.e. lean) and control the VE3D environment as if they were on a hovering glider.

    Wii Fit Balance Board VR920

    The VR920 glasses contain sensors to allow head tracking in 3 degrees of freedom.  A very simple API provides a way to determine the yaw, pitch and roll of the glasses which can be directly used by VE3D.  And finally, the glasses also support stereoscopic 3D imagery.  Simply, this provides a very easy way to give the illusion of true 3D images with depth using the glasses.  By rendering a frame for the left eye and a frame for the right eye, each slightly shifted from the center, your eyes will combine the images together into a single three dimensional image, much like those Magic Eye pictures (It’s a sailboat!).

    The final application gives you a very immersive 3D experience using VE3D that can be controlled directly by your own body.  It’s pretty neat to fly around the Las Vegas strip or Manhattan and watch the buildings actually stick out three dimensionally as you lean around the Balance Board.

    If you’ll be at PDC2008, stop by the Coding4Fun Lounge to see the application in action, or sit in on our session “Coding4Fun: Windows Presentation Foundation Animation, YouTube, iTunes, Twitter, and Nintendo's Wiimote” to learn how it was made.  After I return home from PDC, I will be writing a Coding4Fun article and releasing the source so you can give it a try at home, assuming you own all of the required hardware…


  • PDC2008


    pdc Anyone heading out to PDC2008 this year?  I will be in attendance with (hopefully!) a new Wiimote project and perhaps a few old ones as well.  More details on that when the project is a tiny bit further.  We will also be giving away a free chapter of our new book “Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More” to lucky PDC attendees at the O'Reilly booth.

    I will also be co-presenting a lunch session at PDC:

    Title: Coding4Fun: Windows Presentation Foundation Animation, YouTube, iTunes, Twitter, and Nintendo's Wiimote
    Date/Time: Tuesday, October 28th, 12:45pm-1:30pm
    Speakers: Dan Fernandez, Scott Hanselman, Brian Peek, Clint Rutkas
    Room: 403AB
    Abstract: Spend time with Coding4Fun authors as they walk through some DIY Development projects: TwitterVote, Wiimote, InnerTube, and BabySmash.

    You can add this session to your agenda by visiting the PDC site and searching for “Coding4Fun”.

    If anyone will be attending, let me know so we can meet up for lunch, dinner or a drink.  Hope to see you there!


  • A Few New WiimoteLib Applications


    I’ve received information on a few spiffy Wiimote projects using my Managed Wiimote Library in the last couple weeks that everyone should check out…

    Wiimote Tracking System Using 3 Wiimotes by Nikolai

    This project uses 2 Wiimotes as cameras and a 3rd covered in IR LEDs to create a tracking and gesture recognition system.  Check out the video below.

    Wiirtual.Earth - A WPF Virtual Earth 3D Experiment featuring the Nintendo Wiimote by Michael Koester

    A pretty spiffy WPF UI integrating Virtual Earth 3D and the Wiimote.  Source code and more information available at the site linked above.

    ggate

    Great projects!

    Filed under: ,