Re: [osg-users] glsl version 130 not supported (and related problems)

2016-12-21 Thread Hartwig Wiesmann
Hi, did you solve your issue? In case you are using osgViewer's GraphicsWindowCocoa class there has once been a change in OSG: it explicitely specifies the OpenGL core version 4.1. If you specify the legacy version you should be fine. You can find the line for patching in osgViewer::GraphicsWin

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-11-14 Thread Bruno Oliveira
Well I did some more research, and once again tried to tackled this problem. If someone has already tried to use the current master branch on OSX 10.12, could maybe give me some more in I am using Qt 5.7 by the way. This is what I tried so far: Clone current master (which has, I think, the VAO bra

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-11-13 Thread Robert Osfield
On 12 November 2016 at 22:24, Bruno Oliveira wrote: > I was now trying to solve this and searched for OSX VAO related posts, but > could not find relevant instructions on how to compile for OpenGL Core > Profile under OSX. Could you perhaps give some link to those discussions? As I'm not an OSX u

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-11-12 Thread Bruno Oliveira
Hello, I was now trying to solve this and searched for OSX VAO related posts, but could not find relevant instructions on how to compile for OpenGL Core Profile under OSX. Could you perhaps give some link to those discussions? 2016-10-26 9:00 GMT+01:00 Robert Osfield : > Hi Bruno, > > On 25 Octo

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-10-26 Thread Robert Osfield
Hi Bruno, On 25 October 2016 at 23:53, Bruno Oliveira wrote: > I'm sorry but that did not work for me. I indeed created a new clone of the > OSG's master, recompiled OSG along with my app and I get a huge amount of > 'invalid operation' errors when trying to draw a simple scene that would > other

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-10-25 Thread Bruno Oliveira
I'm sorry but that did not work for me. I indeed created a new clone of the OSG's master, recompiled OSG along with my app and I get a huge amount of 'invalid operation' errors when trying to draw a simple scene that would otherwise work... 2016-10-24 13:36 GMT+01:00 Bruno Oliveira : > Thank you

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-10-24 Thread Bruno Oliveira
Thank you Robert for the extensive answer. I will test it today and provide feedback ASAP. Unfortunately OSX support is a requirement for my software. Thank you Tony for the link. I think you're right. It's probably some marketing strategy. 2016-10-24 9:10 GMT+01:00 Tony Vasile : > This may also

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-10-24 Thread Tony Vasile
This may also help: http://stackoverflow.com/questions/19865463/opengl-4-1-under-mavericks . It seems the Apple have truly crippled their OpenGL support or they want everyone to write Objective C under XCode. Tony V -- Read this topic online here: http

Re: [osg-users] glsl version 130 not supported (and related problems)

2016-10-24 Thread Robert Osfield
Hi Bruno, Apple have made life difficult for OpenGL developers in the way they have tackled modern OpenGL support so it tends to be awkward and behind the curve on latest features. It's the Apple way to mess developers around though, unfortunately you just have accept the rough with the smooth un

[osg-users] glsl version 130 not supported (and related problems)

2016-10-22 Thread Bruno Oliveira
Hello, I am using a fragment shader that requires #version 130 I use OSG 3.5.5 and Qt 5.7 on MacOS 10.12 This results in a shader compilation error, 'version 130 not supported' I tried compiling OSG with GL3 enabled, but the error persists. Then I tried to activate a Core Profile globally in Qt