Solved

How do I draw 3D Stereo using DirectX9 and PageFlip?

Posted on 2008-10-30
3
1,503 Views
Last Modified: 2013-12-26
I would like to render a 3d primitive on 3D Stereo device.
My hardware support PageFlip ( this means that each frame is sent to diffrent Eye - left/right)
Can any one point me to a good sample source code?
NOT IN OPENGL!!!!
0
Comment
Question by:SkylineSoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Jose Parrot earned 500 total points
ID: 22887470
Hello,
You should find a SDK from the glasses vendor which has support to DirectX.
SciTech has a library, as described at http://ironicresearch.com/archives/DDStereo.pdf which supports a number of stere devices, including liquid crystal glasses and a broad range of graphics cards.
Sample codes cna be found at http://ironicresearch.com/stereo3d/algorithm.html#Direct3D
Nvidia cards may require special drivers. Take a look at http://stereo.jpn.org/eng/stvply/help/winx3d.htm
With Winx3D drivers, on flips between odd and even scan lines, so your application should draw left eye image in even lines and right eye image in odd ones. There are useful information on that subject at http://www.stereo3d.com/driverc.htm and http://www.trizax.com/howsee/howtosee_e.asp
Jose
0
 

Author Comment

by:SkylineSoft
ID: 22893180
Thanks ,
I have read most of the links already before ... and , I must say you have reached the most importance ones...,  SciTech says that the support in DirectX7 worked for very few vendors , and in DirectX 8 they remove the support..., so I am not sure if anything works on DirectX9...
------------->
To date, only DirectX 7 provides the more correct API for stereoscopic display support. However this can only be implemented by few OEMs which can actually provide hardware-based stereo page-flipping capability, and none have actually done so. The FlipStereo() functionality was folded in to the existing Flip() function using the added DDFLIP_STEREO flag. As such, this means that only fullscreen display modes could be used for stereo page flipping. Refer to the DX7 D3DIM SDK for code examples using the D3D Framework library. DirectX 8 changed the D3D API all over again, and does not support stereo surfaces (most likely due to lack of OEM support for stereo in the DirectX 7 API).
<-----------------
The Latest Nvidia Driver , worked for me only using Red/Blue glasses , I couldn't find any PageFlip option although in the link you sent , there are option to work with pageFlip ...

Thanks for your effort.
I will test it out....
0
 

Author Comment

by:SkylineSoft
ID: 22974038
I have tried the nvidia Stereo3D drivers .... I have test it on XP and vista , the problem with the XP version that it use old driver (91.31)  it was unstable - and many times cause a "BLUE SCREEN"
when it worked it worked fine .. and all that I had to do ,is work in fullscreen, and add few line of code to enable the Stereo - Using Stereo API . The driver on XP gave me the option to choose different type of Stereo -> Page Flip / Red Blue / Side by Side .... , that is very good
The Stereo3D on Vista Driver is still under test , it work with the latest Display driver.
The main disadvantage is that , it only give you the option of Red/Blue stereo - you must have the right hardware in order to have more options....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question