3D Depth Map Based Stereoscopic Shader

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #501 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

Proxish wrote:

BlueSkyKnight wrote: Some of the solder points is weak and when I move the screen goes black or changes colors.

So, when it comes to the HDK, are you sure it's solder as it sounds like it might be this issue.
www.reddit.com/r/OSVR/comments/4zrha0/osvr_screen_black/
And this is the fix that person used.
imgur.com/3qxdmu8


No it's the cable solder point I know this because I took it apart. I want to fix it my self but, that attachment part way to small for me to fix it by hand. I also know it's part because I am able to fix it for a little bit by pinching it. So one of the contacts was not soldered down well.

The first HMD 1.3 was not a well made product.

Please Log in or Create an account to join the conversation.

  • nieda113
More
8 years 11 months ago - 8 years 11 months ago #502 by nieda113 Replied by nieda113 on topic 3D Depth Map Based Stereoscopic Shader
Hi, where do i find the "alternate depthmap "from above?
Last edit: 8 years 11 months ago by nieda113.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #503 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

nieda113 wrote: Hi, where do i find the "alternate depthmap "from above?



It's just depth map 26.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago - 8 years 11 months ago #504 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader
InfiniteColor for TriOvis Inficolors 3D support.

Yes I know the spelling is off since this is not Exactly the same as TriOviz's "Inficolor 3D," 3D system. But, it works with it.

It was not easy to add this since I had to figure out the color code by
eye. I know I'm off but atleast it works now. Works best in Dark Games.
Not so good in game like BorderLands 2. Ok in games like DarkSouls and Batman.

Has limited Depth and Convergence are also preset. This had to be done so this system will work.

update already on Github.

Also added Convergence This is also limited you can override it. But, I don advise doing that.

I am also planning on spliting up my shader. In to 3 different ones.

One just for anaglyph type glasses, one for HMD, and the normal one that we already have.

This will allow me to clean up the code a bit.
Last edit: 8 years 11 months ago by BlueSkyKnight.

Please Log in or Create an account to join the conversation.

  • x8009
More
8 years 11 months ago - 8 years 11 months ago #505 by x8009 Replied by x8009 on topic 3D Depth Map Based Stereoscopic Shader

BlueSkyKnight wrote:

x8009 wrote:

BlueSkyKnight wrote:

x8009 wrote:

nieda113 wrote: Hi is there a plan to get a depthmap for Mafia3 soon?

THX


Hoping the same :)

We need blueskyknight specialty for this


First are you guys able to get a depth map in depth map view?

I don't have the game. Is there a Demo or a game that uses the same engine?

If there is a game that uses the same engine some times that depth map can be used.


Alternate_Depth_Map=26.000000
Depth_Map_Enhancement=-1.000000
Depth=25.000000

Works fine it seems, but Depth 25 having much blur not sure how to get rid of it. might be because I didn't disable in-game Motion Blur ? there is Depth of View setting too, and a DOV bar which from 65 to 90 or something.

BlueSkyKnight , can I send you links to download the game ? or do you need to buy every single game to play it ? you could play it or at least help us with the 3D using the "not from the store" and then buy it later.


No Piracy That one thing I will not do. Send me a picture of the Depth Map. you Already gave me the depth map used.


Last edit: 8 years 11 months ago by x8009.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago - 8 years 11 months ago #506 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

x8009 wrote:

BlueSkyKnight wrote:

x8009 wrote:

BlueSkyKnight wrote:

x8009 wrote:

nieda113 wrote: Hi is there a plan to get a depthmap for Mafia3 soon?

THX


Hoping the same :)

We need blueskyknight specialty for this


First are you guys able to get a depth map in depth map view?

I don't have the game. Is there a Demo or a game that uses the same engine?

If there is a game that uses the same engine some times that depth map can be used.


Alternate_Depth_Map=26.000000
Depth_Map_Enhancement=-1.000000
Depth=25.000000

Works fine it seems, but Depth 25 having much blur not sure how to get rid of it. might be because I didn't disable in-game Motion Blur ? there is Depth of View setting too, and a DOV bar which from 65 to 90 or something.

BlueSkyKnight , can I send you links to download the game ? or do you need to buy every single game to play it ? you could play it or at least help us with the 3D using the "not from the store" and then buy it later.


No Piracy That one thing I will not do. Send me a picture of the Depth Map. you Already gave me the depth map used.



Set custom Depth Map too "Custom Eight"

Far = 250;
Near = 251;

This is your starting point.

Now adjust up and down in Tandem.

so say you change Far too 256 you need to change Near too 257 You may need to go down or up depending on the change in the depth map.

Also keep in mind you want to have depth map Depth_Map_Enhancement off.

if Depth map enhancement is on then I can't help you with the information given.

But it looks like you just need to move the Depth precision back a little bit.
Last edit: 8 years 11 months ago by BlueSkyKnight.

Please Log in or Create an account to join the conversation.

  • x8009
More
8 years 11 months ago #507 by x8009 Replied by x8009 on topic 3D Depth Map Based Stereoscopic Shader

BlueSkyKnight wrote:

x8009 wrote:

BlueSkyKnight wrote:

x8009 wrote:

BlueSkyKnight wrote:

x8009 wrote:

nieda113 wrote: Hi is there a plan to get a depthmap for Mafia3 soon?

THX


Hoping the same :)

We need blueskyknight specialty for this


First are you guys able to get a depth map in depth map view?

I don't have the game. Is there a Demo or a game that uses the same engine?

If there is a game that uses the same engine some times that depth map can be used.


Alternate_Depth_Map=26.000000
Depth_Map_Enhancement=-1.000000
Depth=25.000000

Works fine it seems, but Depth 25 having much blur not sure how to get rid of it. might be because I didn't disable in-game Motion Blur ? there is Depth of View setting too, and a DOV bar which from 65 to 90 or something.

BlueSkyKnight , can I send you links to download the game ? or do you need to buy every single game to play it ? you could play it or at least help us with the 3D using the "not from the store" and then buy it later.


No Piracy That one thing I will not do. Send me a picture of the Depth Map. you Already gave me the depth map used.



Set custom Depth Map too "Custom Eight"

Far = 250;
Near = 251;

This is your starting point.

Now adjust up and down in Tandem.

so say you change Far too 256 you need to change Near too 257 You may need to go down or up depending on the change in the depth map.

Also keep in mind you want to have depth map Depth_Map_Enhancement off.

if Depth map enhancement is on then I can't help you with the information given.

But it looks like you just need to move the Depth precision back a little bit.


Thanks , ye I disabled the enhancement before taking the screenshot.

I'll test it.

Please Log in or Create an account to join the conversation.

  • Devil Master
More
8 years 11 months ago #508 by Devil Master Replied by Devil Master on topic 3D Depth Map Based Stereoscopic Shader
I tried this shader with Satellite Reign and RealMyst Masterpiece Edition. Both games give me the same issues:
1) the mouse pointer is not duplicated (one pointer per view) when the shader is active. Instead, the program keeps displaying one pointer that can move from one view to another. This is a problem, because both games are controlled with the mouse, and without a pointer for each view, you cannot see what you're pointing at.
2) In both games the depth is off, like parts of a building that should be far away from the observer are actually closer. This is not just a case of inverted eyes (I tried), because the depth glitches do not follow the shapes of the objects and seem to cut through objects at random. I would post a screenshot to show exactly what I'm talking about; unfortunately, I tried to grab a screenshot with PrintScreen, and when I pasted it in Paint, a shot of the Windows desktop gets pasted instead of a game shot. How do you grab screenshots with Reshade and this shader?

Please Log in or Create an account to join the conversation.

  • x8009
More
8 years 11 months ago - 8 years 11 months ago #509 by x8009 Replied by x8009 on topic 3D Depth Map Based Stereoscopic Shader

Devil Master wrote: I tried this shader with Satellite Reign and RealMyst Masterpiece Edition. Both games give me the same issues:
1) the mouse pointer is not duplicated (one pointer per view) when the shader is active. Instead, the program keeps displaying one pointer that can move from one view to another. This is a problem, because both games are controlled with the mouse, and without a pointer for each view, you cannot see what you're pointing at.
2) In both games the depth is off, like parts of a building that should be far away from the observer are actually closer. This is not just a case of inverted eyes (I tried), because the depth glitches do not follow the shapes of the objects and seem to cut through objects at random. I would post a screenshot to show exactly what I'm talking about; unfortunately, I tried to grab a screenshot with PrintScreen, and when I pasted it in Paint, a shot of the Windows desktop gets pasted instead of a game shot. How do you grab screenshots with Reshade and this shader?


You just click PrintScreen with Reshade 3.0 and it takes a screenshot inside the game folder (Nameofgame_Date_).* you can set it on the Reshade 3.0 Options/Settings Tab . it says on the bottom Screenshot Key and Folder. and you can choose which extension , PNG or JPG
Last edit: 8 years 11 months ago by x8009.
The following user(s) said Thank You: BlueSkyKnight

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #510 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

x8009 wrote:

Devil Master wrote: I tried this shader with Satellite Reign and RealMyst Masterpiece Edition. Both games give me the same issues:
1) the mouse pointer is not duplicated (one pointer per view) when the shader is active. Instead, the program keeps displaying one pointer that can move from one view to another. This is a problem, because both games are controlled with the mouse, and without a pointer for each view, you cannot see what you're pointing at.
2) In both games the depth is off, like parts of a building that should be far away from the observer are actually closer. This is not just a case of inverted eyes (I tried), because the depth glitches do not follow the shapes of the objects and seem to cut through objects at random. I would post a screenshot to show exactly what I'm talking about; unfortunately, I tried to grab a screenshot with PrintScreen, and when I pasted it in Paint, a shot of the Windows desktop gets pasted instead of a game shot. How do you grab screenshots with Reshade and this shader?


You just click PrintScreen with Reshade 3.0 and it takes a screenshot inside the game folder . you can set it on the Reshade 3.0 Options/Settings Tab . it says on the bottom Screenshot Key and Folder. and you can choose which extension , PNG or JPG


Satellite Reigen a bit to expensive for me. But, RealMyst Masterpiece Edition I will get this one and see what going on. Give me time. have your tried the built in cross cursor? Press B.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #511 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader
Broke up the Different 3D Shaders.

Normal 1.9.0
Anaglyph 1.9.0
and HMD 1.9.0 for VR
All still WIP

Since each 3D system require different traits.

Also need a new way to work on artifact reduction for HMDs since I can't really use blur there since Speed is necessity.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #512 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader
So I tested RealMist

With right Depth Map settings It looks really good in 3D.


And the Cross Cursor works.


And the Depth Map was flipped.


But, big problem comes up one you go underground or in a room and close a Door your depth map flickers in and out. This problem makes it unplayable. Try asking crosire if there anything he can do about that.

This problem also shows it's self in reshade 2.0.

Please Log in or Create an account to join the conversation.

  • Devil Master
More
8 years 11 months ago - 8 years 11 months ago #513 by Devil Master Replied by Devil Master on topic 3D Depth Map Based Stereoscopic Shader
Wow, that was fast. I was about to send you screenshots with buggy depth, but you investigated before I did. All right, I'll contact Crosire.
EDIT: now I tried the shader with Sonic GDK (free, based on the free version of Unreal Engine 3) and Unreal Gold v227 (an updated version of Unreal 1 with a Direct3D 9 renderer). Neither game produces any depth effect at all.
Last edit: 8 years 11 months ago by Devil Master.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago - 8 years 11 months ago #514 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

Devil Master wrote: Wow, that was fast. I was about to send you screenshots with buggy depth, but you investigated before I did. All right, I'll contact Crosire.
EDIT: now I tried the shader with Sonic GDK (free, based on the free version of Unreal Engine 3) and Unreal Gold v227 (an updated version of Unreal 1 with a Direct3D 9 renderer). Neither game produces any depth effect at all.


I will look in too Sonic GDK no real setting to change don't know what to do here. Maybe ask the Devs to allow more common settings.

Unreal Gold with v227 patch.

Use the DX9 render
install Rehsade 3.0 to System folder select DX9.

In Unreal Set your res and the go to advance settings.

Turn Off AA and go back in to the game.

Start a game.
Shift F2

Set up my shader in reshade.

Depth map is 8 and the game should look like this.
Last edit: 8 years 11 months ago by BlueSkyKnight.
The following user(s) said Thank You: Aelius Maximus

Please Log in or Create an account to join the conversation.

  • Aelius Maximus
More
8 years 11 months ago #515 by Aelius Maximus Replied by Aelius Maximus on topic 3D Depth Map Based Stereoscopic Shader
The progress this shader has made is fantastic. I'm still running 1.8.0, what's the difference in performance since that release and 1.9.0?

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago - 8 years 11 months ago #516 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

Aelius Maximus wrote: The progress this shader has made is fantastic. I'm still running 1.8.0, what's the difference in performance since that release and 1.9.0?


1.9.0 will come in 3 variants.

small changes to the code. from 1.8.0 to 1.9.0. on the normal one that and convergence slider. This also means I removed HMD and Anaglypth modes.

But, with the one for HMD and Anaglyph are more specialized.

I did this because, Each one requires different settings different kind of attention.

with so many Anaglyph modes out there. This one really needs one shader all to it's own.

The HMD one mainly for VR. This will have a lot of striped features and will focus on speed. So blur of depth map will be removed.
Last edit: 8 years 11 months ago by BlueSkyKnight.

Please Log in or Create an account to join the conversation.

  • x8009
More
8 years 11 months ago - 8 years 11 months ago #517 by x8009 Replied by x8009 on topic 3D Depth Map Based Stereoscopic Shader
Blueskyknight

What is the recommended settings for TombRaider 2016 ? cause I couldn't find it in the Game_Settings.txt file.

Thank You


Is that good ?



[SuperDepth3D_v1.9.0.fx]
Adjust=1.000000
Stereoscopic_Mode=0.000000
Perspective_Edge_Selection=0.000000
Convergence=0.000000
Alternate_Depth_Map=0.000000
Depth_Map_Enhancement=0.000000
Depth=15.000000
Blur_Type=2.000000
Perspective=0.000000
Eye_Swap=0.000000
Blur=0.050000
Depth_Map_Clamp=0.000000
Depth_Map_View=-1.000000
Depth_Map_Flip=0.000000
Custom_Depth_Map=4.000000
Near_Far=38.000000,33.000000


Is there a way to improve the performance again with the SuperDepth3D ? enabling the Shader lowers my fps from 93 Fps to 80 Fps , that's a lot if I want to use 4K , currently I'm using 2560x1440 . but 4K would be too much with the 3D.
Last edit: 8 years 11 months ago by x8009.

Please Log in or Create an account to join the conversation.

  • BlueSkyKnight
  • Topic Author
More
8 years 11 months ago #518 by BlueSkyKnight Replied by BlueSkyKnight on topic 3D Depth Map Based Stereoscopic Shader

x8009 wrote: Blueskyknight

What is the recommended settings for TombRaider 2016 ? cause I couldn't find it in the Game_Settings.txt file.

Thank You


Is that good ?



[SuperDepth3D_v1.9.0.fx]
Adjust=1.000000
Stereoscopic_Mode=0.000000
Perspective_Edge_Selection=0.000000
Convergence=0.000000
Alternate_Depth_Map=0.000000
Depth_Map_Enhancement=0.000000
Depth=15.000000
Blur_Type=2.000000
Perspective=0.000000
Eye_Swap=0.000000
Blur=0.050000
Depth_Map_Clamp=0.000000
Depth_Map_View=-1.000000
Depth_Map_Flip=0.000000
Custom_Depth_Map=4.000000
Near_Far=38.000000,33.000000


Is there a way to improve the performance again with the SuperDepth3D ? enabling the Shader lowers my fps from 93 Fps to 80 Fps , that's a lot if I want to use 4K , currently I'm using 2560x1440 . but 4K would be too much with the 3D.


Did you test the difference between 1.8.9 vs 1.9.0?

TombRaider 2016 I think that has a built in 3D. Also if you want a big performance boost. Try the HMD shader.

I am still optimizing 1.9.0.....

The depth map looks about right. But it needs to be tested in game against other DM in the list.

Please Log in or Create an account to join the conversation.

  • x8009
More
8 years 11 months ago - 8 years 11 months ago #519 by x8009 Replied by x8009 on topic 3D Depth Map Based Stereoscopic Shader

BlueSkyKnight wrote:

x8009 wrote: Blueskyknight

What is the recommended settings for TombRaider 2016 ? cause I couldn't find it in the Game_Settings.txt file.

Thank You


Is that good ?



[SuperDepth3D_v1.9.0.fx]
Adjust=1.000000
Stereoscopic_Mode=0.000000
Perspective_Edge_Selection=0.000000
Convergence=0.000000
Alternate_Depth_Map=0.000000
Depth_Map_Enhancement=0.000000
Depth=15.000000
Blur_Type=2.000000
Perspective=0.000000
Eye_Swap=0.000000
Blur=0.050000
Depth_Map_Clamp=0.000000
Depth_Map_View=-1.000000
Depth_Map_Flip=0.000000
Custom_Depth_Map=4.000000
Near_Far=38.000000,33.000000


Is there a way to improve the performance again with the SuperDepth3D ? enabling the Shader lowers my fps from 93 Fps to 80 Fps , that's a lot if I want to use 4K , currently I'm using 2560x1440 . but 4K would be too much with the 3D.


Did you test the difference between 1.8.9 vs 1.9.0?

TombRaider 2016 I think that has a built in 3D. Also if you want a big performance boost. Try the HMD shader.

I am still optimizing 1.9.0.....

The depth map looks about right. But it needs to be tested in game against other DM in the list.


I don't remember the performance with 1.8.9

The ingame 3D has many bugs, Crashes, issues, can't use VXAO and the performance is really bad with it.


I'll see if I can send you some of the Alternate in email. some of them are almost identical almost all, some are blacker , some are whiter, but this is the most correct if I don't need the more far to be whiter and more black to the near.

What's the different between the HMD one to the 1.9.0 ? Quality ? if the performance is better what could affect it ?
Last edit: 8 years 11 months ago by x8009.

Please Log in or Create an account to join the conversation.

  • HelpMeSomebody
More
8 years 11 months ago - 8 years 11 months ago #520 by HelpMeSomebody Replied by HelpMeSomebody on topic 3D Depth Map Based Stereoscopic Shader
Got it working with DOOM! An OpenGL game in 3D! Can't believe it. Thanks so much BlueSkyKnight!

Are there any other settings I should adjust for DOOM besides DM and Depth Map Enhancement?

What do the blur settings do, exactly? Can't find an explanation. Is it the blurred edges around your weapon?
Last edit: 8 years 11 months ago by HelpMeSomebody. Reason: new questions

Please Log in or Create an account to join the conversation.