New DX8 version of StereoBLT availabl... Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » 3D News - announce and discuss new products & services here » New DX8 version of StereoBLT available from Nvidia « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

StereoGamer

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, October 02, 2003 - 10:07 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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
Top of pagePrevious messageNext messageBottom of page Link to this message

Richard Scullion

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, October 04, 2003 - 1:53 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, October 06, 2003 - 8:53 am:   Edit PostDelete PostView Post/Check IPPrint Post

What is StereoBlt SDK?
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, October 06, 2003 - 9:43 am:   Edit PostDelete PostView Post/Check IPPrint Post

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 ...
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, October 06, 2003 - 1:57 pm:   Edit PostDelete PostView Post/Check IPPrint Post

So this is not for gaming?
Top of pagePrevious messageNext messageBottom of page Link to this message

StereoGamer

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, October 06, 2003 - 6:10 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, August 17, 2004 - 7:53 am:   Edit PostDelete PostView Post/Check IPPrint Post

hi,can you give me a stereo sdk ?
my E-mail address is mhm15191@msn.com

thanks in advance!
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, August 17, 2004 - 4:52 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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...
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, August 17, 2004 - 4:58 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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...
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, August 17, 2004 - 7:03 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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 ...
Top of pagePrevious messageNext messageBottom of page Link to this message

Dennis Brittain

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 29, 2004 - 3:00 am:   Edit PostDelete PostView Post/Check IPPrint Post

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 29, 2004 - 7:32 am:   Edit PostDelete PostView Post/Check IPPrint Post

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) ...
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 29, 2004 - 8:58 am:   Edit PostDelete PostView Post/Check IPPrint Post

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);
Top of pagePrevious messageNext messageBottom of page Link to this message

Dennis Brittain

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 29, 2004 - 3:47 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, August 29, 2004 - 9:35 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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 ...
Top of pagePrevious messageNext messageBottom of page Link to this message

Dennis Brittain

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, September 16, 2004 - 4:03 am:   Edit PostDelete PostView Post/Check IPPrint Post

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?
Top of pagePrevious messageNext messageBottom of page Link to this message

Dennis Brittain

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, September 18, 2004 - 11:45 pm:   Edit PostDelete PostView Post/Check IPPrint Post

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.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | User List | Help/Instructions | Program Credits Administration