Jump to content
  • Advertisement
Sign in to follow this  
Ruudje

OpenGL Opengl on multiple monitors

This topic is 4294 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

Can anyone point me to documentation or tutorials for using multiple (four) monitors with Opengl? So far I have been unable to find any info on this myself. Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Whats your problem exactly? I use two monitors here and just create a window big enough (e.g. 2560x1024) to cover and it works flawlessly.

Share this post


Link to post
Share on other sites
I have to admit I haven't tried to build a prototype like that yet... :$

But here's the deal:

for a project I'm working on I need to modify the Torque Game Engine to use 4 displays. Three will be in front of the players (8-12 year old children) creating a wide view of the "world", and 1 will show what's underneith them (they are flying). I was under the impression that I have to select a display adapter to draw to, where one adapter = one monitor.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Just make one large window, create a context over it. Then split the window up into four separate sections, there is a NeHe tutorial on this actually (splitting it into 4, not multiple monitors as that doesn't matter).

Share this post


Link to post
Share on other sites
Enrico,
have you tried that.
Because I think that doesn't work with OpenGL.
As ruudje said, you need to create a device context for every device.
To get the best performance, I think the best thing you could do is rendering your scene to an offscreen buffer and copying portions of the buffer to the different devices.

Share this post


Link to post
Share on other sites
Quote:
Original post by delta user
Enrico,
have you tried that.
Because I think that doesn't work with OpenGL.

Tried what?
It works great here with two monitors, but I am not sure how to handle four (and I don't need to. Better get a 30" thing ;) ). What graphics cards configuration do you have? Two Nvidia PCIe cards?

Share this post


Link to post
Share on other sites
Configuration can be adjusted to what we need. But basically I make Windows able to use 4 displays, and modify Torque to draw 4x, with different camera angles? I was under the impression that Torque (or: a game) will need to switch to a fullscreen exclusive mode for fast performance, but with a window width that is 4x larger then normal, there won't be any hardware supported resolutions for that. Any thoughts?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!