Author |
Message |
StereoGamer
Rating: N/A Votes: 0 (Vote!) | Posted on Thursday, October 02, 2003 - 10:07 pm: | |
StereoBLT SDK is finally updated to support DX8/9. If you ever sent e-mail to 3dStereoDev@nvidia.com you should get it in the mail soon. Cheers |
Richard Scullion
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, October 04, 2003 - 1:53 pm: | |
I've been looking at the StereoBlt SDK and it appears that it isn't the NVSTEREOIMAGEHEADER that causes the glasses to activate. Try displaying an image containing that header in another DirectDraw program (glasses won't start) or removing it from the StereoBLT SDK (glasses will start). Does anyone know what else is required to activate the glasses? Thanks, Richard |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, October 06, 2003 - 8:53 am: | |
What is StereoBlt SDK? |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, October 06, 2003 - 9:43 am: | |
Anonymous: StereoBLK SDK is a short cample code showing how to activate HW page flipping on nVida graphic cards for 2 DirectDraw surfaces. It is demonstrated on a still image visualisation. Btw. I had trouble to find diferences betwen the old StereoBLK and the new one ... The old version was working with the new drivers as well ... |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, October 06, 2003 - 1:57 pm: | |
So this is not for gaming? |
StereoGamer
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, October 06, 2003 - 6:10 pm: | |
The glasses are triggered by the stereo driver itself. It must be "enabled" OR "enabled by hotkey", but if it's enabled by hotkey it won't turn on automatically. To do this you must have an entry in the registry under the game configs called "YourAppName" with a DWORD called StereoDefaultOn set to 1. This will force stereo to turn on when this app is run. If you look in the registry you will see this for the supplied exe, NvSterEx, which is why it turns the glasses on when it's launched. Just copy this over to "YourAppName" and your set. Cheers |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, August 17, 2004 - 7:53 am: | |
hi,can you give me a stereo sdk ? my E-mail address is mhm15191@msn.com thanks in advance! |
Peter Wimmer
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, August 17, 2004 - 4:52 pm: | |
Ask at 3DStereoDev@nvidia.com for the SDK. They send it for free. By the way, there are different SDKs for DX 7, 8 and 9... |
Peter Wimmer
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, August 17, 2004 - 4:58 pm: | |
Although I guess nobody will get in trouble when mailing the SDK to other users, please don't do it. All developers should request it directly from NVIDIA so that NVIDIA sees how important the SDK is for us! If there's no demand, they might not offer it in the future... |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, August 17, 2004 - 7:03 pm: | |
Anonymous: Ther exist nothing like "Stereo SDK" now. Only the StereoBLK serving for flipping between 2 DirectDraw surfaces ... I hope nVidia will release some real "Stereo SDK" soon giving standardized acces to the stereo drivers setup ... I do not like the idea to do this by registry tweaking only ... |
Dennis Brittain
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, August 29, 2004 - 3:00 am: | |
I have just received the NvSterEx sample program, and there is lot of code to examine. Does anyone have a SIMPLE source code sample that shows how to use StereoBLT. I compiled and ran the sample and it runs fine on an ELSA board under Win98. Unfortunately my development machine is Win2k with an ATI Radeon, so I can't debug the example. Also, the example seems to run in full-screen mode, please let me know if it is possible to run in a windowed mode, like I could with the old ELSA drivers. I have been using Win3D for the last few years, but it is no longer supported. |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, August 29, 2004 - 7:32 am: | |
The code does not run in window ... There is no chance to do any development on ATI system ... If you are not able to extract from the NvSterEx the neccesary key information you will be probably ot able to make any sersious development based on it as well anyway (I do not know about any simple expamle base don this code) ... |
Peter Wimmer
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, August 29, 2004 - 8:58 am: | |
The NVIDIA StereoBlt SDK is based on a Microsoft sample. The only important lines are the ones where the stereo descriptor is put into the surface data. Take a look at the following lines in NVSterEX.cpp: ********************************** // Stereo Blit defines. #define NVSTEREO_IMAGE_SIGNATURE 0x4433564e //NV3D typedef struct _Nv_Stereo_Image_Header { unsigned int dwSignature; unsigned int dwWidth; unsigned int dwHeight; unsigned int dwBPP; unsigned int dwFlags; } NVSTEREOIMAGEHEADER, *LPNVSTEREOIMAGEHEADER; // ORed flags in the dwFlags fiels of the _Nv_Stereo_Image_Header structure above #define SIH_SWAP_EYES 0x00000001 #define SIH_SCALE_TO_FIT 0x00000002 ********************************** D3DLOCKED_RECT lrRect; hRes = pSurface->LockRect(&lrRect, NULL, 0); LPNVSTEREOIMAGEHEADER pStereoImageHeader = (LPNVSTEREOIMAGEHEADER)(((unsigned char *) lrRect.pBits) + (lrRect.Pitch * (sdDesc.Height - 1))); pStereoImageHeader->dwSignature = NVSTEREO_IMAGE_SIGNATURE; pStereoImageHeader->dwBPP = 32; pStereoImageHeader->dwFlags = SIH_SWAP_EYES; pStereoImageHeader->dwWidth = sdDesc.Width; //The surface has both eyes side by side. The actual displayed width is sdDesc.Width/2 pStereoImageHeader->dwHeight = sdDesc.Height; pSurface->UnlockRect(); SAFE_RELEASE(pSurface); |
Dennis Brittain
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, August 29, 2004 - 3:47 pm: | |
Peter: thanks for the relevant info. Which Microsoft sample? Must you ToggleFullscreen() or can you stay in a window without going fullscreen/exclusive? Following is a comment from my original applications usage of the ELSA drivers, all of my applications worked nicely in the document-view model. // Now we create the two buffers for the 3D image. // The driver will shutter between this two surfaces // automatically with a little help from the // application, which must call the DirectDraw Blt // member a few times a second. // First create the right eye´s surface // The driver recognizes the DDSCAPS_3DDEVICE and // the DDSCAPS_PRIMARYSURFACELEFT flags, which // will cause the driver to activate the 3D-AUTOFLIP // feature. The driver stores the information // about this surface until a second buffer // of the same size is created. The Win3D implimentation was much more restrictive, but ran on a wide range of platforms. // To display stereo, we require a full screen display. This requires us to set the // cooperative level to fullscreen/exclusive. It also requires a window handle. This window // is set to full-screen size. Thus, we will create a window. Instead of doing this after // we create the DD and W3D_DD objects, we will do this first. Can I return to the document-view model with the nVidia drivers? Also, the sample code in the InitDeviceObjects()uses textures to load image files, can you just write into the surface? The original ELSA code used two surfaces for fliping, but your comment seems to indicate that nVidia uses a single surface to display both left and right images side-by-side. |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, August 29, 2004 - 9:35 pm: | |
nVidia does not support in window mode flipping and they will probably avoid any method of implementing this mode - this will corrupt their busines with in window OpenGL flipping and Quadro graphic card sales ... If you meed in window page flipping on nonQuadro cards you can use More3D drivers. One installation is $5000 ... |
Dennis Brittain
Rating: N/A Votes: 0 (Vote!) | Posted on Thursday, September 16, 2004 - 4:03 am: | |
I was able get a Win98 machine to run the NvSterEx demo with page-flipping working, meaning the drivers installed and configured correctly. HOWEVER, I cannot enable the stereo driver on a Win2K machine! The drivers SEEM to install OK but when you select the [Enabled] button under "Stereo Enable Mode", then hit the [Apply] button, a Stereo Compatibility Settings dialog box appears with the message "Please close and DirectX or OpenGl applications and hit OK". No matter what I do, I keep getting a "Stereo Error" message box that says "NVIDIA Stereo features not enabled, launching .......". Does anyone know what is going on, and has anyone had success geting stereo mode enabled on a Win2K machine? |
Dennis Brittain
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, September 18, 2004 - 11:45 pm: | |
Found solution at following discussion: http://www.stereo3d.com/discus/messages/22/2792.html?1095005664 Fix is to install old stereo driver then overwrite with new driver. See discussion for details. |