[osg-users] Enable Vertex Attribute Arrays

Robert Osfield robert.osfield at gmail.com
Mon Mar 20 07:36:43 PDT 2017


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
<bruno.manata.oliveira at gmail.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list