Hi Mathieu,

> I've submitted a simple PR which allow to select GL3 (CoreProfile) on macoOS
> and applied it to your vertex_array_objet branch locally to test on macOS.

Thanks. I have merged the pull request and merged it then into the
vertex_array_object branch.

On 5 August 2016 at 08:46, Mathieu MARACHE <[email protected]> wrote:
> However, trying to run osgsimplegl3 example with cessna.osgt model file I
> run into a segmentation fault :
>
> src/osg/VertexArrayState.cpp:540
>
>             _texCoordArrays.push_back( new
> VertexAttribArrayDispatch(_ext->getTexCoordAliasList()[i]._location) );
>
>
> The code tries to reach _ext's _texCoordAliasList  first element which is
> empty as GLExtensions::resetVertexAttributeAlias() has never been called...
>
> There is an exact copy of this method in State that is called ?

This part of VAO support is still in flux, the current implementation
is the second incarnation of the code and still not quite complete.
Some elements of the first incarnation still are in the code but not
fully fleshed out.  These parts I'll be refactoring, the attribute
aliasing is the one of the last remaining areas that I need to clean
up - that's one of today's objectives.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to