Sign in to follow this  
maya18222

3d support (monitors)

Recommended Posts

I'm trying to wrap my head around how 3d monitor support works with todays games. From my understanding, there are 2 approaches being used.

Native support - The game is doing the 3d rendering and outputing the data to one of the 3d formats
Non-Native Support - Some magic happens by installing a magic driver which converts 2d game frames to one of the 3d formats

So,

1. When games natively support 3d, how eactly does this work? ... does the game specify the format its outputing to, say side-by-side, and then you just set your monitor to that setting? what formats do native 3d games use?

2. How exactly are the drivers such as tridef working? .. apparently they listen in on the dx calls, but with everyone rendering in different ways, how is the magic working?

Share this post


Link to post
Share on other sites
[quote name='maya18222' timestamp='1344287719' post='4966816']
2. How exactly are the drivers such as tridef working? .. apparently they listen in on the dx calls, but with everyone rendering in different ways, how is the magic working?
[/quote]
Well, ultimately, at the end of their pipeline, most standard games output a frame buffer (containing color information) and a depth buffer (containing depth information). This should be enough to reconstruct the three-dimensional world as viewed from the observer - the driver just interprets this information and correctly plots the data on the 3D display. Games are free to use however many passes they see fit while rendering, as long as they give the driver the information it needs at the end (which is conveniently exposed through standard D3D resources). Edited by Bacterius

Share this post


Link to post
Share on other sites
[quote name='maya18222' timestamp='1344287719' post='4966816']
Native support - The game is doing the 3d rendering and outputing the data to one of the 3d formats
Non-Native Support - Some magic happens by installing a magic driver which converts 2d game frames to one of the 3d formats
[/quote]
There's not really a 3d format. More common is to render the scene from the left and right eyes view and [i]map [/i]these to the used 3d technique. When the first 3d glasses hit the market (~ a decade ago), rendering was simple enough and the drivers just offset (alternating) the view-projection matrix to go along the left/right eye view perspective. This worked only for the fixed function pipeline, but modern games use a lot of shaders and addtional informations which makes it incredible hard for the driver to guess what the image represents.

Even when reading the z/depth-buffer, it is not given that the depth-buffer represents the whole 3d scene. Overlays (gui) , particles etc. which don't write to the z-buffer would introduce artifacts. Therefore a driver solution would be more of a fake, the best 3d effect requires, that the underlying game engine supports it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this