Page 1 of 18

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 12:44 pm
by djdevin
Played around last night with it - pretty great!! Probably the best VR demo I have at the moment to show off since you can really play through the game. Aiming is controlled by the head with this demo but it's still fun. The tracking smoothing seems really improved as well.

I'm still having weird roll issues but I'm positive it's from TriDef 3D in SBS mode. With TriDef off it rolls fine, with it on, the screen skews in addition to rolling - really weird. Just wanted to note in case anyone else has the same issue.

Working setup:
- Hillcrest tracker mounted sideways on DIY Rift
- Bluetooth Wiimote/Nunchuk, GlovePIE through PPJoy for movement (forward, back, strafe, action buttons)
- 15 feet of HDMI/USB/headphone cables so I can move around :)

I'd definitely buy another tracker to use for separate gun movements but FreePIE integration would indeed be awesomer.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 3:42 pm
by 3dvison
djdevin wrote: Working setup:
- Hillcrest tracker mounted sideways on DIY Rift
On my Diy Rift, the Hillcreast will be mounted with the usb connector facing the rear of the HMD. When I test the Hillcrest in mouse mode, Up mves up, down moves down, left moves left, right moves right...

Will mounting the Hillcrest in this position work with this Mod or is it setup for a sideways mounting of the Hillcrest?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 3:47 pm
by djdevin
3dvison wrote:
djdevin wrote: Working setup:
- Hillcrest tracker mounted sideways on DIY Rift
On my Diy Rift, the Hillcreast will be mounted with the usb connector facing the rear of the HMD. When I test the Hillcrest in mouse mode, Up mves up, down moves down, left moves left, right moves right...

Will mounting the Hillcrest in this position work with this Mod or is it setup for a sideways mounting of the Hillcrest?
Yep that's the default position and it works out of the box.

If you need to reposition it you can recalibrate it with the Hillcrest motion studio.

It asks you to place the sensor down, record that, then angle the sensor up 90 degrees and record that. After that it knows the direction your unit is facing.

Just for anyone who needs it: http://hillcrestlabs.com/products/tools/

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 3:54 pm
by adoral84
3dvison wrote: On my Diy Rift, the Hillcreast will be mounted with the usb connector facing the rear of the HMD. When I test the Hillcrest in mouse mode, Up mves up, down moves down, left moves left, right moves right...

Will mounting the Hillcrest in this position work with this Mod or is it setup for a sideways mounting of the Hillcrest?
Yeah that should work fine, my weapon tracker is mounted the same way.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 3:59 pm
by 3dvison
GREAT..Thanks

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 9:59 pm
by djdevin
Played some more with it but noticed that any movements out of center drift back towards it. If I look up/down/roll it will drift back. Yaw is pretty much spot on. Probably from the smoothing but it's really inducing some dizziness since my vision is moving without my head.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Jan 28, 2013 10:16 pm
by adoral84
Hmm.. that's really odd. The sensor fusion does take a few seconds of input before it has enough data to properly track, during which the pitch/roll/yaw will slowly drift toward the target angle. That should only take a few seconds and is usually only an issue when the device is sitting perfectly still during the menus and level load (freespace returns timeouts when the device is totally still). Is that consistent or only when you first start it up?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Tue Jan 29, 2013 12:15 pm
by djdevin
It's consistent, my tracker is mounted sideways (but recalibrated with Motion Studio) so maybe that has something to do with it. I've tried other sensor fusion and it doesn't happen.

At work now but now I'm wondering if it's some setting in HL2 that's making it drift? Autoaim or mouse assist or something stupid I might have checked off.

I'll also be trying Vireio when I get home :)

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Tue Jan 29, 2013 1:35 pm
by adoral84
That's really odd, I've tried several tracking positions w/ multiple trackers and played waay too much :) and never seen any sort of drift on pitch or roll. If you send me your tracker's physical orientation (on the side with the usb coming out the back and the top of the board to the right etc) I'll try to reproduce what you're seeing though.

Mouse inputs only affect yaw and autoaim never really affects the viewport, only the aiming vector and crosshair so I don't think it's either of those things. It may be the sensor fusion averaging across an origin where an axis wraps but I was under the impression that quaternion based calculations didn't suffer from that.

Was this something you saw during your first run?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Wed Jan 30, 2013 8:15 am
by djdevin
Haha I believe you, it still could be something I did. I don't think I saw it before (before you had the installer) and I had it mounted the same way. Not 100% sure but I can do some more testing.

It's mounted flat on top of the goggles with the USB coming out of the right side, so yaw is the same, but roll and pitch are swapped.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Wed Jan 30, 2013 8:11 pm
by adoral84
I just finished my first extended playthrough with the weapon tracking with a proper weapon controller and wanted to share some thoughts. I purchased a top shot elite xbox 360 gun controller that I mounted the tracker on, it detects just like an xbox 360 controller (assuming you have the wireless adapter for your computer) which was nice, although the sticks are set up odd by default, the "right stick" is on the front of the gun and the left is behind the trigger but this was easy to fix in the game configuration. It's nice to get analog movement and plug and play on a decent gun controller, especially compared to my previous setup using a combination of glovepie & motioninjoy with a ps move sharpshooter and the occasional BSoD (motioninjoy).

The drift between trackers isn't too bad, but trackers with magnetometers would obviously be ideal.

I've only got one major thing left to do for the weapon tracking, I'm going to have to redo the view models quite a bit to make them really work with all the various orientations. I noticed that valve explicitly mentioned that in the topics for their GDC talk so it's not that surprising that it's a big chunk of the work. I'm just going to pull the arms off if I can't get them to work, I've found that the brain is much more forgiving about the absence of something expected than seeing something wrong (for example an arm that doesn't look like its going to actually connect with the body).

Brantlew was kind enough to share the plugin he's made for interfacing with freepie to provide tracking data so I'll start work on that this weekend which should open up a lot of options for alternative trackers. If the wiimote works well I may switch over to that myself to have one less cord, although with 15ft cables running over a hook on the ceiling it's only occasionally an issue. I also find myself using the thumbstick to turn in scenarios where you'd immediately wrap yourself up like going up stairwells etc.

Here's a link to the gun controller in case anyone is interested...

http://www.amazon.com/gp/product/B004FD ... 02_s00_i01

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Wed Jan 30, 2013 9:46 pm
by brantlew
Sorry, Wiimote inertial data not currently supported in FreePIE (only buttons). A bummer I know, just never got around to implementing it.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Thu Jan 31, 2013 8:20 pm
by adoral84
brantlew wrote:Sorry, Wiimote inertial data not currently supported in FreePIE (only buttons). A bummer I know, just never got around to implementing it.
@Brantlew - I'm sure I can work that out. What wiimote drivers were you using for the wiimote plugin? I was recently dabbling with wiiyourself and it seemed pretty good.

I fixed the gravity gun to control properly with the second tracker, it works great and turns some of the physics sections into a unique experience rather than an neck-pain inducing chore. I'm not a minecraft fan but I could see something like this working very well there. I think basically everything at this point is done aside from the viewmodels. I've been dialing back the movement speed, I just don't feel in control when circle strafing at 20 mph or whatever the default run is.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Thu Jan 31, 2013 9:20 pm
by brantlew
I was using wiimotelib, but the stable version did not yet have inertial data. There was a beta version that was supposed to support inertial and WiimotePlus data but I never took the time to mess with it.

The big problem with FreePIE is that its all written in C# which means that it's sort of awkward as a hardware interface since basically all hardware is supported through C APIs. So you have to either find managed libraries, write an extern layer, or some sort of middle-layer dll. Sometimes easy, sometimes not - but unfortunately it's almost never as easy as just downloading some open-source code and just linking it. Thus we have some spotty support right now.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Thu Jan 31, 2013 9:29 pm
by cybereality
I have some experience with WiiYourself and it was a real hit-or-miss. For basic Wiimote stuff it was OK, however it didn't work very well with the newer Motion+ Inside remotes. I ended up finding code on the mailing list and hacking some stuff up myself. But even then it was unstable, sometimes it would work and then stop working randomly. And you really need the Motion+ if you want the best tracking.

Its C++, but if you want the code, I can post it. Could be a good starting point to see what you need to do.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Fri Feb 01, 2013 7:26 am
by adoral84
cybereality wrote:Its C++, but if you want the code, I can post it. Could be a good starting point to see what you need to do.
That'd be great, I've got an older wiimote with a motion plus extension (whatever they called it) as well as one of the newer motion+ inside versions. I was never able to get the latter to work at all so it sounds like your code if beyond anything I've tried at this point.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Fri Feb 01, 2013 6:44 pm
by djdevin
adoral84 wrote:That's really odd, I've tried several tracking positions w/ multiple trackers and played waay too much :) and never seen any sort of drift on pitch or roll. If you send me your tracker's physical orientation (on the side with the usb coming out the back and the top of the board to the right etc) I'll try to reproduce what you're seeing though.

Mouse inputs only affect yaw and autoaim never really affects the viewport, only the aiming vector and crosshair so I don't think it's either of those things. It may be the sensor fusion averaging across an origin where an axis wraps but I was under the impression that quaternion based calculations didn't suffer from that.

Was this something you saw during your first run?
My bad, I still had the 250hz firmware installed when I was doing some experimenting. :oops:

Fixed!

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Fri Feb 01, 2013 7:35 pm
by adoral84
Ah, nice, I'll patch in a console command so you can adjust the sensor fusion to work with 250hz, glad to hear it's working though. How did the virieo drivers work out?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Fri Feb 01, 2013 9:56 pm
by djdevin
With Virieo, 3D works fine, but I had a problem with the tracker I posted in the release thread. Cyber said something about the event queue being overloaded. I think they said something about it needing to be in another thread so it doesn't block anything.

Mod works great and can't wait to test with independent gun movement even if it means dropping another buck on another tracker. The game is really playable (and enjoyable ;) ) even just using the Wiimote for forward/back/strafe/buttons and looks great on my DIY rift with DDD. I had a few guinea pigs try it and it's really easy to get into the game and play through it.

Question for you though, does your fusion have to change because it's 250hz? Or do you just set a new sample rate?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sat Feb 02, 2013 2:36 am
by Jose
Hello adoral84

Thanks for posting this mod. I just played through the map where you defend Alyx in the ant lion tunnels using turrets. It was really fun! I'm using a DIY rift with vireio for warping and hillcrest tracker with the 250hz firmware.

Horizontal rotation seems too sensitive. I can turn my head a little over 90 degrees in one direction, but Gordon ends up doing a full 180 degree rotation. Is there a way to adjust this?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sat Feb 02, 2013 5:49 am
by BOLL
This looks greatcakeawesomepie! :woot

Actually the first S3D-experience to really hook me was HL2 with nVidia 3D-vision, sadly it was with a screen that showed a pile of ghosting top and bottom, as well as the hud being rendered just flat including the crosshair. Still, just with depth the immersion got crazy, on a monitor. With head tracking, separate weapon tracking and S3D I'm sure to fill up a couple of pants, looking forward to this come March-May sometime, eh! :D

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sat Feb 02, 2013 7:04 am
by adoral84
Jose wrote:Hello adoral84

Thanks for posting this mod. I just played through the map where you defend Alyx in the ant lion tunnels using turrets. It was really fun! I'm using a DIY rift with vireio for warping and hillcrest tracker with the 250hz firmware.

Horizontal rotation seems too sensitive. I can turn my head a little over 90 degrees in one direction, but Gordon ends up doing a full 180 degree rotation. Is there a way to adjust this?
Glad to hear it worked well for you. I'm jealous that you have a functional DIY, I tried 3 lvds boards and they all went died within ~10 minutes of powering up so I've got a partially assembled one sitting off to the side that I haven't been able to use. Does the head roll work alright with vireio, I believe there were some issues with other stereo drivers and the source engine where each eye rotates about it's own axis in the center of it's screen.

All the tracking including yaw are one to one, but given that you're the first person to use the vireio drivers here's a likely reason. Vireio provides mouse emulation from what I've read, and if that's not disabled somehow your essentially getting the real head tracking yaw updates + the mouse emulation ones. I do allow mouse input to turn the player as well as the gamepad right stick so you can turn around without physically turning in circles. I don't know if vireio has an option to shut off mouse emulation but if not I can add a switch to turn off mouse input.

I'm surprised that the 250hz firmware was working for you, it caused issues for djdevin but I had planned to add proper support for it this weekend.
BOLL wrote:This looks greatcakeawesomepie! :woot

Actually the first S3D-experience to really hook me was HL2 with nVidia 3D-vision, sadly it was with a screen that showed a pile of ghosting top and bottom, as well as the hud being rendered just flat including the crosshair. Still, just with depth the immersion got crazy, on a monitor. With head tracking, separate weapon tracking and S3D I'm sure to fill up a couple of pants, looking forward to this come March-May sometime, eh! :D
Ha, yeah similar experience for me too. And I remember thinking when I got my HMZ a year ago that we had achieved the ultimate VR solution, it's pretty amazing to see how fast things accelerated over the last year. By the time the rifts ship I'd like to have a relatively cheap/simple solution for the weapon tracking that all in is under $100. Right now the gun I'm using was ~40 but the hillcrest tracker is a bit pricey.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sat Feb 02, 2013 11:36 pm
by adoral84
djdevin wrote:Mod works great and can't wait to test with independent gun movement even if it means dropping another buck on another tracker. The game is really playable (and enjoyable ;) ) even just using the Wiimote for forward/back/strafe/buttons and looks great on my DIY rift with DDD. I had a few guinea pigs try it and it's really easy to get into the game and play through it.

Question for you though, does your fusion have to change because it's 250hz? Or do you just set a new sample rate?
Awesome, glad your enjoying it. I'm going to be posting more videos tomorrow and an update with all the latest gun tracking stuff. I originally just had a constant defined for the sample rate, it's now a setting you can adjust via the game config or console in the version I'll release tomorrow. The independent gun tracking is really coming together, it now passes my test of being natural enough to feel like a major advantage over just head tracking now that I have the controller mapped in a reasonable way.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 1:35 am
by BillRoeske
Jose wrote:[...] Thanks for posting this mod. I just played through the map where you defend Alyx in the ant lion tunnels using turrets. It was really fun! I'm using a DIY rift with vireio for warping and hillcrest tracker with the 250hz firmware. [...]
It's pretty fantastic to see the various gears that have been in motion for the past (less than a) year starting to click together like this.

Nice job on the mod, adoral! I'll certainly give it a spin once my Rift dev kit arrives. In the mean time, though, I'm enjoying the thread and look forward to the new videos. :)

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 4:44 am
by 3dvison
adoral84,
What do you think of this gun/tracker (Link Below)

Talked about in this thread.
http://www.mtbs3d.com/phpBB/viewtopic.php?f=120&t=15708
GUN:
http://www.amazon.com/Wireless-Inductio ... rds=mag+II

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 12:20 pm
by adoral84
I just posted a new video of the mod mostly focused on combat using the independent head and weapon tracking. I did include a few scenes with an overlay of me controlling it although I was never quite able to get them entirely synced.

[youtube-hd]http://www.youtube.com/watch?v=5H2rL-lBxRs[/youtube-hd]
3dvison wrote:adoral84,
What do you think of this gun/tracker (Link Below)

Talked about in this thread.
http://www.mtbs3d.com/phpBB/viewtopic.php?f=120&t=15708
GUN:
http://www.amazon.com/Wireless-Inductio ... rds=mag+II
I was considering the mag II, it looks really well built but two things made me decide to try the top shot elite, the price (I'd like this to be accessible for a broader group) and the fact that the mag II seems to have only one thumbstick. Having the extra thumbstick on the back of the trigger handle is really useful as I can use it to add additional yaw without tangling myself up. Everything will work with the Mag II though, you just won't have the extra analog turn ability.

Actually, if they've actually released (or someone hacked together) an api I could probably use the sensors built in for the tracking which would be pretty awesome (I'm assuming it has both a gyro and accelerometer). That's something I should definitely look into as that'd essentially give you a plug and play solution with nothing required but the rift and the gun...

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 12:44 pm
by donkaradiablo
adoral84 wrote: - 3 DOF true headtracking (not mouse emulation) + a head/neck model for some basic translation
- Transparent HUD that fades in when relevant information changes (taking damage, reloading etc)
- You can lower your gun ("use" key can toggle it as well as many of the actions like sprinting, picking up items, etc) because constantly having a gun in your face (when you aren't fighting) is an immersion killer... This also hides the crosshairs so there's effectively no HUD
- Removed all head kicks from both user weapons and enemy attacks (like getting hit in the face with a CP baton)
- Full support for custom tracker orientation
- support for gamepad / mouse turning in addition to the tracker yaw
- an installer (**when selecting the installation directory, point it to you "Steam" folder)
- independent 360 degree weapon tracking with a second tracker
- custom sensor fusion for hillcrest (the out of the box one is awful)
This is just great man. Really great.
Now I'll have to buy a second tracker when I get my Rift :)

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 1:53 pm
by 3dvison
Hi adoral84,
Is it still Hillcrest trackers only or did you get that multi tracker code working ?

Video looks great...and fun..

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 3:24 pm
by adoral84
3dvison wrote: Is it still Hillcrest trackers only or did you get that multi tracker code working ?
Still the hillcrest trackers, I got sidetracked working on cleaning up game breaking missing scenes, setting up the code for the new more accurate view model placement and made some adjustments to make the tracking faster. Given that the wiimote isn't returning orientation data in the Freepie plugin it's not going to be quite as straight forward as I'd hoped :/ If I get some code from Cyber that is more consistent than what I've been able to get from wiiyourself it shouldn't take long.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 5:31 pm
by 3dvison
One last quick question adoral84,

The gun you have, it has a sensor bar for tracking correct, are you using it, or are you just using it like a normal 360 controller with a Hillcrest attached to it, without the use of the sensor bar ?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 5:40 pm
by adoral84
3dvison wrote: The gun you have, it has a sensor bar for tracking correct, are you using it, or are you just using it like a normal 360 controller with a Hillcrest attached to it, without the use of the sensor bar ?
I'm just using the hillcrest mounted to the gun since I'm turning around all the time. I've seen some guys use a stationary sensor bar with a wii in a 360 setup to provide additional calibration data whenever possible, but it hasn't been necessary.

I'm actually looking into doing some simple optical tracking (position only, probably top down to reduce occlusion) using a PS3 eye camera, initially to track head translations but once that's sorted out I want to do weapon position tracking as well. If anyone has experience on something like this I'd love some pointers.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 6:12 pm
by Fredz
adoral84 wrote:I'm actually looking into doing some simple optical tracking (position only, probably top down to reduce occlusion) using a PS3 eye camera, initially to track head translations but once that's sorted out I want to do weapon position tracking as well. If anyone has experience on something like this I'd love some pointers.
If you want to track a PS Move with your PS Eye you may have a look here : http://thp.io/2010/psmove/
I've used it and it worked very well for positional tracking, not so much for rotational tracking, very noisy results not really adequate for head tracking.

If you want to use it as a weapon you may also have a look at the PS Move sharp shooter accessory : http://us.playstation.com/ps3/accessori ... r-ps3.html

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 6:29 pm
by adoral84
Fredz wrote:If you want to track a PS Move with your PS Eye you may have a look here : http://thp.io/2010/psmove/
I've used it and it worked very well for positional tracking, not so much for rotational tracking, very noisy results not really adequate for head tracking.

If you want to use it as a weapon you may also have a look at the PS Move sharp shooter accessory : http://us.playstation.com/ps3/accessori ... r-ps3.html
Great, thanks for the pointers Fredz. I have a sharpshooter, but motioninjoy was giving me fits (bluescreening when activating the navigator). The physical device is excellent though, especially if I end up doing optical tracking. The PS Move API looked like the best option from the bit of digging I did but it seemed like windows support might be limited, did you have any issues or were you doing mac/linux development?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 7:01 pm
by Fredz
I was doing Linux development, you can see how it looked like here :
http://www.mtbs3d.com/phpbb/viewtopic.php?f=140&t=15994

Support for Windows hasn't been very good, but it's only related to the subpar bluetooth stack implementation on this system which prevents reliable pairing, but the library in itself seems to work without a problem on this system.

Some people have already succeeded in pairing under Windows, and when it works once the controller connects correctly every time. Have a look at the "Windows status" section on this page for an explanation about how to correct pairing issues : http://thp.io/2010/psmove/old_index.html

Also, if you only intend to use positional tracking I guess it won't be a problem since it won't rely on the bluetooth connection. It could also serve as a starting code base if you want to implement positional tracking yourself.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 11:13 pm
by Jose
... I tried 3 lvds boards and they all went died within ~10 minutes of powering up so I've got a partially assembled one sitting off to the side that I haven't been able to use ...
Did you use the same AC adapter on all 3 boards? On my diy rift (5.6 inch screen, HDMI and VGA board), I was originally using a brick-style AC adapter with the output as 12V 4A max, but some of the components were getting really hot, so I switched it to a PowerLine Universal AC Adapter set to 9V 600mA.
All the tracking including yaw are one to one, but given that you're the first person to use the vireio drivers here's a likely reason. Vireio provides mouse emulation from what I've read, and if that's not disabled somehow your essentially getting the real head tracking yaw updates + the mouse emulation ones. I do allow mouse input to turn the player as well as the gamepad right stick so you can turn around without physically turning in circles. I don't know if vireio has an option to shut off mouse emulation but if not I can add a switch to turn off mouse input.
I had vireio's tracking disabled. With the 250hz hillcrest, all tracking was 2:1. And when looking 90 degrees up or down, the camera would slowly drift back to the horizon. I've since downgraded the firmware back to stock 125hz, and now all tracking is 1:1 and working normally.
I'm surprised that the 250hz firmware was working for you, it caused issues for djdevin but I had planned to add proper support for it this weekend.
Can't wait to try it.

I've been playing a lot of Doom 3 BFG with tmek's tracking code. But the entire game is dark bloody corridors and hell themed levels. And no one's written a guide on how to load custom maps on it.

Most of the hl2 maps that I've found on gamebanana have worked very well with hl2vr. Buggy/jeep maps are really fun (and kinda nauseating when the buggy flips over) because the cockpit view and the head tracking is independent from the vehicle direction. There's a small problem though when accelerating in the buggy, the camera view gets auto "corrected" to face forward, even if my intention is to look outside the driver side window.

I also spent time noclipping around a minecraft themed map, which is really interesting because it gives me an idea of what VR minecraft can potentially look like.

Image

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 11:25 pm
by 3dvison
Jose wrote:
I've been playing a lot of Doom 3 BFG with tmek's tracking code.
Hi Jose, can I get that code ? Also, is there a how to guide somwhere in the forum, on getting Doom 3 BFG up and running on a DIY Rift with a Hillcrest tracker ?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Sun Feb 03, 2013 11:42 pm
by adoral84
Jose wrote:
... I tried 3 lvds boards and they all went died within ~10 minutes of powering up so I've got a partially assembled one sitting off to the side that I haven't been able to use ...
Did you use the same AC adapter on all 3 boards? On my diy rift (5.6 inch screen, HDMI and VGA board), I was originally using a brick-style AC adapter with the output as 12V 4A max, but some of the components were getting really hot, so I switched it to a PowerLine Universal AC Adapter set to 9V 600mA.

...

I've been playing a lot of Doom 3 BFG with tmek's tracking code. But the entire game is dark bloody corridors and hell themed levels. And no one's written a guide on how to load custom maps on it.

Most of the hl2 maps that I've found on gamebanana have worked very well with hl2vr. Buggy/jeep maps are really fun (and kinda nauseating when the buggy flips over) because the cockpit view and the head tracking is independent from the vehicle direction. There's a small problem though when accelerating in the buggy, the camera view gets auto "corrected" to face forward, even if my intention is to look outside the driver side window.

I also spent time noclipping around a minecraft themed map, which is really interesting because it gives me an idea of what VR minecraft can potentially look like.
Thanks for the pointers, I used a couple of different power adapters for the DIY rifts but they were both 12v and I think 3-4a. I'll order another pair (I have all the parts for 2 aside from the controller boards) and try them with 9V 600mA.

That minecraft map is really cool, I was planning on really highlighting the gravity gun (it's probably the most unique experience w/ separate weapon tracking) in my next video and was actually looking for a minecraft map to use. Not a big minecraft player myself but I could see it being a great early candidate for vr.

I personally think Doom 3 is great but it's definitely all sort of the same thing and not something everyone will want to spend too much vr time in. There's no way I could convince my wife to try doom 3 with this setup but she really enjoyed wandering around eli's lab in HL2.

I'll check out the buggy issues, I haven't done any work directly on it so I'm glad it works at all.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Feb 04, 2013 2:24 am
by Dakor
Well done so far!
I'll definitely Mention this on my Oculus Blog today (sry it's german).

I'm wondering if this works together with the Cinematic Mod by Fake factory?
I think that will/would look awesome. :mrgreen:

And.. is it possible to convert this Mod to work with other Source games (E.g.. L4D, G-mod, Portal 1/2)? Or is the method you do this very Half life specific?

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Feb 04, 2013 7:25 am
by adoral84
Dakor wrote:Well done so far!
I'll definitely Mention this on my Oculus Blog today (sry it's german).

I'm wondering if this works together with the Cinematic Mod by Fake factory?
I think that will/would look awesome. :mrgreen:

And.. is it possible to convert this Mod to work with other Source games (E.g.. L4D, G-mod, Portal 1/2)? Or is the method you do this very Half life specific?
Awesome, thanks Dakor, people seem to have a generally positive reaction to it so far.

The method I'm using isn't specific to HL2 but most of those mods are on different versions of the source engine than the latest one valve has released openly (which was around 2007 with the orange box). I would absolutely love to have something like this in L4D (& 2), it wouldn't take long at all to integrate if I had access to the L4D code but I doubt that'll happen. The same issue exists with portal and counterstrike. Honestly I hope that if enough people are into this valve will do an official integration with all their games.

And as far as I know the Cinematic Mod content should work fine with the mod if you know how to move the files from one mod to the other (you could probably just replace the CM mod's bin folder with my mod's and play it in their mod). That assumes they didn't do any custom coding specific to CM but I think it's all just texture, scene, and map updates.

Re: Half-Life 2 VR mod with head tracking (download now)

Posted: Mon Feb 04, 2013 8:45 pm
by Bretspot
I installed this but i cant find it to run it now that it's installed. Did I do something wrong? I don't see it in my games list or on steam.