World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 01-05-2008, 06:10 PM   #1
nigel_ht
Senior Member
 
Join Date: Aug 2005
Posts: 317
Default Interesting stuff...

This is pretty cool...

http://www.youtube.com/watch?v=Jd3-eiid-Uw

What does this have to do with WorldWind? Why nothing at all...not one single thing. Nada, nien, zilch.
nigel_ht is offline   Reply With Quote
Old 01-05-2008, 06:42 PM   #2
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

Coolissim indeed
I thought about doing something similar on an iPod Touch, using the accelerometer, to look at a 3D object from above or the sides depending how you incline the device. But that would certainly not beat the Johnny Lee demo with the Wii remote. Real fine work he did!
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 01-05-2008, 07:50 PM   #3
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

Quote:
Originally Posted by nigel_ht View Post
This is pretty cool...

http://www.youtube.com/watch?v=Jd3-eiid-Uw

What does this have to do with WorldWind? Why nothing at all...not one single thing. Nada, nien, zilch.

Be sure and let us know when you get it working! I'd love to see air traffic realtime in 3D...
James_In_Utah is offline   Reply With Quote
Old 01-07-2008, 10:01 AM   #4
nigel_ht
Senior Member
 
Join Date: Aug 2005
Posts: 317
Default v0.1 now in SourceForge

Use * to turn on head tracking.

You should have the IR LEDs within view when you turn it on because I calibrate head position when you turn on headtracking.

Not all error checks are in place. You CAN end up under the earth or spun upside down or some other oddness in some cases.

YouTube Video:

http://www.youtube.com/watch?v=AI1sC_G412E
nigel_ht is offline   Reply With Quote
Old 01-07-2008, 01:17 PM   #5
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

Woa!!! Excelent work Nigel. Can you list the hardware you used to do that - like do you need a full Wii box or just the IR accessories?

BTW: i guess someone could achieve similar results with just a webcam and head tracking software on the video stream... certainly more complicated though.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 01-07-2008, 03:06 PM   #6
nigel_ht
Senior Member
 
Join Date: Aug 2005
Posts: 317
Default

Quote:
Originally Posted by patmurris View Post
Woa!!! Excelent work Nigel. Can you list the hardware you used to do that - like do you need a full Wii box or just the IR accessories?

BTW: i guess someone could achieve similar results with just a webcam and head tracking software on the video stream... certainly more complicated though.
You just need the Wiimote and two IR LEDs. The easiest place to find two IR LEDs if you have a Wii is the sensor bar. Otherwise you can just wire up to IR LEDs to the safety glasses like in Johnny's video...

I borrowed my brother in law's Wii...purely for this project of course.

You can just use a web cam but then you need to do the following:

Remove the IR filter on the webcam
Add a visible light filter
Find blob tracking software you like.

For the $45 or so for a wii mote the hardware solution seems much nicer since you get up to 4 IR blobs tracked automagically for you by the wiimote. That's probably good enough for most gestures.
nigel_ht is offline   Reply With Quote
Old 01-07-2008, 03:23 PM   #7
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

Way cool! So what is the interface for the Wii remote to the computer? USB? Very nice! I have to get some of that!
James
James_In_Utah is offline   Reply With Quote
Old 01-07-2008, 03:29 PM   #8
nigel_ht
Senior Member
 
Join Date: Aug 2005
Posts: 317
Default

Quote:
Originally Posted by James_In_Utah View Post
Way cool! So what is the interface for the Wii remote to the computer? USB? Very nice! I have to get some of that!
James
Bluetooth. Which is great if you have one since no wires.
nigel_ht is offline   Reply With Quote
Old 01-07-2008, 04:43 PM   #9
Unregistered
Guest
 
Posts: n/a
Default So how can we replicate it?

I have the wiimote, vista and everything ready to try it. Could you please tell us how did you integrate Johnny Lee's DesktopVR with World Wind?
  Reply With Quote
Old 01-07-2008, 06:44 PM   #10
nigel_ht
Senior Member
 
Join Date: Aug 2005
Posts: 317
Default

You need to install the following:

DirectX SDK
Visual Studio Express C#
WorldWind 1.4

Then download the source code for WorldWind from our source code repository at http://sourceforge.net/projects/nasa-exp/

Instructions are here: http://sourceforge.net/svn/?group_id=69528

You want the SVN repository, not the CVS one.

Open the solution and run it. It should be enabled on startup and you should be able to just hit "*" to enable head tracking.

If it isn't automatically loaded, you need to load the WiiMote plug-in by hand (there's a pull down in the top menu). It's called...uh...heh...WiimoteHeadTracking I think. Not near my dev machine at the moment but its the only plug-in with wiimote in the name.

The source code is in there for the head tracking. I don't have an airplane demo at the moment but I'll add that for the next version. There may be bugs...I did just throw it together in a couple days.

What I did was change the WW camera code to allow for negative tilt and for swivel. Then added head tilt and swivel to the base tilt and swivel values. Zoom is somewhat implemented but should change based on altitiude rather than a fixed zoom value which is too small to notice.

I develop on XP so I dunno if there are any Vista build issues with World Wind.

Follow Johnny's direction to get bluetooth and the wii working together. If you can run his demo's you can run this. I actually use a later version of the wiimotelib than he does so bluetooth compatibility is better.
nigel_ht is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting mathmatical question and polygon extrusion opacity Hactic Developers' Corner 3 09-20-2007 02:11 PM
Just something I find interesting Guest_Jim_* Community Chat 0 08-07-2007 01:30 AM
Two other interesting programs luscombe WorldWind General 2 09-17-2005 02:02 PM
Anything interesting in The Gulf of Persia? visitor Hotspots 0 05-29-2005 06:56 PM
Interesting Satellite 'Wired' magazine article JamminR Hotspots 0 04-15-2005 10:53 PM


All times are GMT +1. The time now is 05:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.