Hi Bruno,

The OSG will automatically enable vertex attributes when you assign
them to osg::Geometry, there is no need to manually enable anything.

There are range of OSG examples that illustrate vertex attribute array
usage, just do a search for VertexAttrib in OpenSceneGraph/examples/*

Robert.

On 20 March 2017 at 13:25, Bruno Oliveira
<[email protected]> wrote:
> Hello,
>
> is there anything I need to do in OSG to enable usage of
> VertexAttributeArrays?
>
> Like for instance in OpenGL you need to call glEnableVertexAttribArray()
> (see
> https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glEnableVertexAttribArray.xml)
>
> I am using OSG 3.4.0 and simply can't make vertex attribute arrays to work
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to