Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-12 Thread Robert Osfield
HI Paul, On Wed, Aug 10, 2011 at 2:38 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Paul, This is expected behaviour as far as I know. The viewer camera won't return you a viewport if more than one device context is used (i.e. more than monitor) Sebastien is correct,

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-12 Thread Paul Leopard
Understood, Thanks for the help Regards, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42029#42029 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Paul Leopard
I successfully built v3.0.1 last night and tried it this morning. Same issue ... Still a NULL pointer -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41976#41976 ___ osg-users mailing list

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Paul Leopard
Ok now I am making some progress. If I set the environment variable OSG_SCREEN to 1 then the problem goes away and the pointer returns valid. Evidently this is related to another problem that I've been having ... I have dual monitors and OSG apps open up spanning both monitors with the left

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Sebastian Messerschmidt
Hi Paul, This is expected behaviour as far as I know. The viewer camera won't return you a viewport if more than one device context is used (i.e. more than monitor) Ok now I am making some progress. If I set the environment variable OSG_SCREEN to 1 then the problem goes away and the pointer

[osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-09 Thread Paul Leopard
I have some code I have inherited that was developed on Linux. I am trying to get a Windows version of it to run but there is an inconsistency that I am unable to explain. Perhaps someone here has seen this issue before ... Anyway, the problem is that on Windows (OSG v2.9.9 and v3.0.0) I get a

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-09 Thread Jeremy Moles
On Tue, 2011-08-09 at 22:05 +0200, Paul Leopard wrote: I have some code I have inherited that was developed on Linux. I am trying to get a Windows version of it to run but there is an inconsistency that I am unable to explain. Perhaps someone here has seen this issue before ... Anyway, the

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-09 Thread Paul Leopard
Thanks for the reply but it didn't fix anything ... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41958#41958 ___ osg-users mailing list osg-users@lists.openscenegraph.org