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.
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
2 matches
Mail list logo