Dual Monitor displays for 2 player and Blitz3D
Blitz3D Forums/Blitz3D Programming/Dual Monitor displays for 2 player and Blitz3D
| ||
Hi there, I want to know how Blitz3D works with Dual monitor displays. This is because I want an option in the game not only for split screen, but for one screen per player. I think that what with most cards being capable of dual monitor output now, it would be a grand idea to include this for 2 player mode. It's like having networked play in the home without the network (something a lot more people can have). So, any ideas? |
| ||
When my mate runs my Blitz stuff on his dual-screen setup (2x 15" TFTs) the program runs on the screen set as the primary display unit in the windows options. I would guess that you would need a DLL or something to be able to to do what you want... |
| ||
Yeah my ideal would be to simply change the cameraviewport location to be to the right. Have you actually tried this? For example Graphics3D 640,480,0 camera1 = CreateCamera() camera2 = CreateCamera() CameraViewport camera2,640,0,640,480 ;directly to the right of the current display, where in theory the second monitor should be While Not KeyHit(1) RenderWorld Flip Wend End Something like this..? I think it's a great way to do 2 player games in Blitz. |
| ||
That wouldn't work. I've got two 21 inch monitor at work and running blitz stuff changes the resolution on both monitors but only the promary one gets used. You just see your desktop on the secondary monitor. |
| ||
That said the idea is good |
| ||
Someone did this over at blitzcoder by doubling the horizontal window size. |
| ||
Did that work (ie. spread across both screens) Also, is that only for windowed stuff or full screen? (ie. Graphics3D, 1600,1200 = 800x600 on both screens, as I think that would try to open a 1600x1200 screen on the primary display..?) |
| ||
From my test you can do duel screen by opening up a double width screen and then use viewports. BUT it does not work on ATI/Radeon cards due to drivers differences. It does work on my current NVidia card. |
| ||
;- |
| ||
For dual-monitors in B3d, it depends on the vid. card afaik, with nView installed for my NVidia cards, its just a matter of doubling the horizontal rezolution of the screen when I set the PC up to span the screen across two monitors outside B3d.... |
| ||
Don't tell me what I can and cannot do RaGR. EVERYONE has a monitor AND a TV. This method is supported by at least 80% of the market. All thats required is support. Why hasn't it been done? it's a clear winner. |
| ||
I thought that only one monitor could be accelerated at a time. May be different with the newer cards though. Edit: Scratch that - seems pretty much everyone can accelerate both these days.. But from DirectX 8 onwards only. OpenGL is supported for acceleration with multiple monitors on NVidia, can't find any information on ATI supporting it. You may be able to force a DX7 game on to dual monitors if your card supports "span" mode, which tells the system you have one widescreen monitor instead of two individual monitors. The latest Catalyst with Control Center supports this. |
| ||
If any on has got this to work on a ATI card I would be suprised. They use two drivers so you need to comunicate with both of them. I do not think Blitz is close to being able to do this. I got my current Nvidia 9800 card so I could use the dual screen functions on my VJ program. As the prog is for my it does not matter if it only works on some brands Video cards and not others. |
| ||
ATI cards CAN do this. Download Catalyst 4.9 with the .NET Control Center, go to Displays Manager, use the Wizard and select "Horizontal Stretch Mode". Then it's just a matter of setting Blitz to use the full width of the screen (that is the combined width of both monitors.) The graphic mode detection won't report it correctly though. I've tested this with a few Blitz3D demos and it works perfectly. |
| ||
How easy is it to setup a duel monitor setup. and what hardware other than an extra monitor would I need. I have two monitors, It would be cool to edit source on one and run code on another. |
| ||
Depends on your hardware. Another video card is needed or one with a dual head (2 monitor outputs). If you have a card with 2 monitor outputs and the other socket looks a bit mad, you can get a small adapter for only a few £'s. (This is how I am running mine). Hope this helps. |
| ||
Get UltraMon... the bomb for anyone with more than one monitor. www.ultramon.com Tracer |
| ||
;- |
| ||
ass (n)- a pompous fool. (just in case anybody was wondering what the official definition was) |