Re: [osg-users] StateSet::compileGLObjects miss typing

2016-11-25 Thread Jannik Heller
Hi LiChi, You are correct, this is a mistake that needs to be fixed, the following for-loop is not even executed unless checkForGLErrors is true. In fact, I've just spent an hour or so debugging a weird "Invalid operation" GL-error and it turned out to be caused by exactly this bug - the

Re: [osg-users] [forum] [osgEarth] several problems and questions

2016-11-25 Thread Chris Hanson
> > I load an not georeferenced 3D model and i have the geo information in > other file : DATUUM, Projection system, EPSG and an offset in meter for > cartographic system and in seconds for geo system. I looking for set those > informations programatically. Set the SRS is not a big deal, but I

Re: [osg-users] getGraphicsContext()/getState() segfault issue

2016-11-25 Thread Robert Osfield
Hi Fabian, The most likely cause is that the thread you are calling the texture->apply() from doesn't have a graphics thread current. The GraphicdWindowEmbedded is just a adapter class that allows you to use the OSG with 3rd party SDK's like SDL where the graphics context is created prior the

Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-25 Thread Robert Osfield
HI Rambabu, If you want to ask a question about a new topic start a new thread, don't keep asking unrelated questions on existing threads. Also actually try doing some research on your own account, there are plenty of examples, books, doxygen docs, the answers to your questions are all there,

[osg-users] StateSet::compileGLObjects miss typing

2016-11-25 Thread Li Chi
Hi, In StateSet::compileGLObjects method: if (checkForGLErrors && state.checkGLErrors("before StateSet::compileGLObejcts()")) need to be changed like the following line? if (checkForGLErrors) state.checkGLErrors("before StateSet::compileGLObejcts()"); Thank you! Cheers, Li

[osg-users] getGraphicsContext()/getState() segfault issue

2016-11-25 Thread Fabien Boco
Hi, I'm trying to do the folowing : Code: m_fboTexture->apply( *camera->getGraphicsContext()->getState() ); But it crashes... More precisely, "applyTexParameters()" crashes. Everything has been initialized. Here is the complete sequence : Code: m_osgViewer = new osgViewer::Viewer();

Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-25 Thread Rambabu Repaka
Hi,In main function camera coordinates are osg::Vec3initialCameraPosition(0.0, 0.0, 20.0); How i can change the camera view continuously along with the model movement. ... Thank you! Cheers, Rambabu -- Read this topic online here:

Re: [osg-users] [forum] [osgEarth] several problems and questions

2016-11-25 Thread Bhanu Chandra
Hi, I got "Failed to load terrain engine driver for mp" error when i built osgEarth examples in visual studio 2013 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69498#69498 ___ osg-users mailing