How can you get nVidia StereoBLT wide... Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » General 3D Discussion » How can you get nVidia StereoBLT wider than half screen? « Previous Next »

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

Dennis

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

Posted on Saturday, October 16, 2004 - 12:53 am:   Edit PostDelete PostView Post/Check IPPrint Post

After examining the NvSterEx example, I was able to create an application to display stereo image pairs. When you create a fullscreen D3DDevice and fill the Backbuffer with a fullscreen sized image and set the SIH_SWAP_EYES flag you get half screen width page flipping. This is a good start but I need full screen page flipping. I tried to create a D3DDevice that was twice the screen width but this failed. I do not know if it was a software limitation or a video card limit. If you have been able to create full screen width page flipping, how did you do it?
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

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

Posted on Saturday, October 16, 2004 - 6:41 am:   Edit PostDelete PostView Post/Check IPPrint Post

Full screen pagefilpping works fine with the NVIDIA stereo driver. Let's say our screen resolution is set to 800 x 600 and we have a side-by-side image with a resolution of 1280 x 480 pixel (= 2* 640 x 480).

In this case you must do the following to get a fullscreen pageflipped output:

1) Create 1600 x 600 helper surface, and stretchcopy the image to this surface.

2) Put the stereodescriptor in the helper surface.

3) Copy the helper surface into the backbuffer, don't care about the wrong size (see NvSterEx sample).

4) Flip backbuffer.

That's it.
Top of pagePrevious messageNext messageBottom of page Link to this message

Dennis Brittain

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

Posted on Saturday, October 16, 2004 - 6:38 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Peter,

Thank you! The secret was that you CAN copy a surface wider than the backbuffer into the backbuffer. Normally you would never do something like this. The example did not reveal this crucial fact because the stereo.jpg sample image was only 734 pixels wide, and they were using a 800 pixel wide fullscreen display mode. Just search for "800" & "734" & ".jpg" in the source code and you will find where to change the sample to be able to get Hi-res fullscreen. I was able to get 1280x1024@100hz working fine.
Dennis
Top of pagePrevious messageNext messageBottom of page Link to this message

Mishin Vladimir (Steep_sheep)
New member
Username: Steep_sheep

Post Number: 1
Registered: 12-2006

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

Posted on Sunday, December 10, 2006 - 9:10 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Can send somebody to me StereoBLT API?
My e-mail: Steep_Sheep(a)ukr.net
Many thanks for help!

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