[osg-users] Bug Report: Windows GraphicContext Size, latest SVN Version

2009-01-24 Thread Adrian Egli OpenSceneGraph (3D)
Hi Robert,

There is a bug in the osgViewer behaviour.

set OSG_WINDOW=100 100 512 512
osgviewer model

press 'F' Toggle fullscreen - just 512x512 are rendered

once we start without the OSG_WINDOW env var.
it works without any problem

/adrian


-- 

Adrian Egli
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Bug Report: Windows GraphicContext Size, latest SVN Version

2009-01-24 Thread Jean-Sébastien Guay

Hi Adrian,


There is a bug in the osgViewer behaviour.

set OSG_WINDOW=100 100 512 512
osgviewer model

press 'F' Toggle fullscreen - just 512x512 are rendered


Can't repro here. Both

set OSG_WINDOW=100 100 512 512
osgviewer cow.osg
(then press 'f')

and

osgviewer --window 100 100 512 512 cow.osg
(then press 'f')

work as expected. The graphics take up the whole screen.

Can you trace in the osgViewer::WindowSizeHandler, in the handle() 
method where the 'f' key is pressed, what happens and why it doesn't 
work on your side? Perhaps it's driver related?


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Bug Report: Windows GraphicContext Size, latest SVN Version

2009-01-24 Thread Adrian Egli OpenSceneGraph (3D)
i am working with windows vista,may this cause the problem

/adrian

2009/1/24 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com

 Hi Adrian,

  There is a bug in the osgViewer behaviour.

 set OSG_WINDOW=100 100 512 512
 osgviewer model

 press 'F' Toggle fullscreen - just 512x512 are rendered


 Can't repro here. Both

 set OSG_WINDOW=100 100 512 512
 osgviewer cow.osg
 (then press 'f')

 and

 osgviewer --window 100 100 512 512 cow.osg
 (then press 'f')

 work as expected. The graphics take up the whole screen.

 Can you trace in the osgViewer::WindowSizeHandler, in the handle() method
 where the 'f' key is pressed, what happens and why it doesn't work on your
 side? Perhaps it's driver related?

 J-S
 --
 __
 Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 

Adrian Egli
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Bug Report: Windows GraphicContext Size, latest SVN Version

2009-01-24 Thread Jean-Sébastien Guay

Hi Adrian,


i am working with windows vista,may this cause the problem


Me too. Let's see other potential sources of differences: I'm on VC8 
(2005) sp1, on an nVidia 7900GTX 512MB, driver 178.24.


One thing is that I don't have the absolute latest SVN, I think my 
version of OSG was compiled from SVN about a week ago. So perhaps 
something in the last week broke this. I'll try to do an update and 
rebuild tonight and see if I can repro your problem.


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org