Author Topic: Head Tracking for Camera Angle in Games  (Read 11035 times)

Offline Grumpydwarf

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: April 11, 2008, 01:05:52 PM
Hi all.  I just registered with the project after watching a few videos about the Wiimote and head tracking demos.  It seems like it is fairly easy to integrate the Wii controller into your computer in various ways using GlovePIE.

I am curious, being a gamer, if i could integrate a single function such as camera control in a came to be dependent on the head tracking of the Wiimote.

My idea was concerning World of Warcraft.  If i could get the whole glasses with infrared and wiimote set up under my comp screen and then have my head movements controlling the camera angle, i think it would be way more immersing and perhaps user friendly, i just have no idea how to bind that control, which is usually bound to holding the left mouse button down and swiveling directions, to the head mounted IR.   Do you guys have any idea of a script already out that would do that?  Or any way to set it up?

Thanks  ;D



Offline ToeKnee

  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
Reply #1 on: April 11, 2008, 05:15:59 PM
I dont think this would work, as the minute you turn your head you are no longer looking at the screen!

It would certainly enhance the 3D effect of a game, but without multiple monitors I think this is hopeless.



Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #2 on: April 12, 2008, 01:45:52 AM
I assume you are actually looking for something like Track IR

here is a video

http://www.youtube.com/watch?v=_AO0F5sLdVM&eurl=http://www.flightsimshop.se/product_info.php?products_id=137





Offline Grumpydwarf

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Reply #3 on: April 12, 2008, 02:11:26 PM
Yah thank you.  The TrackIR is pretty much exactly what i was talking about.  So there are graded movements you never have to actually look away from the screen and it controls the camera angle and all.  Do they have that for MMORPGs or any RPGs.  I'm going to go search around and see if i can find some that'll work for WOW.  Thanks for your help.



Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #4 on: April 12, 2008, 04:10:11 PM
Its great that you can turn your head and the display follows your movement but there is a problem and that is that your eyes are still stuck to your head

If you turn your head 90 degrees to the left its hard to see on your monitor that is now actually 90 degrees to your right (from your face direction)

Small movements are ok but you can actually look backwards in some games (like he does in the video i linked) and then you loose all features out of sight....

If you have a headmonted display (goggles) it would work 100% as the display is now in your face following your headmovements totally...



Offline twisteddman

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reply #5 on: June 11, 2008, 08:34:56 AM
Hey , I am setting the wiimote up for the white board program. I ordered a couple extra UV LED's to do the head tracking also. I am wondering if anyone would have any idea if it would be feasible to play FP games with the headtraking taking place for the mouse in conjunction with a controller or joystick to control left right front back and 360 turning? I am using a Diy projector with an 8 ft screen, so it would be a little different than an lcd moniter. Any thoughts?



Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #6 on: December 31, 2008, 03:13:50 AM
I think it is very similar to various mouse DPI

In some games you have different settings depending on your gun, like a sniper

On a few mice's there are a button that lets you alter the DPI in the fly to adjust the sensitivity in game

So I assume the headtracking can be done the same way...

a very small movement initiates the turning feature



Offline Valen2267

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Reply #7 on: December 31, 2008, 01:15:05 PM
I just posted something like this 2 days ago, and someone suggested I go to ModDB.com to see if anyone could write a mod for games.  Then I just read the thing about TrackIR, so I was thinking...

The TrackIR site has a free sdk download for non-commercial developers

FaceAPI.com allows users to work with a webcam to for headtracking, ... I know this is a Wiimote forum, but I found it on youtube because they modified Johnny Lee's program to work with their software.  It's also a free download for non-commercial developers.

I'm barely know anything about programming yet, but can't someone with lots of knowledge/experience take the FaceAPI program for the input, use TrackIR for the code for the games, and put them together to create a really good 3d headtracking program?



Offline Valen2267

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Reply #8 on: December 31, 2008, 01:36:20 PM
drat, I just downloaded the OptiTrack sdk that the TrackIR free download linked to, and the liscense agreement said can only be used with the Hardware that Optitrack is selling.... not webcams or the Wiimote as far as I can tell. :(