HI Ale,

On 23 February 2017 at 12:16, Ale Maro <[email protected]> wrote:
> I think it is correct not to use indexed sets to have good performances.

I don't understand what you mean by "indexed sets".

With the OSG/OpenGL you can use osg::DrawArrays/glDrawArrays and
osg::DrawElements*/glDrawElements to define what primitives to render,
DrawElements you provide indices into the vertex arrays and enables
you to share vertices so typically reduce the vertex count, lower
memory footprint and bandwidth and if done efficiently can utilize the
vertex processing cache on the GPU to reduce the vertex load.  For
this reason it's generally more efficient to use osg::DrawElements
than osg::DrawArrays.

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

Reply via email to