Page 2 of 3

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Fri Apr 13, 2012 6:01 pm
by cp_clegg
I am a 3D Vision user and would just like to add my voice to the request to improve 3D Vision support.

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Fri Apr 13, 2012 9:18 pm
by Thorn
As far as i understood the Nvidia Best Practise Guide, the problem is that in the following shader vPos is used to access the light buffer. To fix the problem vpos has to be recomputed to consider the convergence settings.

Code: Select all

//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   sampler2D g_diffuseMap;
//   float3 g_emissiveColor;
//   float2 g_invScreenSize;
//   sampler2D g_lightBuffer;
//   sampler2D g_specularMap;
//
//
// Registers:
//
//   Name            Reg   Size
//   --------------- ----- ----
//   g_invScreenSize c0       1
//   g_emissiveColor c1       1
//   g_diffuseMap    s0       1
//   g_specularMap   s1       1
//   g_lightBuffer   s2       1
//

    ps_3_0
    def c2, 0.5, 0.298900008, 0.587000012, 0.114
    def c3, 1, 0, 0, 0
    dcl_texcoord v0.xy
    dcl vPos.xy
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    add r0.xy, c2.x, vPos
    mul r0.xy, r0, c0
    texld r0, r0, s2
    dp3 r1.x, r0, c2.yzww
    rcp r1.x, r1.x
    mul r1.xyz, r0, r1.x
    mul r1.xyz, r0.w, r1
    texld r2, v0, s1
    mul r1.xyz, r1, r2
    texld r2, v0, s0
    mad r0.xyz, r0, r2, r1
    add oC0.xyz, r0, c1
    mov oC0.w, c3.x

// approximately 13 instruction slots used (3 texture, 10 arithmetic)
They should be able to fix the problem in a short amount of time. Assumed they want to fix it...

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Sat Apr 14, 2012 3:20 pm
by Thorn
Helix Mod released a shader replacement that solves the shadow problems.
http://helixmod.blogspot.de/2012/04/leg ... mrock.html

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Sat Apr 14, 2012 5:17 pm
by rastamanfromjam
+1 for 3D-Vision-Support!

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Sat Apr 14, 2012 11:01 pm
by fish99
Thorn wrote:Helix Mod released a shader replacement that solves the shadow problems.
http://helixmod.blogspot.de/2012/04/leg ... mrock.html
Well, it doesn't solve the problem, rather it removes the problematic shadows. Shadows at the correct depth would obviously be far preferable to simply removing the shadows. The game looks kinda flat without the shadows.

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Mon Apr 16, 2012 6:58 pm
by Crash
I would hope that it may be possible to fix the shadow rendering for 3D without disabling them. The shadows add a lot to the ambiance in my opinion. I am trying to get everyone I know to buy this game so the developers will have more funds for this sort of thing, and recommend that everyone do the same.

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Mon Apr 16, 2012 10:24 pm
by andrewf@nvidia
Hi

I'm the product manager for 3D Vision at NVIDIA. I am happy to help support the Grimrock developers if they have technical questions. I have tried the game too and think it could look great in 3D with a bit of code changes.

Feel free to PM me.

Andrew Fear
NVIDIA Corporation

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Tue Apr 17, 2012 5:15 pm
by Rig
3D works fine on an iZ3D with the iZ3D monitor. No ghosting or reflection issues that I can see.

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Tue Apr 17, 2012 9:03 pm
by Crash
I don't know if there is anything different about this monitor vs the ones I have used, but I can't think of any reason that one specific monitor would determine the rendering of shadows differently. Ghosting is another matter. My Planar monitor has very low ghosting in all games (the reason I bought it to replace my older Samsung 3D monitor). If you see the screenshots I posted, you will see the shadows from the face on the wall are opposite, and these were captured from the system and not photographed from the monitor.

Cheers

Re: Nvidia 3D Vision support ( 3dvision )

Posted: Wed Apr 18, 2012 7:18 am
by Townfool
Count me in as one requesting 3d Vision support for Grimrock.
On a smaller niche market game like Grimrock, sales will surely increase.

C'mon guys , PLEASE....