[osg-users] Save the image from computer shader

2016-10-15 Thread liu ming
Hi, I am learning the osg example "osgcomputeshaders",I have a problem that how can I save the image(the result of a computation) from shaders to my folder ? I use the code : Code: while(!viewer.done()) { viewer.frame();

Re: [osg-users] vertex_array_object branch merged with master

2016-10-15 Thread tom spencer
robertosfield wrote: > Hi Tom, > > On 14 October 2016 at 20:58, tom spencer <> wrote: > > > I am getting a crash in the radeon driver in both kubuntu 16.04 and kubuntu > > 16.10. I have attached a back trace. > > > > Do you have a specific data file that provokes this crash? > > Do know

Re: [osg-users] Master renders with OpenGL error on OSX

2016-10-15 Thread Trajce Nikolov NICK
Raymond, try gDebugger (there is release for Mac OS too) or this apitrace. You can easely catch the OpenGL: error - with gDebugger it can show you the source code line producing the error On Sat, Oct 15, 2016 at 2:26 PM, Raymond de Vries wrote: > Hi Robert, > > Ouch, typo, I

Re: [osg-users] Master renders with OpenGL error on OSX

2016-10-15 Thread Raymond de Vries
Hi Robert, Ouch, typo, I meant to set the OSG_GL_ERROR_CHECKING properly... I am afraid this won't provide more info neither: MB:~ ray$ env | grep ONCE OSG_GL_ERROR_CHECKING=ONCE_PER_ATTRIBUTE MB:~ ray$ env | grep NOTIFY OSG_NOTIFY_LEVEL=NOTICE MBAngela-3:~ ray$ osgviewer cow.osg

Re: [osg-users] Master renders with OpenGL error on OSX

2016-10-15 Thread Robert Osfield
Hi Raymond, Unfortunately the output doesn't yet provide anything clearer to what might be amiss. Could you try the test with the env OSG_GL_ERROR_CHECKING set to ONCE_PER_ATTRIBUTE, setting the env var to OSG_GL_ERROR_CHECKINGas your specified will not change the setting, so will default to

Re: [osg-users] vertex_array_object branch merged with master

2016-10-15 Thread Robert Osfield
Hi Tom, On 14 October 2016 at 20:58, tom spencer wrote: > I am getting a crash in the radeon driver in both kubuntu 16.04 and kubuntu > 16.10. I have attached a back trace. Do you have a specific data file that provokes this crash? Do know what whether previous versions of

Re: [osg-users] Master renders with OpenGL error on OSX

2016-10-15 Thread Raymond de Vries
Hi, I did another test and the output with default settings is (NOTICE): ViewerBase::configureAffinity() numProcessors=8 databasePagers = 1 _forceVertexArrayObject = 0 _forceVertexBufferObject = 0 Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..) Warning: