It is currently Sat May 18, 2013 1:04 pm



Reply to topic  [ 65 posts ]  Go to page 1, 2  Next
 TrackIr best product for my upcoming Sony HMD? 
Author Message
3D Angel Eyes (Moderator)
User avatar

Joined: Sat Apr 12, 2008 8:18 pm
Posts: 10022
You need the Motion+, but I guess you already figured that out.

_________________
Image


Mon Nov 07, 2011 5:03 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
cybereality wrote:
You need the Motion+, but I guess you already figured that out.


;)

I'm actually looking into the sparkfun solution, I think it can be worth the money if its really accurate, the problem like i talked about is that the game I want to play with it doesnt work well with yousticks :/

When i look 90 degrees left I want the game to postion the camera 90 degrees left aboslute, now it does just rotate to the left while looking left until it it's the end of the axis, will not feel one bit correct...


Mon Nov 07, 2011 6:00 pm
Profile
3D Angel Eyes (Moderator)
User avatar

Joined: Sat Apr 12, 2008 8:18 pm
Posts: 10022
CyberVillain wrote:
When i look 90 degrees left I want the game to postion the camera 90 degrees left aboslute, now it does just rotate to the left while looking left until it it's the end of the axis, will not feel one bit correct...

Theres no reason that this 1:1 motion could not be done with relative movement. Assuming the tracker had no drift, this would be basically 100% identical to absolute movement. The only problem areas would be looking straight up or straight down (since the game will clip your movement). But if you avoid those areas, it should be the same. Now, in reality, trackers do have some drift, so you will need a way to "reset" or "recenter" the tracking. But this seems like only a minor annoyance.

_________________
Image


Mon Nov 07, 2011 7:35 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Thanks for all the replies cyber....
I do not really understand how you can achive this with relative movement? How do i know whats center, and of do i calibrate games center to the headtracking center?


Tue Nov 08, 2011 2:25 am
Profile
3D Angel Eyes (Moderator)
User avatar

Joined: Sat Apr 12, 2008 8:18 pm
Posts: 10022
CyberVillain wrote:
Thanks for all the replies cyber....
I do not really understand how you can achive this with relative movement? How do i know whats center, and of do i calibrate games center to the headtracking center?

There is no concept of center. What you do is start in the correct position (lets say total center, facing forward) and just move from there. Its all relative. If the tracker is accurate enough (ie no drift) then you will always be facing center if you look in the real center.

_________________
Image


Tue Nov 08, 2011 7:47 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
I cant understand how that will work, if you are in the center the headtracking software tells BF3 that you want 0 speed on the x axel (Since thats how BF3 joystick freelook works). If you move head 45 degrees left you tell BF3 you want to start moving to the left at 50% of total speed (If your head stays at 45 degrees you will pretty fast end up at 90 degrees in game since the camera will keep moving while head is not at center), if you move 90 degrees to the left yuo tell BF3 you want to go left at 100% of total speed... How can that ever feel like the game camera is tracking your head?

edit: The only way ican see to might get it to work to know how BF3 calculates its axis speed from joystick input, and then take the inverse of that algorithm and apply it to the output of joystick emualtiion.

step 1) Get the speed the head is moving in a direction
Step 2) Convert that to a axis value that will correspond to the same speed in bf3. But that sounds like it will get out of sync real fast :P


Wed Nov 09, 2011 2:06 am
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
Re FreeTrack having code from TrackIR - that was just PR BS from Naturalpoint.

Also re freetrack, I've wondered if it would be possible to modify it (it IS open source I believe) to accept more than 1 camera. If you could rewrite it so it 'handed off' to another camera (perhaps, have one behind you, or 3-4 around you) then you could get 360 degree tracking fairly easily. This could be as simple as code to determine which camera was seeing the most LED's and transparently switching to that camera opinion of the head location and orientation.

You could also possibly do something similar wihout a rewrite in Freetrack by having an array of LEDs around you, spaced at a decent spacing, and the camera mounted on you, so that as you turn, it picks up 1-3 LED's at once and pans/tilts you accordingly. Sort of like how the wiimote works with the sensor bar?

TrackIR/Freetrack is the best solution if you want easy, native head tracking in sims (racing and flight mainly). If you don't need this, i'd go with the Sparkfun or a Hydra setup, as both of those will provide 360 tracking compared with the 90-180 degree tracking you get with trackIR.


Wed Nov 23, 2011 9:11 pm
Profile
Sharp Eyed Eagle!

Joined: Sat Apr 12, 2008 9:45 pm
Posts: 373
I think it is doable using 4 wiimote pointing to 3 IR LED point on the HMD. GlovePIE allow up to 4 wiimote so you can position wiimote at N,S,E,W and write the script for intepretation in 1:1 3D space. It is also possible to use the IR point to determine if you are standing, crouching or squatting base on IR point x,y position. Each wiimote can track up to 4 IR point.


Fri Nov 25, 2011 8:48 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Now I've ordered a Playstation 3 Eye + clip
and a TrackIr Clip Pro (Dont have the time to build one myself)

Lets hope the Free track software is up to the task :D


Thu Dec 15, 2011 9:26 am
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
Interesting idea Pierreye. That could work...!

@ CyberVillain: freetrack is actually pretty sweet. From what I remember, its actually more powerful than the TrackIR software (can assign keystrokes to 'zones' etc). I think you can make it enulate TrackIR 3 for TrackIR compatibility, or do this in GlovePIE (its been a long time since I played with it).


Thu Dec 15, 2011 1:34 pm
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
@ CyberVillain: I dont know anything about Sparkfun, but when using TrackIR or Freetrack, you make it emulate a MOUSE, not a joystick. That allows you to have the correct head tracking you are talking about (as you say, using joystick outputs will just feel wrong).

Of course, if you are playing mainstream racing or flight sims, you should use the built in TrackIR interface (either via Freetrack or GlovePIE), to eliminate the problems with mouse emulation. TrackIR gives you absolute orientation, so forward is ALWAYS forward etc, whereas with mouse tracking it can lose alignment and need recentering, etc.


Thu Dec 15, 2011 9:42 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
WiredEarp wrote:
@ CyberVillain: I dont know anything about Sparkfun, but when using TrackIR or Freetrack, you make it emulate a MOUSE, not a joystick. That allows you to have the correct head tracking you are talking about (as you say, using joystick outputs will just feel wrong).

Of course, if you are playing mainstream racing or flight sims, you should use the built in TrackIR interface (either via Freetrack or GlovePIE), to eliminate the problems with mouse emulation. TrackIR gives you absolute orientation, so forward is ALWAYS forward etc, whereas with mouse tracking it can lose alignment and need recentering, etc.


Sadly for BF3 I use the mouse for flying helicopter and you loose some of the point with headtracking if you can not stear the helicopter while looking around for enemy or incoming stingers :/ Oh well....

edit: Lol, just read that BF3 sucks even more for headtracking, while in freelook move you cant steer the craft at all, even if craft is controlled by joystick and freelook with mouse.. Lol, nice work Dice...


Fri Dec 16, 2011 1:45 am
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
Actually, I think DICE have done that with EVERY Battlefield so far. Certainly on BF2, you also can't freelock AND turn your plane. REALLY stupid. I think they did it to make those who dont have hat switches and TrackIR competitive, but it really makes flying the planes a pain once you are used to looking around. If someone ever does come up with the 'universal game view changer' driver we have discussed in other threads, then this would be the first game i'd try it with.

BF3 just has way too much crap wrong with it really (no lan play or private servers? wtf!). Don't think i'll buy any new games for quite a while now. I have pretty much several of every genre nowadays anyway, and lets face it the improvements are not great with most of the newer game sequels etc. Different guns, different perks, different maps, thats about it. COD:MW3 is really no more fun for me than playing COD4...


Sat Dec 17, 2011 5:57 pm
Profile
Binocular Vision CONFIRMED!

Joined: Wed Sep 01, 2010 7:58 pm
Posts: 269
@WiredEarp
I totally agree about the COD series, its almost the same game over and over again every time a new one comes out (probably because the game engine has not changed since COD World at War).... Battlefield 3 however is a bit different, they have actually done a reasonably good single player mode for a once, and the multiplayer may be very similar to BC2 but the game engine is much better, mostly the physics and destroy-able terrain are done a lot better now (well once they fix all the bugs it will be :P). Battlefield is the jack of all trades, mixing FPS and Flight sim so of course the flight sim experience will not be as good as a dedicated Flight sim game, however I think they should enable freelook in all modes in battlefiled 3 not just in vehicles, like in ARMAII so you can have separate head tracking even on foot

_________________
Current System:
3x 23" Passive 3D Monitors in 3D Vision Surround, Novint Falcon, 3rd Space Gaming Vest, ButtKicker, Razer Hydra, Logitech G25.
Previous 3D Systems:
Viewsonic PJD6531w 3D DLP Projector, Vuzix VR920, 24" Alienware and 22" Samsung 3D Vision Monitors, eDimensional 3D Glasses with 19" CRT Monitor


Sun Dec 18, 2011 12:55 pm
Profile
3D Angel Eyes (Moderator)

Joined: Fri Aug 21, 2009 9:06 pm
Posts: 1611
Yeah, I don't know why they don't enable freelook in addition to aiming. Seems like such an easy thing to add.


Sun Dec 18, 2011 1:25 pm
Profile
Binocular Vision CONFIRMED!

Joined: Wed Sep 01, 2010 7:58 pm
Posts: 269
PalmerTech wrote:
Yeah, I don't know why they don't enable freelook in addition to aiming. Seems like such an easy thing to add.


Because they don't see enough demand for it, even for the small amount of effort it would take to add it to the game, basically only a few sim racers with track ir who also play fps and us VR enthusiasts with tracked HMDs would probably use it, hopefully SONY add some sort of htracking to the HMZ-T2 so then developers might actually develop for it on the PS3 and then it may bleed through to the PC on cross platform games like COD and BF

_________________
Current System:
3x 23" Passive 3D Monitors in 3D Vision Surround, Novint Falcon, 3rd Space Gaming Vest, ButtKicker, Razer Hydra, Logitech G25.
Previous 3D Systems:
Viewsonic PJD6531w 3D DLP Projector, Vuzix VR920, 24" Alienware and 22" Samsung 3D Vision Monitors, eDimensional 3D Glasses with 19" CRT Monitor


Sun Dec 18, 2011 1:53 pm
Profile
Certif-Eyed!

Joined: Tue Jan 19, 2010 6:38 pm
Posts: 500
Because a lot of people that play these games would consider trackir to be somehow cheating.

_________________
"If you have a diabolical mind, the first thing that probably came to mind is that it will make an excellent trap: how do you get off a functional omni-directional treadmill?"


Sun Dec 18, 2011 3:25 pm
Profile
Binocular Vision CONFIRMED!

Joined: Wed Sep 01, 2010 7:58 pm
Posts: 269
Yes some people might think progress is cheating..... does that mean using 3D screens in cheating because you can judge depth better? does that mean 5.1 surround sound is cheating because you can pinpoint sound direction better, does that mean high DPi mice are cheating because you have better control over cursor movement? does that mean using a GTX580 is cheating because you get no frame lag?

not to mention tripple monitor setups which these games do support, is that cheating? because it gives the same advantage as teadtracking only you turn your head in real life to see out the sides not in virtual space....

The argument that using an interactive device is cheating because it somehow gives and advantage is a load of crap IMO, must we stay using inputs designed in the 1980s?

_________________
Current System:
3x 23" Passive 3D Monitors in 3D Vision Surround, Novint Falcon, 3rd Space Gaming Vest, ButtKicker, Razer Hydra, Logitech G25.
Previous 3D Systems:
Viewsonic PJD6531w 3D DLP Projector, Vuzix VR920, 24" Alienware and 22" Samsung 3D Vision Monitors, eDimensional 3D Glasses with 19" CRT Monitor


Sun Dec 18, 2011 5:33 pm
Profile
Certif-Eyed!

Joined: Tue Jan 19, 2010 6:38 pm
Posts: 500
I agree. I wasnt saying I thought it was cheating.

As it happens, I have met plenty of people that consider using a "turtle beach" to be cheating. I'm pretty sure that is just a brand name on a slightly less crap than usual pair of headphones.

For all we are trying to make games more realistic, some people will deliberately remove imersivness if it bags them a few more kills. Others will say all the things you mentioned are cheating.

This is why I don't play multiplayer, these people are more interested in winning than enjoying the game.

_________________
"If you have a diabolical mind, the first thing that probably came to mind is that it will make an excellent trap: how do you get off a functional omni-directional treadmill?"


Sun Dec 18, 2011 6:32 pm
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
Yep, I can't stand these idiots who think that everything different to their setup is 'cheating'.
Lets face it, the biggest advantage often comes from having a better PC than everyone else, and no-one seems to be bitching about that.

As bobv5 says, most people are more interested in getting frags, than in greater realism/immersion.

I think its obviously a stupid idea on DICE's part, since as Machine points out, those with 3 monitor setups get very similar advantages to those that have TrackIR, and there are no restrictions on its use, unlike TrackIR.

@ Machine: BF3 seems a great game, but the fact that I can't get together with my friends and play without having to worry about random people jumping into our game sucks (no private server support? wtf?), and also the fact there is no real single player vs bots (unlike every previous BF) means I cannot get any practice at it without jumping onto public servers, where (and this is a pet hate of mine) the perks seem to be way more unbalanced than previous battlefields. In BF2, the perks didn't really give you that much of an advantage - it was more of a personalisation thing. Whereas in BF3, it seems unless you play a lot and unlock some decent perks, you are really at a disadvantage. It seems pretty hard to hide and snipe, when people have infrared, zoom, and uavs, all giving away your position without you even firing a shot. I really dont like this modern trend of giving better stuff to reward those who play for hours a day - its all ok if its just customization, but when its giving those who already play more genuine advantages, it seems a bit unbalanced. Add to that the fact that the helis are way less realistically handling than BF2 (which were again crapper than Desert Combat) and BF3 really hasn't grabbed me like BF2 did yet.
I do love the destructible environments, the new graphics, 3d stereoscopic support etc, however.


Sun Dec 18, 2011 9:48 pm
Profile
3D Angel Eyes (Moderator)

Joined: Fri Aug 21, 2009 9:06 pm
Posts: 1611
An easy way to keep the "cheating" down would be to only allow free-looking over the same field of view that you can get with 3 monitors. Realistically, there will be very few times when you would be pointing your gun more than 90 degrees off axis from your view.


Sun Dec 18, 2011 10:51 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
About BF3 and private servers, its almost free to rent a 24 or 32 player server, me and 6 colleagues of mine have done that and it costs me maybe a pint of beer for 6 months. The only problem is that if you password protect your server you will invalidate the servers Ranked status, which will is sad for those that have not yet unlocked everything... A solution for that is todo like we have done, keep it public but restrict the number of players so it mathces the numbers of friends playing, you might have to kick some people which will make the server unpopular in the end.

I think its stupid to call head tracking cheating, sure it gives you a small advantage, but like others have pointed out its a small advantaged compared to a fast rig.
A good advantage is to have the game installed on a SSD, you will load faster and that means you will be able to pick the best vehicles for your self before everybody else. I always get the helicopter this way :D It only works on maps that let you preselect vehicles though.

But I wouldst call 3D a cheat, as long as the games do not have proper 3D support it will be a disadvantage with 3D, at least in first person shooters, its much harder to aim in 3D because today games display the sights for both eyes. In real life you look down the scope with one eye and the other eye is used to spot enemies. And games that do not have sights and only display a cross hair are impossible. The enemy is 200 meters away and the cross is displayed at Z = 0 :D


Mon Dec 19, 2011 2:10 am
Profile
Binocular Vision CONFIRMED!

Joined: Wed Sep 01, 2010 7:58 pm
Posts: 269
@bobv5
My rant wasn't really aimed at you just furstrated at the people you were refering to, its people like that that just want to get as many frags as possible and not really find ways to enjoy the game more that are part of the reason that holds back immersive technology

@WiredEarp
I Agree with pretty much everything you said about BF3, and mostly its commercially driven, LAN modes and eventually private servers were done away with because of game piracy, if there are no private server modes to hack then you can't play a priated version multiplayer or online at all, and the unbalanced perks/upgrades in BF3 are EAs way of trying to compete with COD commercially by having a similar style perk system which is desgined on the WOW model to get you addicted to the game by offering rewards for the more time spent playing the game, this way you will probably buy every map pack that comes out etc etc, Personally I agree that older style FPS with more balanced perks/upgrades (or none at all) were much better and being good at the game came down to skill not how many hours you spent playing the game to get the good weapons!, I dislike the fact that someone with the most experience in the game has all the best weapons etc, actually I thought homefront did a fairly good job of a balanced perk/upgrade system

_________________
Current System:
3x 23" Passive 3D Monitors in 3D Vision Surround, Novint Falcon, 3rd Space Gaming Vest, ButtKicker, Razer Hydra, Logitech G25.
Previous 3D Systems:
Viewsonic PJD6531w 3D DLP Projector, Vuzix VR920, 24" Alienware and 22" Samsung 3D Vision Monitors, eDimensional 3D Glasses with 19" CRT Monitor


Mon Dec 19, 2011 4:29 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
In the end a good player with iron sight will beat the hell out of a noob with Scope.. The perks are nice, but skill still matters the most... I like BF3, the only thing I do not like is EA and their Origin crap, they should have went with Steam instead.. Battlelog is nice, but its too often a join to a server fails..


Mon Dec 19, 2011 5:42 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Got a mail today that my Playstation Eye is ready for pickup.. Sadly the TrackIr clip hasn't been delivered yet :/


Mon Dec 19, 2011 6:58 am
Profile
Certif-Eyable!

Joined: Fri Jul 08, 2011 11:47 pm
Posts: 1165
Exactly CyberVillain. So when you give those same people extra perks as well, it is a bit more discouraging for casual players who may only play 30 minutes a week...

Sure I can rent a private server (what exactly IS the price?) but I dont really want to, I mean its not like I haven't paid for the game already, or that my PC's dont have enough horsepower. Paying just to:
a: support someone elses antipiracy model
b: get a service I used to get for free (without any improvement in said service)
just rankles a bit.

The SSDthing is just another thing I can whinge about. There has been no improvement really in gameplay in this respect since the early 1942 days. There are always lots of players who grab the vehicles first (I love my SSD I do have to say ;), then once dead run to the respawn spot and spam enter. Its really high time they implemented a system whereby you suffered a delay before you could pickup the same vehicle if there was someone else in the immediate area, or a system where you had to buy your vehicles counterstrike or Tribes style.

3D could actually be considered a cheat in that you can use the 3D crosshair (which I have to say works very well these days, well, until it stuffs out after a certain amount of time) which you may not get with certain guns etc otherwise. Of course, for 2d players they can just have a mark on their screen, so I don't consider that line or argument particularly logical.


Mon Dec 19, 2011 7:49 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Yeah well, you cant design a game around the casual player can you now :D
Yeah, I also liked the day when you could have a real LAN party, the problem is though that the a private hosted server cant be ranked, and everybody that playes BF3 wants to rank ALL the time they play :D

It depends on the provider offcourse, we pay 150 dollars for 6 months for a 32 player server...

But with the depth it still takes more time to aim down the sights, if you close one eye its better, but it would be really cool if they games can start fully supporting stereoscopic modes and let us see the scope through only one eye

edit: Hmm, closing one eye wont work by the way, since there will be an alignment error... So proper stereoscopic aiming cant be achieved before the game industry starts to real support it..

WiredEarp wrote:
Exactly CyberVillain. So when you give those same people extra perks as well, it is a bit more discouraging for casual players who may only play 30 minutes a week...

Sure I can rent a private server (what exactly IS the price?) but I dont really want to, I mean its not like I haven't paid for the game already, or that my PC's dont have enough horsepower. Paying just to:
a: support someone elses antipiracy model
b: get a service I used to get for free (without any improvement in said service)
just rankles a bit.

The SSDthing is just another thing I can whinge about. There has been no improvement really in gameplay in this respect since the early 1942 days. There are always lots of players who grab the vehicles first (I love my SSD I do have to say ;), then once dead run to the respawn spot and spam enter. Its really high time they implemented a system whereby you suffered a delay before you could pickup the same vehicle if there was someone else in the immediate area, or a system where you had to buy your vehicles counterstrike or Tribes style.

3D could actually be considered a cheat in that you can use the 3D crosshair (which I have to say works very well these days, well, until it stuffs out after a certain amount of time) which you may not get with certain guns etc otherwise. Of course, for 2d players they can just have a mark on their screen, so I don't consider that line or argument particularly logical.


Mon Dec 19, 2011 8:00 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
SO far so good, the PS3 Eye has a very weak IR filter so no modding required. I just taped a floppy disk that only lets through IR light and it worked right away, I tried with a remote control because I havent recevied my TrackIr Pro Clip yet :/

By the way if you guys wanna use the PS3 Eye with free track follow this guide as it does not work out of the box

http://forum.free-track.net/index.php?showtopic=2416


Tue Dec 20, 2011 2:13 am
Profile
Sharp Eyed Eagle!

Joined: Mon Aug 09, 2010 6:08 pm
Posts: 381
Location: Houston
CyberVillain wrote:
SO far so good, the PS3 Eye has a very weak IR filter so no modding required. I just taped a floppy disk that only lets through IR light and it worked right away, I tried with a remote control because I havent recevied my TrackIr Pro Clip yet :/

By the way if you guys wanna use the PS3 Eye with free track follow this guide as it does not work out of the box

http://forum.free-track.net/index.php?showtopic=2416


Someone on avsforum said the blue LED on the HMZ can be used for FreeTrack/TrackIR.


Tue Dec 20, 2011 10:15 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
I will probably have to tape that over not to confuse the software (if its bright enough to get through my normal light filter)...
Btw, with one led you only get 2 DOF rotation and xy translation is decoded as rotation


Wed Dec 21, 2011 1:46 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
The TrackIr Clip has arrived at my local post office, will pick it up after work.. :D
I really hope this gonna rock!


Thu Dec 22, 2011 2:05 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Ok, im up and running, its not perfect, the floppy disk blocked to much IR light.. So im right now testing in a dark room with no filter.. I downloded gloviepie and it can intercept the freetrack signals using TrackIr interface..

But I have no idea on howto emulate a mouse the correct way, anyone has a gloviepie script that works? thanks


Thu Dec 22, 2011 1:13 pm
Profile
Certif-Eyed!

Joined: Tue Jan 19, 2010 6:38 pm
Posts: 500
Freetrack has built-in mouse control. In the options somewhere.

_________________
"If you have a diabolical mind, the first thing that probably came to mind is that it will make an excellent trap: how do you get off a functional omni-directional treadmill?"


Thu Dec 22, 2011 1:55 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
bobv5 wrote:
Freetrack has built-in mouse control. In the options somewhere.

Tried that but it doesnt work very well...


Thu Dec 22, 2011 3:07 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
actually it works pretty well, but its two things i dont like. first its very, very unsensetive.. I can only move the camera in game a few degrees when i move the head all the way.. Second I only want to capture the mouse when i hold down alt gr but that button cant be mapped in free track, and freetrack does not support that only capture mouse when holding down a button..

In glovepie i can do a if statemen like this

if(Keyboard.RightAlt) {
//code
}

The problem is I do not know how to emulate the freetrack mouse behavour with glovepie code


Thu Dec 22, 2011 3:34 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
This one works pretty well.. I found a VR920 script and modified it to fit my need

Just change the freelookKey to the one you use in BF3. The problem is that while the freelook key is pressed BF3 locks all other inputs so you cant control craft while freelooking :/

Code:
var.freelookKey = Keyboard.RightAlt
var.sensitivity = 20000

var.yaw = RemoveUnits(Smooth((TrackIR.Yaw), 2))/90*var.Sensitivity
var.pitch = RemoveUnits(TrackIr.Pitch)/90*var.Sensitivity

if(var.freelookKey) {
var.mx+=delta(var.yaw)
var.my-=delta(var.pitch)

if TrackIr.Pitch <= -83 then fakemouse.directinputY = -2*var.sensitivity
if TrackIr.Pitch >= 83 then fakemouse.directinputY = 2*var.sensitivity


fakemouse.DirectInputX = var.mx
fakemouse.DirectInputY = var.my
}


Thu Dec 22, 2011 7:11 pm
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
I removed the smoothing code because free track already has a low pass filter on the output and a second one only increases the output lag without increased smoothness... Also removed most of the sensitivity crap since free track has a nice output curve configurator...

Code:
var.freelookKey = Keyboard.RightAlt
var.sensitivity = 20000

var.yaw = RemoveUnits(TrackIR.Yaw)/90*var.Sensitivity
var.pitch = RemoveUnits(TrackIr.Pitch)/90*var.Sensitivity

if(var.freelookKey) {
var.mx+=delta(var.yaw)
var.my+=delta(var.pitch)



fakemouse.DirectInputX = var.mx
fakemouse.DirectInputY = var.my
}


Mon Dec 26, 2011 8:02 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
Took a little clip today when trying out my BF3 config.. It works ok, BUT, since freelook disables flight control its use are very limited :/



Thu Dec 29, 2011 7:54 am
Profile
Petrif-Eyed
User avatar

Joined: Sat Sep 17, 2011 9:23 pm
Posts: 2035
Location: Irvine, CA
Looks great. I love those silky smooth motions from optical tracking. I can't reproduce that kind of responsiveness with inertial/magnetics. Well - haven't tried the Sparkfun yet, but it looks promising. I'm going to repost my Sparkfun message over to this topic.

brantlew wrote:
"The Sparkfun looks awesome. I've been meaning to cook up a driver for the Sparkfun for bridging its signals to GlovePie. It looks like one of the best inertial/magnetic trackers around (just needs software support), and it would give everybody another tool to play with. Just trying to find the time. That effort will probably converge with my other project at some point so hopefully in Feb or March I can get to it.

PS. Unless I can source this project to someone else... Anybody interested? I can supply existing C# code for bridging commands to GlovePie. If we open-source it we can even push the code over to Carl for future native GlovePie integration.


Thu Dec 29, 2011 9:05 am
Profile
Terrif-eying the Ladies!

Joined: Mon Jun 22, 2009 8:36 am
Posts: 933
Location: Stockholm, Sweden
I would love to get my hands on the C# code to interact with Glovepie... I dont own the Sparkfun, but it looks promesing and its Cominterface looks easy enough.. If the Glovepie interface is nice and easy it wont take many hours to get 3DOF readings out of the com port and into Glovepie


Thu Dec 29, 2011 9:15 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 65 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.