Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-10 Thread Roland Hill
All, It looks like the problem is to do with Display Lists. There may also have been a problem with Atomic Counters a you suggested, Martin. 1) I updated to the latest svn which included the atomic counters fix and rebuilt. This got rid of the 'invalid enumerant' error messages, but there was

Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-08 Thread Roland Hill
Hi David, I am using the Catalyst 12.1 driver which I think is the latest available. I've managed to track the error down to the following two lines in Program.cpp (both throw OpenGL errors). Line 798_extensions-glGetActiveUniformsiv( _glProgramHandle,

Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-08 Thread Martin Naylor
To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Geometry not rendered on ATI using GL3 shaders Hi David, I am using the Catalyst 12.1 driver which I think is the latest available. I've managed to track the error down to the following two lines in Program.cpp (both throw OpenGL errors

Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-06 Thread Roland Hill
Hi David, Thanks for your suggestion. I tried adding the line but it did not make any difference - still nothing rendered using osgsimplegl3 on the ATI machine. I have updated to the latest trunk and now get the following message: Warning: detected OpenGL error 'invalid enumerant' at After

Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-06 Thread David Callu
Hi Roland So there are an OpenGL error somewhere in the scene graph when OSG compile GL object. You can use gDEBugger to track down the gl call that generate an error. BTW have you installed the latest ATI driver ? David Callu 2012/4/6 Roland Hill roland.h...@fourwindstechnology.com.au Hi

Re: [osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-05 Thread David Callu
Hi Roland, Hi have an Nvidia so I can't test on my side: can you add this line program-addBindFragDataLocation(fragData, 0); at the end of configureShaders function and try again. HTH David Callu 2012/3/28 Roland Hill roland.h...@fourwindstechnology.com.au Hi, I have been trying to

[osg-users] Geometry not rendered on ATI using GL3 shaders

2012-04-04 Thread Roland Hill
Hi, I have been trying to convert my application to use version 1.50 compliant shaders and found that they work on my NVidia machine, but not on my ATI Mobility Radeon HD 5850 laptop. The shaders compile and link on the ATI, but no geometry gets rendered. Both machines are running Ubuntu