Jump to content
  • Advertisement
Sign in to follow this  
bilstonwarrior

opeing a window on 2 monitors

This topic is 4744 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi on a dual-monitor setup; using DirectX, any idea where I should start looking to create 2 full-screen windows, 1 on the primary monitor, 1 on the 2nd monitor - all accessed by the one application. I then want to render 2 different things to each screen. thanks for any advice in advance! [Edited by - bilstonwarrior on July 18, 2005 11:02:10 AM]

Share this post


Link to post
Share on other sites
Advertisement
I haven't done this, but I'm pretty sure you just create two devices and then make all of the render calls through them. You may need to enumerate through the possible video cards in the system to determine the ID's of the two devices to pass into the CreateDevice() method.

IDirect3D9::CreateDevice(UINT Adapter...)

D3DADAPTER_DEFAULT is the primary adapter.
1 or 2 is probably your next adapter (depending on whether 0 is a link or a true adapter).

Use GetAdapterCount() to make sure it's visible in the system. You can then use other functions available to the IDirect3D9 interface to query information on that adapter.

Chris

Share this post


Link to post
Share on other sites
Quote:
Original post by Supernat02
I haven't done this, but I'm pretty sure you just create two devices and then make all of the render calls through them. You may need to enumerate through the possible video cards in the system to determine the ID's of the two devices to pass into the CreateDevice() method.

IDirect3D9::CreateDevice(UINT Adapter...)

D3DADAPTER_DEFAULT is the primary adapter.
1 or 2 is probably your next adapter (depending on whether 0 is a link or a true adapter).

Use GetAdapterCount() to make sure it's visible in the system. You can then use other functions available to the IDirect3D9 interface to query information on that adapter.

Chris


thank u very much for your response. I now have something up an running

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!