Re: [osg-users] First steps to improve culling

2015-11-12 Thread Robert Osfield
Hi Alexandre, Could you post a screenshot with the stats displayed or simply post the frame update, cull, draw dispatch and draw GPU stats? Also which version of the OSG are you using? Robert. On 12 November 2015 at 19:21, Alexandre Vaillancourt < alexandre.vaillancourt.l...@gmail.com> wrote:

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Farshid Lashkari
Hi Anders, You can create a separate "message-only" window to receive windows messages from the SpaceMouse. See the following MSDN page: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632599(v=vs.85).aspx#message_only I've integrated the 3DConnexion SpaceNavigator into our

Re: [osg-users] github not synchronized

2015-11-12 Thread Robert Osfield
On 12 November 2015 at 02:53, Jason Beverage wrote: > So is Github going to be the new official home of osg? > That's my plan. Will be updating the website soon, but have client work to get done right now so will tackle this once I've got a bit more free time. Robert.

Re: [osg-users] [build] using 3Ds Model in osgFX::BumpMapping and the Texture UV Coords for diffuse are not loaded

2015-11-12 Thread Tobias Rick
In addition of course the new NVidia driver for Fallout 4 the bump on the model is shown in different colors. To fix this problem look up in the newbump.frag and comment out the "if (lamberFactor > 0.0)" instruction but don't comment out the content of this instruction -- Read

Re: [osg-users] github not synchronized

2015-11-12 Thread Björn Blissing
Hi Robert, Will this affect the submission protocol? I.e. will pull-requests at GitHub replace the osg-submission mailing list? /Björn Från: osg-users för Robert Osfield Skickat: den 12

Re: [osg-users] xrandr version

2015-11-12 Thread Gianni Ambrosio
Hi Robert, I think is would not easy to find an official documentation of xrandr but I foun the option available in v1.1 here: http://www.x.org/archive/X11R7.5/doc/man/man1/xrandr.1.html#sect5 Moreover I cloned the git repository and verified all XRandR API used in "GraphicsWindowX11.cpp"

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Anders Backman
That is quite explicit. I was thinking about some method for intercepting events. I tried fiddling with creating a custom GraphicsWindowWin32 class, but it turns out that this is explicitly created internally in: osg::GraphicsContext* Win32WindowingSystem::createGraphicsContext(

Re: [osg-users] xrandr version

2015-11-12 Thread Gianni Ambrosio
robertosfield wrote: > > Which git repository xrandr? > http://cgit.freedesktop.org/xorg/lib/libXrandr addressed from here: http://www.x.org/wiki robertosfield wrote: > > The OSG? > I'm on OSG 3.0.1 but the code related to xrandr, in "GraphicsWindowX11.cpp" file, on the OSG trunk is

Re: [osg-users] github not synchronized

2015-11-12 Thread Robert Osfield
On 12 November 2015 at 11:38, Björn Blissing wrote: > Will this affect the submission protocol? I.e. will pull-requests at > GitHub replace the osg-submission mailing list? > Possibly. Haven't made any decisions yet. The key part of reviewing submissions is the

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Anders Backman
I notice that there is a major difference between osgViewer::Viewer and osgViewer::CompositeViewer: The following code: osgViewer::CompositeViewer viewer; osg::ref_ptr traits = new osg::GraphicsContext::Traits; traits->x = 100; traits->y = 100; traits->width = 1000;

Re: [osg-users] xrandr version

2015-11-12 Thread Robert Osfield
On 12 November 2015 at 11:46, Gianni Ambrosio wrote: > Hi Robert, > I think is would not easy to find an official documentation of xrandr but > I foun the option available in v1.1 here: > http://www.x.org/archive/X11R7.5/doc/man/man1/xrandr.1.html#sect5 > > Moreover I

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Trajce Nikolov NICK
Did you tried something like: osgViewer::Viewer viewer; viewer.getCamera()->setGraphicContext(gc); ? On Thu, Nov 12, 2015 at 2:52 PM, Anders Backman wrote: > I notice that there is a major difference between osgViewer::Viewer and > osgViewer::CompositeViewer: > > The

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Anders Backman
That is certainly an important call yes. I guess my problem is that these two calls are not interchangeable: #if 1 osg::ref_ptr gc = osg::GraphicsContext::createGraphicsContext(traits.get()); #else osg::ref_ptr window = new osgViewer::GraphicsWindowWin32(traits); gc = window.get();

Re: [osg-users] Intercepting Windows messages

2015-11-12 Thread Anders Backman
So there seem to be only a very few alternatives for integrating such a windows oriented toolkit as the 3DConnexion SpaceMouse... My idea of being able to create a custom implementation of a GraphicsWindowWin32 would really open up for a better integration, albeit not a portable one... Right