Solved

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

Posted on 2008-10-30
3
1,492 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
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
JoseParrot 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now