Hi to all,
sorry my real username is sdi2000 but where is my password? i don´t know... anyway
i have implement a nice feature for the irrlicht engine directx9 driver.
NOW the irrlicht engine supports multimonitor support. =)
you can download the *.h and *.cpp files here...
http://www.sdi-syndrom.de/download/spec ... et_mms.zip
a main for the hello_world demo is included.
Only the stencil buffer support works not really correct.
I hope this is a usefull feature... like (Microsoft Flight Simulator)
Testet with 4 monitors... on ATI x300 and GF 5900 with ULI chipset...
nice day...
pls test it with some video Adapters
feature for the irrlicht dx9 driver MMS
-
- Posts: 38
- Joined: Mon Nov 07, 2005 5:55 am
for opengl =) irrlicht already support it
hi MrPotatoes,
irrlicht already support multimonitors with opengl...
only what you must do is...
opengl tut:
1. change you video settings (right click on desktop)
enable spanning mode!! (only for ogl!!!!) read the demo main in the downloadeable zip file.
2. set the irrlicht opengl driver to the resolution if u want on both monitors if u want 1024x768 on both use 2048x768 as resolution
3. make sure that u have enable the fullscreen mode in the driver
and now the easy part
in the renderloop call the viewport redefinition.
//for the first monitor
driver->setViewport(core::rect<s32>(0,0,1024,768));
driver->drawAll();
//for the second monitor
driver->setViewport(core::rect<s32>(1024,0,2048,768));
driver->drawAll();
thats it for gl....
the implementation for dx is a little bit diffrent, but important!!!
in dx mode you must set as resolution only of one monitor not the span res. (poop my en is baaaaad =)
ogl:
2048x768
dx:
1024x768
dx use it for all monitors... it is the implementation... make it better =)
and now render baby =)
irrlicht already support multimonitors with opengl...
only what you must do is...
opengl tut:
1. change you video settings (right click on desktop)
enable spanning mode!! (only for ogl!!!!) read the demo main in the downloadeable zip file.
2. set the irrlicht opengl driver to the resolution if u want on both monitors if u want 1024x768 on both use 2048x768 as resolution
3. make sure that u have enable the fullscreen mode in the driver
and now the easy part
in the renderloop call the viewport redefinition.
//for the first monitor
driver->setViewport(core::rect<s32>(0,0,1024,768));
driver->drawAll();
//for the second monitor
driver->setViewport(core::rect<s32>(1024,0,2048,768));
driver->drawAll();
thats it for gl....
the implementation for dx is a little bit diffrent, but important!!!
in dx mode you must set as resolution only of one monitor not the span res. (poop my en is baaaaad =)
ogl:
2048x768
dx:
1024x768
dx use it for all monitors... it is the implementation... make it better =)
and now render baby =)