Archived

This topic is now archived and is closed to further replies.

liul

how to program two monitors

Recommended Posts

I have a computer with two video cards and two monitors. I want to write a program that can draw on both monitors, but I don''t have the slightest idea how this is done. Are the two monitors treated as one large, continuous desktop, or two separate pieces of properties, each has its own coordinate systems? How do I address positions on these monitors? How do I sync them? Can anyone direct me to some articles, books, webpages, tutorials or samples that explain how this can be done? Thank you in advance. Lei

Share this post


Link to post
Share on other sites
Thats a good question.

I don't know the answer, but i'll bump this for you.

*bump*

[edited by - raymondo on November 6, 2002 7:06:49 PM]

Share this post


Link to post
Share on other sites
Well, if you are talking DirectX then what you have is two separate adapters that will be enumerated and I don''t think you can create a single device that spans both of them. Windows GDI may have an interface for spanning the monitors and treating them as a single piece of real estate but I don''t think DX can.

Something I have wanted to find out is if you can use multiple adapters and d3d devices within the same game... Haven''t tried it yet but I suspect you are only allowed to create a single d3d device at a time.

Share this post


Link to post
Share on other sites
You can create multiple devices and render seperately with each one in a single program as far as I know, I''ve never done it before though, so I could be wrong.

Share this post


Link to post
Share on other sites