Hi Mathieu, On 9 June 2016 at 07:44, Mathieu MARACHE <[email protected]> wrote: > I'm struggling to understand what to do. I merely put up a solution that was > explained in a staled thread from 2012 (!), subject was : OpenGL 3.2 support > in OS X 10.7 (Lion)
This was clearly just a hack to get things "working" not an actual solution. > I see your points, you are right this is not a general solution. > > I'll be reading a bit more on VAO and try to add VAO support directly in > Geometry is possible... I would be worth just moving the discussion about VAO support to osg-users so we can all discuss the what solution. I'm happy to pitch in some time to getting this resolved for 3.6. Right now from what I've learnt that natural place for binding the VAO would be in osg::Geometry. It may be that osg::State would be the part of the OSG that does the binding as it already manages the vertex arrays and associated buffer objects. The VAO essentially wraps up all the vertex array settings in one place so that once it's set up one just binds a single VAO object rather than a VBO and then specify the individual vertex arrays within this. In theory this should mean the system is more efficient - as long as we get the design and implementation right. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
