Re: [osg-users] Adding OGRFeatures to the global Index

2016-05-11 Thread Auke-Dirk Pietersma
Hi, sorry osg, wrong place to post the question, i however can not delete the post. ... Thank you! Cheers, Auke-Dirk -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67071#67071 ___ osg-users mailin

[osg-users] Adding OGRFeatures to the global Index

2016-05-11 Thread Auke-Dirk Pietersma
Hi, I'm having a hardtime finding documentation on populating the global index with ogrfeature data, such that i can use the IntersectionPicker. Can anyone point me in the right direction? Code: auto map = mapnode->getMap(); OGRFeatureOptions feature_opt; feature_opt.name() = url; feature

Re: [osg-users] Qt OpenGL Warning opengl

2016-04-28 Thread Auke-Dirk Pietersma
Hi Robert, Good to know that osg checks the capabilties them selves. I tried the following snippet: Code: _ctx = std::unique_ptr(new QOpenGLContext); QSurfaceFormat format; format.setMajorVersion(_majorId); format.setMinorVersion(_minorId); format.setOption(QSurfaceFormat::

[osg-users] Qt OpenGL Warning opengl

2016-04-26 Thread Auke-Dirk Pietersma
Hi All , I have the following issue. Whenever i choose to render a scene with opengl greater than 2.1 i get the following messages. Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xb50 Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4000 Warni