Vision 3D and DirectX
Hello,

I recently purchased a pair of Geforce 3D Vision glasses. I am a developer and I do some managed DirectX programming. Without any code changes, the glasses work perfectly with all of my full screen (i.e. Windowed = false) DirectX applications. I am very happy about this.

Howeever today I downloaded Johnny Chung Lee's managed DirectX project entitled WiiDesktopVR. This project can be downloaded from [url="http://johnnylee.net/projects/wii/"]http://johnnylee.net/projects/wii/[/url]. Unfortunately this project dose not work with the glasses and I cannot figure out why. It is a full screen DirectX application.

My question is: Why do all of my DirectX applications work with the glasses and Johnny Chung Lee's project does not? I really want to get this working because I think it would be an amazing demo.
kind regards,
Cathal Coffey
Hello,



I recently purchased a pair of Geforce 3D Vision glasses. I am a developer and I do some managed DirectX programming. Without any code changes, the glasses work perfectly with all of my full screen (i.e. Windowed = false) DirectX applications. I am very happy about this.



Howeever today I downloaded Johnny Chung Lee's managed DirectX project entitled WiiDesktopVR. This project can be downloaded from http://johnnylee.net/projects/wii/. Unfortunately this project dose not work with the glasses and I cannot figure out why. It is a full screen DirectX application.



My question is: Why do all of my DirectX applications work with the glasses and Johnny Chung Lee's project does not? I really want to get this working because I think it would be an amazing demo.

kind regards,

Cathal Coffey

#1
Posted 06/23/2009 04:17 PM   
[quote name='cathco' post='556635' date='Jun 23 2009, 11:17 AM']Hello,

I recently purchased a pair of Geforce 3D Vision glasses. I am a developer and I do some managed DirectX programming. Without any code changes, the glasses work perfectly with all of my full screen (i.e. Windowed = false) DirectX applications. I am very happy about this.

Howeever today I downloaded Johnny Chung Lee's managed DirectX project entitled WiiDesktopVR. This project can be downloaded from [url="http://johnnylee.net/projects/wii/"]http://johnnylee.net/projects/wii/[/url]. Unfortunately this project dose not work with the glasses and I cannot figure out why. It is a full screen DirectX application.

My question is: Why do all of my DirectX applications work with the glasses and Johnny Chung Lee's project does not? I really want to get this working because I think it would be an amazing demo.
kind regards,
Cathal Coffey[/quote]

Hi

3D Vision runs in fullscreen exclusive mode. I havent tried Johnny's applicaiton to see if its running in exclusive mode or just visually its fullscreen.
[quote name='cathco' post='556635' date='Jun 23 2009, 11:17 AM']Hello,



I recently purchased a pair of Geforce 3D Vision glasses. I am a developer and I do some managed DirectX programming. Without any code changes, the glasses work perfectly with all of my full screen (i.e. Windowed = false) DirectX applications. I am very happy about this.



Howeever today I downloaded Johnny Chung Lee's managed DirectX project entitled WiiDesktopVR. This project can be downloaded from http://johnnylee.net/projects/wii/. Unfortunately this project dose not work with the glasses and I cannot figure out why. It is a full screen DirectX application.



My question is: Why do all of my DirectX applications work with the glasses and Johnny Chung Lee's project does not? I really want to get this working because I think it would be an amazing demo.

kind regards,

Cathal Coffey



Hi



3D Vision runs in fullscreen exclusive mode. I havent tried Johnny's applicaiton to see if its running in exclusive mode or just visually its fullscreen.

#2
Posted 06/23/2009 04:59 PM   
[quote name='andrewf@nvidia' post='556653' date='Jun 23 2009, 05:59 PM']Hi

3D Vision runs in fullscreen exclusive mode. I havent tried Johnny's applicaiton to see if its running in exclusive mode or just visually its fullscreen.[/quote]

I have searched for and found nothing on the topic of managed DirectX & fullscreen exclusive mode. Can you please provide me with an example? As far as I can tell the only option in managed DirectX is a boolean called windowed.
[quote name='andrewf@nvidia' post='556653' date='Jun 23 2009, 05:59 PM']Hi



3D Vision runs in fullscreen exclusive mode. I havent tried Johnny's applicaiton to see if its running in exclusive mode or just visually its fullscreen.



I have searched for and found nothing on the topic of managed DirectX & fullscreen exclusive mode. Can you please provide me with an example? As far as I can tell the only option in managed DirectX is a boolean called windowed.

#3
Posted 06/23/2009 06:06 PM   
[quote name='cathco' post='556701' date='Jun 23 2009, 07:06 PM']I have searched for and found nothing on the topic of managed DirectX & fullscreen exclusive mode. Can you please provide me with an example? As far as I can tell the only option in managed DirectX is a boolean called windowed.[/quote]

Here is the device creation code, why can't I see this application in 3d with the glasses?

presentParams.AutoDepthStencilFormat = DepthFormat.D16; // And the stencil format
presentParams.BackBufferFormat = Format.R5G6B5; //color depth
presentParams.BackBufferHeight = m_dwHeight; //screen height
presentParams.BackBufferWidth = m_dwWidth; //screen width
presentParams.EnableAutoDepthStencil = true; // Turn on a Depth stencil
presentParams.Windowed=false;
presentParams.SwapEffect = SwapEffect.Discard; // Discard the frames
presentParams.MultiSample = MultiSampleType.None; //anti-aliasing
presentParams.PresentationInterval = PresentInterval.Immediate; //don't wait... draw right away

device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); //Create a device

thanks in advance,
Cathal
[quote name='cathco' post='556701' date='Jun 23 2009, 07:06 PM']I have searched for and found nothing on the topic of managed DirectX & fullscreen exclusive mode. Can you please provide me with an example? As far as I can tell the only option in managed DirectX is a boolean called windowed.



Here is the device creation code, why can't I see this application in 3d with the glasses?



presentParams.AutoDepthStencilFormat = DepthFormat.D16; // And the stencil format

presentParams.BackBufferFormat = Format.R5G6B5; //color depth

presentParams.BackBufferHeight = m_dwHeight; //screen height

presentParams.BackBufferWidth = m_dwWidth; //screen width

presentParams.EnableAutoDepthStencil = true; // Turn on a Depth stencil

presentParams.Windowed=false;

presentParams.SwapEffect = SwapEffect.Discard; // Discard the frames

presentParams.MultiSample = MultiSampleType.None; //anti-aliasing

presentParams.PresentationInterval = PresentInterval.Immediate; //don't wait... draw right away



device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); //Create a device



thanks in advance,

Cathal

#4
Posted 06/24/2009 01:13 PM   
Scroll To Top