Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Elias Tarasov
Hi! Thanks for replies! Eventually, i built OSG 3.2.0 with SDL 1.2 support. Test app works, however, i'm still trying to figure out how exactly combine sdl-handling joystick's input and OSG. SDL 2.0 doesn't build under MSVC 2015. Not to mention building it as OSG plugin. The errors are known,

Re: [osg-users] [ANN] [General Purpose CPP Graphical Introspection]

2015-11-02 Thread Julien Valentin
Here's sources https://github.com/mp3butcher/osg4noob/ [/url] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65519#65519 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.open

Re: [osg-users] High event times

2015-11-02 Thread Mathias Fröhlich
Hi Robert, On Saturday, October 31, 2015 18:02:24 Robert Osfield wrote: > I have had a look at the revision and vaguely remember hunting double a > long time troublesome bug, but can't recall the details of the recreating > the bug off hand. I'd have to look up what stuff I was doing around March

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Chris Hanson
Oh, and I forgot to mention, OsgWorks has gamepad support that operates an osg Manipulator. It talks to the DirectInput SDK: https://github.com/mccdo/osgworks/tree/master/include/osgwMx ​https://github.com/mccdo/osgworks/blob/master/include/osgwMx/MxGamePadDX.h

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Chris Hanson
I've used VRPN for this task. The osgVRPN project worked fine last I used it, but that was a while ago. On Mon, Nov 2, 2015 at 1:51 AM, Jan Ciger wrote: > Hello, > > > On Mon, Nov 2, 2015 at 9:35 AM, Elias Tarasov > wrote: > > Hi! > > > > Which is the best way of supporting joystick's input in

Re: [osg-users] segfaults with glDeleteShader

2015-11-02 Thread Voerman, L.
Just a quick remark, I think the warning you see is caused by the State destructor deleting the context's extensions: file src/osg/State.cpp (line 138) in State::~State() GLExtensions::Set(_contextID, 0); I think it caused me problems with loosing the extensions wen a camera was deleted

Re: [osg-users] segfaults with glDeleteShader

2015-11-02 Thread Roman Grigoriev
Hi, Robert! Sorry for disturbing you about that. In my .earth file I use rex driver with splatting code by using agglite driver that generate landcover from very big vector file. Bug appears to me after 30-40min of using osgearth_viewer on my laptop. I try to generate .earth file that it'll be e

Re: [osg-users] segfaults with glDeleteShader

2015-11-02 Thread Robert Osfield
Hi Roman, I have just built osgearth git head, but had to make a couple of build fixes to enable me to compile it against OSG head which is OSG-3.5.0. I have cloned osgearth on git hub and post my fixes to this: https://github.com/robertosfield/osgearth I haven't seen the error you have but do

[osg-users] segfaults with glDeleteShader

2015-11-02 Thread Roman Grigoriev
Hi, I use osg and osgearth git version under linux Lubuntu 15.04 nvidia 352 driver. And got segfaults on delete shaders Code: #0 0x734fbe09 in glDeleteShader () from /usr/lib/nvidia-352/libGL.so.1 #1 0x76c8bce5 in osg::Shader::PerContextShader::~PerContextShader() () from /

Re: [osg-users] Joystick support in OSG

2015-11-02 Thread Jan Ciger
Hello, On Mon, Nov 2, 2015 at 9:35 AM, Elias Tarasov wrote: > Hi! > > Which is the best way of supporting joystick's input in modern OSG? > OSG Cookbook says it's a Directinput 3rdParty lib, but looking into OSG trunk > code it seems that last update was done 5 years ago. SDL was updated 5 mont

[osg-users] Joystick support in OSG

2015-11-02 Thread Elias Tarasov
Hi! Which is the best way of supporting joystick's input in modern OSG? OSG Cookbook says it's a Directinput 3rdParty lib, but looking into OSG trunk code it seems that last update was done 5 years ago. SDL was updated 5 month ago, but that comment in the last commit > > OpenSceneGraph\src\o

Re: [osg-users] High event times

2015-11-02 Thread Roman Grigoriev
Hi, Mathias and Robert! Just checked this. On i7 laptop with nvidia 965m under Lubuntu 15.04 with 352.30 drivers I've got numbers without patch eventtime=0.17ms with patch 0.09ms But I've add folowing if (_traits->windowDecoration) to above code So I think that if user create window without decor