Hi Tony, As a general note osg-submissions is just for submission, osg-users/forum is for support.
As for the question about getting the window size exactly what you request, the OSG can do this if you override the redirect that the window manager does when adding decoration etc. to your window. However, if you want window decoration then the window manage will do it's own thing, each one doing something slightly different, here override redirect won't be usuable. The enable override redirect in your traits set: traits->overrideRedirect = true; Robert. On 31 March 2016 at 07:58, Tony Vasile <[email protected]> wrote: > I have specified the geometry > > Code: > > osg::GraphicsContext::Traits *traits = new > osg::GraphicsContext::Traits; > traits->windowDecoration = false; > traits->supportsResize = false; > traits->sharedContext = NULL; > traits->doubleBuffer = true; > traits->red = 8; > traits->blue = 8; > traits->green = 8; > traits->alpha = 8; > traits->depth = 24; > traits->stencil = 8; > traits->stencil = 8; > traits->x = 100; > traits->y = 0; > traits->width = 1024; > traits->height = 1024; > osg::GraphicsContext * gc = > osg::GraphicsContext::createGraphicsContext(traits); > > > > What I am expecting is a window that is positioned at (100, 0) with size > (1024, 1024). What I am getting a window that is size (1024, 996). Is there > anyway to force that size to my desired size? > > I am running on Centos 6 on 64 bit kernel. > > ------------------------ > Tony V > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66681#66681 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

