Solved

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

Posted on 2008-10-30
3
1,497 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 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