?
Solved

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

Posted on 2008-10-30
3
Medium Priority
?
1,508 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 1500 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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