Cyber's DIY Stereo Driver [Work Log]

Tutorials on how to create your own rigs, pics, movies, and everything that has to do with S-3D at home!
Post Reply
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@rajveer: There are still issues with clipping, but I think they may be solved by adjusting FOV within the game console. Still have to test this out though.

@Fredz: Thanks! From what I can tell True Combat is based on the Quake III engine (OpenGL) so it won't work with my driver unfortunately. Though I may want to try it anyway in 2D since it looks so cool.
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Cyber's DIY Stereo Driver [Work Log]

Post by CyberVillain »

Another game that would be cool that has freelook with translation is Arma2. You would need to use optical tracking though.
rajveer
One Eyed Hopeful
Posts: 48
Joined: Mon Dec 12, 2011 5:44 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by rajveer »

Yeah I was wondering why setting the FOV to 90 (for games that allow it) and setting the correct aspect ratio wouldn't get the right frustum that we need, but I suppose not all games support custom resolution to be able to get that aspect ratio in the first place (especially portrait resolutions).

Will your driver also support other headtracker APIs (Freetrack/TrackIR) so that we can interface with existing games without having to use mouse emulation?
User avatar
brantlew
Petrif-Eyed
Posts: 2221
Joined: Sat Sep 17, 2011 9:23 pm
Location: Menlo Park, CA

Re: Cyber's DIY Stereo Driver [Work Log]

Post by brantlew »

Looking good cyber.
Alkapwn
Cross Eyed!
Posts: 171
Joined: Thu Jun 07, 2012 9:28 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by Alkapwn »

@cyber
Is there any way, via a screengrab, that you'd be able to show the final resolution that these games would display once on the Rift? I'm really curious to see what the final rendered resolution will be.

Keep up the good work! And again, if you setup a donation page once the driver is done, I'm sure people would donate to the time you've spent. I know I would.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@Alkapwn: That image of HL2 is pretty close to actual resolution for the Rift. Its at 720P (1280x720) and the rift is 1280x800, so on the Rift the image will be a little taller, but its close enough.

In terms of donations: I am considering turning this into a commercial product. However the initial version for the Rift will be heavily discounted.
Alkapwn
Cross Eyed!
Posts: 171
Joined: Thu Jun 07, 2012 9:28 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by Alkapwn »

@cyber Sweet deal! Count me in!

This doesn't seem to be as bad as the Crysis photo print test thing was. Though not sure if the two are comparable as I believe his was trying to factor view through the Rift with the high FOV. Do you think the HUD will be readable once the warping is applied and it's wrapped around the large FOV?

Sidenote, CANNOT wait to play Mirror's Edge, and get everyone I know or don't know to test the Rift out. I can't stop talking about how awesome this device will be and how game changing it's going to be for the FPS market. And can't wait to see what people do with things like RTS's and other innovative games.

Keep up the good work!

One more thing I've been thinking about. If Valve and these other studios seem to be on board with the Rift, would them releasing Rift Ready updates/patches negate the work you and brantlew and Emerson are doing? I'd hate to see you guys spend all this time and effort, and then have Valve and others be like, "Oh hey, here's the Rift patch".

Doh! Knew if I named people I'd miss somebody.
Last edited by Alkapwn on Tue Jul 31, 2012 12:49 am, edited 1 time in total.
User avatar
brantlew
Petrif-Eyed
Posts: 2221
Joined: Sat Sep 17, 2011 9:23 pm
Location: Menlo Park, CA

Re: Cyber's DIY Stereo Driver [Work Log]

Post by brantlew »

I sure hope Valve offers native support. Bethesday too. I'm sure Cyber and Emerson wouldn't cry too much if their work was negated - they would be too busy playing :D Besides, either way - it was a learning experience and the knowledge will just transfer to 100 other games that don't get native support. I hope Palmer and Co. spill the beans a little about the Rift SDK this weekend. That may change everything - and next week we may all be whipping up some other type of software support.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

I know Valve has some interest but who knows what will come of that. They could be adding support to upcoming games only, developing their own hardware, or any number of things that don't involve existing titles like HL2 or L4D. Anyway, eventually I will be supporting other games and I don't imagine all those developers will go back and create patches. Also, Mirror's Edge is one of my favorite games and is the next title I will be adding support for (and hopefully that will enable other Unreal games like UT3).
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

So I spent the weekend trying to get Mirror's Edge to work. Its somewhat working now, aside from a few issues. Namely that transparent objects are visible through solid objects, and they also are oddly doubled between the eyes. This seems to be something with the Unreal engine, because I see the same behavior in UT3. I probably need a way to just turn these objects off or something. Will look into this more.
MirrorsEdge.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
brantlew
Petrif-Eyed
Posts: 2221
Joined: Sat Sep 17, 2011 9:23 pm
Location: Menlo Park, CA

Re: Cyber's DIY Stereo Driver [Work Log]

Post by brantlew »

Looks cool. I gotta say though - after checking out the Rift I think Mirrors Edge might actually give you a heart attack if you played it like that. ;)
Alkapwn
Cross Eyed!
Posts: 171
Joined: Thu Jun 07, 2012 9:28 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by Alkapwn »

cybereality wrote:So I spent the weekend trying to get Mirror's Edge to work. Its somewhat working now, aside from a few issues. Namely that transparent objects are visible through solid objects, and they also are oddly doubled between the eyes. This seems to be something with the Unreal engine, because I see the same behavior in UT3. I probably need a way to just turn these objects off or something. Will look into this more.
MirrorsEdge.jpg
I'm not too sure what the equivalent of drooling to the mouth, would be to the eyes, but I think mine are doing just that.

DOOM 3 BFG + Cyber's Mirror's Edge = #WorthIt
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

Wow! The progress is looking great here Cyber. The only flaw I can see in that Mirrors Edge image is the steam coming from the vent in the distance behind the big blue sign on the building on the right of the image appears to be drawn at the wrong depth.
Like the transparent objects, you might have to just turn it off?
artox
Cross Eyed!
Posts: 196
Joined: Mon May 07, 2007 2:05 pm
Location: between dimensions

Re: Cyber's DIY Stereo Driver [Work Log]

Post by artox »

Great work, Cyber, I knew that eventually a forum member with mad coding skills will do something like that. Being a big fan of Mirror's Edge too I can't wait to see what you'll accomplish :)
As for the Rift...I guess this is what we've all been waiting for, the thing that can't be accomplished by pushing the separation to extremes or simply sitting closer to the tv. Too bad I'll be waiting for the consumer version, which means that sadly I won't be able to check it out soon, but on the plus side I bet that your driver will be pretty polished by then ;)
illkillu1a
One Eyed Hopeful
Posts: 1
Joined: Tue Aug 07, 2012 7:24 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by illkillu1a »

can you work on Team fortress 2 next? id like to play that with the Oculus rift
hammerbot
Two Eyed Hopeful
Posts: 58
Joined: Tue Aug 07, 2012 7:12 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by hammerbot »

You can also try out Arma2 because it has a freelook. Arma2 has a super popular mod called DayZ that surpassed 1 million unique players today. So i think that supporting that game would be a huge benefactor for your drivers and rift.
http://www.pcgamer.com/2012/08/07/dayz- ... n-players/
WiredEarp
Golden Eyed Wiseman! (or woman!)
Posts: 1498
Joined: Fri Jul 08, 2011 11:47 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by WiredEarp »

DayZ is pretty awesome really. Its the only shooter i've ever played that makes me actually nervous to do stuff. Sometimes its like that sniper scene in The Hurt Locker where they wait for hours after shooting someone just to make sure hes actually dead. Its nice since so many games nowadays have so much hand holding and lack of penalties for death etc, to appeal to everyone and make it easy to progress, whereas DayZ is more about difficulty/risk/reward.

The best way I can describe it is that most FPS's (like BF3) are like the movie 'Aliens'. DayZ is like the movie 'Alien'. Half of the fun comes from the stress/uncertainty of just when someone will open up on you, potentially terminating your entire character.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@illkillu1a: TF2 might actually work, since all the Source games I've tried seem to work. However this driver would very easily get detected as a hack, so I would NOT recommend playing with this online. Maybe if you play on non-VAC, non-Punkbuster servers or something then it would be OK.

@hammerbot: I will check out Arma2. Never got to play it, and that DayZ game sounds like fun.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

Mirror's Edge is now fully working.
MirrorsEdge2.jpg
Also got UT3 mostly working except one annoying bug that makes it choppy sometimes. Still somewhat playable. Gonna try some other Unreal games and see if they work.

Maybe do Bioshock next. Any requests?
You do not have the required permissions to view the files attached to this post.
mrfahrenheit94
One Eyed Hopeful
Posts: 10
Joined: Tue Jun 21, 2011 8:46 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by mrfahrenheit94 »

I second hammerbot's suggestion of DayZ/ArmA II mainly because of it being an awesome game and secondly because it does have independent head looking and gun aiming integrated into the game so you don't have to work on that like you did with left 4 dead (which might I add is so incredibly awesome that you managed to control camera movement independent of where the gun is aiming). This would be a mind blowing experience, of course next to leaping from building to building in Mirror's Edge :)

Also, is there any way that we, the members, can try out your driver? I read that you may have plans on commercializing the driver, which is great, but I'd love to try it out just for fun.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@mrfahrenheit94: Ok, I will take a look at Arma II tomorrow. Unfortunately I don't think I will be releasing anything until its ready. Mainly because this is going to be a commercial product, and also because some things are not finished yet. With the way things are currently set up it will be difficult to make a trial/demo version, so I may just have no demo, but some sort of money-back guarantee. None of this is really final yet, but that's what I am thinking.
rajveer
One Eyed Hopeful
Posts: 48
Joined: Mon Dec 12, 2011 5:44 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by rajveer »

Since you've got Mirror's Edge working, could a similar approach be used for other Unreal Engine games? I'm thinking Tribes Ascend, playing that as a pathfinder in the Rift would be insane (mouse emulation would probably be best off with it since it's so fast, but the Rift's high FOV and 3D would still be awesome).

Also Crysis Wars, so I can play MechWarrior: Living Legends ;)
User avatar
Chriky
Binocular Vision CONFIRMED!
Posts: 228
Joined: Fri Jan 27, 2012 11:24 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by Chriky »

A version with full functionality that cuts out after five minutes shouldn't be too hard right, as a demo?
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@rajveer: I figured other Unreal games would work (at least UT3 does mostly) but I attempted Bioshock and it has a lot of problems. So it still seems each game will need some custom work.

@Chriky: Yeah, I could probably do something like that. I just want to make sure I am spending most of my time adding support for games and not spending it with copy-protection/DRM. But I guess I have til around Nov/Dec to have things finished so I should be able to figure out something.
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

cybereality wrote:@rajveer: I figured other Unreal games would work (at least UT3 does mostly) but I attempted Bioshock and it has a lot of problems. So it still seems each game will need some custom work.

@Chriky: Yeah, I could probably do something like that. I just want to make sure I am spending most of my time adding support for games and not spending it with copy-protection/DRM. But I guess I have til around Nov/Dec to have things finished so I should be able to figure out something.
Shame to hear about Bioshock. One of my favorite games ever!
How much work do you think it'll be to get it working?
If it's not a rude question, what sort of price point are you aiming for once complete? Are you looking at an upfront cost + additional fee for each game? I just think that it could be good in terms of keeping it viable after release if you have some income for your after release efforts. It would be better for both you and customers if their initial investment can continue to be usable for many future games... assuming they don't all start including native support.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

@android78: I want to have a price-point that is competitive with other similar products out there, so probably around $50 give or take. I was thinking that would cover all updates for a given release number (i.e 1.x numbered releases). And then when a 2.0 version came out, I could give existing users a discount to upgrade. But I think that is a while down the line, once I have support for a lot more titles.

And, yes, I do want to get Bioshock working so I will continue to investigate this.
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

Awesome! :D Probably a good way to go with the pricing.
bobv5
Certif-Eyed!
Posts: 529
Joined: Tue Jan 19, 2010 6:38 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by bobv5 »

With your driver, will it be possible to have HMD roll mapped to your hacked game camera roll, and pitch/yaw mapped to (wiimote acting like a) mouse ?
"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?"
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

bobv5 wrote:With your driver, will it be possible to have HMD roll mapped to your hacked game camera roll, and pitch/yaw mapped to (wiimote acting like a) mouse ?
Yes, that would be possible. Not sure I can have Wiimote support by launch, but you could use my driver for just the roll and then another software (GlovePIE, FreePIE) to handle the Wiimote.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

L4D_RedCyan.jpg
I've added a number of new display modes for the driver: anaglyph and all the major frame-compatible modes.

So what is supported now:

  • Side-by-Side w/ Warping (RIFT)
    Side-by-Side
    Over-Under
    Horizontal Interleave
    Vertical Interleave
    Checkerboard
    Anaglyph - Red/Cyan
    Anaglyph - Red/Cyan - Grayscale
    Anaglyph - Yellow/Blue
    Anaglyph - Yellow/Blue - Grayscale
    Anaglyph - Green/Magenta
    Anaglyph - Green/Magenta - Grayscale
You do not have the required permissions to view the files attached to this post.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

Been working on Bioshock this whole weekend. Got something about 80% working.
Bioshock.jpg
The main thing broken is smoke effects and stuff like that. They only render in one eye. Otherwise it looks OK.
You do not have the required permissions to view the files attached to this post.
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

Awesome work there, but it seems out of proportion - stretched vertically. Do you think you'll have to turn the smoke effects off, or will they be fixable?
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

android78 wrote:Awesome work there, but it seems out of proportion - stretched vertically. Do you think you'll have to turn the smoke effects off, or will they be fixable?
Well the Bioshock image is from a SBS mode that would work on an HDTV, its supposed to be squished. This is not the Rift mode, I am just using it for testing.

I am hoping the smoke stuff can be fixed, will need to spend more time with it.
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

Sorry, all cool then. :) For some reason I thought you were doing these for the rift.
divide
Two Eyed Hopeful
Posts: 54
Joined: Sat Jan 09, 2010 9:40 am
Location: Paris
Contact:

Re: Cyber's DIY Stereo Driver [Work Log]

Post by divide »

Please add support for Crysis/Crysis 2 ! (Crysis 2 may be easier since they already have builtin stereo code).
User avatar
android78
Certif-Eyable!
Posts: 990
Joined: Sat Dec 22, 2007 3:38 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by android78 »

divide wrote:Please add support for Crysis/Crysis 2 ! (Crysis 2 may be easier since they already have builtin stereo code).
I'm not sure about crysis 2 being easier because they have inbuilt stereo code. If the PC version is like the xbox or ps3 version, then they are using some tricks to generate the second view that would be more restrictive then helpful. If the PC version does use this, then I think you'd probably have to throw it all out and use the full custom driver for the entire thing. At least, they should be rendering effects at the correct depth though, I guess.
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Cyber's DIY Stereo Driver [Work Log]

Post by cybereality »

Yes, Crysis 1+2 are on my list of games I want to get supported.

If only because when the inevitable question arises about the Rift: "But does it run Crysis", we can say "Yes!".
User avatar
brantlew
Petrif-Eyed
Posts: 2221
Joined: Sat Sep 17, 2011 9:23 pm
Location: Menlo Park, CA

Re: Cyber's DIY Stereo Driver [Work Log]

Post by brantlew »

Since you've already added roll, have you considered adding head translation offsets? This would be distinct from moving the character's body position. It would essentially be a limited radius around the central character position (the hips) that you could adjust the camera position. So a 6DOF device could be used for subtle head motions and leaning or bending.
User avatar
Chriky
Binocular Vision CONFIRMED!
Posts: 228
Joined: Fri Jan 27, 2012 11:24 am

Re: Cyber's DIY Stereo Driver [Work Log]

Post by Chriky »

I think it has that brantlew, its how the stereoscopic effect works. In one of the early videos it shows the camera moving sideways away from the gun which stays at the player location.
artox
Cross Eyed!
Posts: 196
Joined: Mon May 07, 2007 2:05 pm
Location: between dimensions

Re: Cyber's DIY Stereo Driver [Work Log]

Post by artox »

Cyber, as long as we can install the driver after a hardware upgrade or os re-install and license it locally I'm all for that price point :)
The idiotic licensing scheme that DDD have is the only thing stopping me from getting their driver. If you buy something you should own it.
Post Reply

Return to “Do it Yourself!”