Re: [osg-users] Fullscreen dual monitor spanning

2011-01-10 Thread Christina Werner
Okay, I got it to view my windows over 2 fullscreen monitors. I dont know why it works only sometimes, but it works. But How to set the point of view more left/right on one screen? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35477#35477

Re: [osg-users] Fullscreen dual monitor spanning

2011-01-10 Thread David Glenn
Chriss10 wrote: Okay, I got it to view my windows over 2 fullscreen monitors. I dont know why it works only sometimes, but it works. But How to set the point of view more left/right on one screen? are you taking about a stereo view? D Glenn (a.k.a David Glenn) -

Re: [osg-users] Fullscreen dual monitor spanning

2011-01-10 Thread Jean-Sébastien Guay
Hi Christina, But How to set the point of view more left/right on one screen? You mean so that you see a different part of the scene on the second screen than on the first? For example, if you want the two screens to look as if they were one single screen? To do that you add an offset to

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-23 Thread Christina Werner
I'm a beginner with OSG. Can you please give me some code snippets? Thanks -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35130#35130 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-23 Thread David Glenn
Chriss10 wrote: I'm a beginner with OSG. Can you please give me some code snippets? Thanks Well I'm sorta on my Christmas vacation right now! I would have to reproduce it on my home system, but mostly it is barrowed code from the slave cameras that are used in the hang glider simulator

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-21 Thread Christina Werner
Does it work for anyone? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35026#35026 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-21 Thread David Glenn
Well I was using Linux Red Hat Enterprise 5.0. I have yet to test this in windows. What it boiled down to is that I had to set up my own camera handling thing down to the Traits (including setting overrideRedirect to true) I set the X and Y to 0 and the width to the combined with if the two

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-20 Thread David Glenn
robertosfield wrote: This sounds like the X11 redirect to the X11 window manager that is deciding for you that the window is too big and knows better. The Traits::overrideRedirect as I mentioned earlier in this thread is what should address this. Robert.

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-19 Thread Robert Osfield
Hi David, On Fri, Dec 17, 2010 at 11:53 PM, David Glenn I took a look at osgViewer::View::setUpViewAcrossAllScreens in View.cpp, did some tests on an example file and with little time I had concluded that it’s not how the width is being set in the windows traits! I have two 1600X1200 monitors

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread Alberto Luaces
David Glenn writes: Chriss10 wrote: I added eventhandler, but it doesn't work for me! It does not matter how many times I pess 'f', my application will only be shown on one screen. Can somebody help? Other ideas? I think it should be possible to span it over 2 fullscreens. Well I'll

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread Maxim Gammer
Hi. I use Matrox Dual Head 2 Go for 2 fullscreens 2010/12/17 Alberto Luaces alua...@udc.es: David Glenn writes: Chriss10 wrote: I added eventhandler, but it doesn't work for me! It does not matter how many times I pess 'f', my application will only be shown on one screen. Can

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread Robert Osfield
On Thu, Dec 16, 2010 at 3:50 PM, Christina Werner werner...@fh- Can somebody help? Other ideas? I think it should be possible to span it over 2 fullscreens. I don't know what OS you are working with. Often OS's have the drivers control how the desktop and windows open up on. I'm only really

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread David Glenn
Greetings All! I checked out the OpenGL forum at Khronos and they suggested to me the save hack that I dreamed up! Grin! Furthermore, I found out that this is the same solution for X11 and MS Windows - including Windows7! I know that I complained to Autodesk the other day about Spanning

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread David Glenn
Holiday Greetings All! Alberto Luaces wrote: I have to say that it used to work well at least with OSG 2.4.0. Then that misbehaviour appeared, but I don't know if it is a problem with the drivers or with OSG. I think it's more likely a configuration/driver issue since you are the first

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-16 Thread Christina Werner
I added eventhandler, but it doesn't work for me! It does not matter how many times I pess 'f', my application will only be shown on one screen. Can somebody help? Other ideas? I think it should be possible to span it over 2 fullscreens. -- Read this topic online here:

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-16 Thread David Glenn
Chriss10 wrote: I added eventhandler, but it doesn't work for me! It does not matter how many times I pess 'f', my application will only be shown on one screen. Can somebody help? Other ideas? I think it should be possible to span it over 2 fullscreens. Well I'll tell you what I had

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-15 Thread Alberto Luaces
David Glenn writes: Greetings Alberto! Just for grins, I tried this on a similar example program, and other than the ability to change resolutions and go to a full single screen, I was not able to get it to span both screens! Maybe there is something in the XConfig file that I have to set

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-15 Thread David Glenn
Alberto Luaces wrote: David Glenn writes: Greetings Alberto! Just for grins, I tried this on a similar example program, and other than the ability to change resolutions and go to a full single screen, I was not able to get it to span both screens! Maybe there is something in the

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-14 Thread Christina Werner
Hi, I have the following code: Code: #include osg/Node #include osg/Group #include osg/Geode #include osg/Geometry #include osg/Texture2D #include osgDB/ReadFile #include osgViewer/Viewer #include osg/PositionAttitudeTransform #include osgGA/TrackballManipulator #include cstdlib using

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-14 Thread Alberto Luaces
Hmmm, I see you didn't follow my advice with the WindowSizeEventHandler: // Press f key several times viewer.addEventHandler(new osgViewer::WindowSizeHandler()); -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-14 Thread David Glenn
Greetings Alberto! Just for grins, I tried this on a similar example program, and other than the ability to change resolutions and go to a full single screen, I was not able to get it to span both screens! Maybe there is something in the XConfig file that I have to set in X Windows manager (I

Re: [osg-users] Fullscreen dual monitor spanning

2010-11-26 Thread Christina Werner
Can nobody help me? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=34116#34116 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Fullscreen dual monitor spanning

2010-11-26 Thread Alberto Luaces
Sometimes when also using TwinView it happened the same for me. As a temporal hack, I used a WindowSizeHandler, and pressed `f' two times at the start of the program. I should dive in the code to do it programmatically. Take a look at osgViewer::WindowSizeHandler::handle, maybe that