[osg-users] PrimitiveSets and performance

Riccardo Corsi riccardo.corsi at kairos3d.it
Fri Dec 2 07:32:10 PST 2016


Hi all,

I'm trying to find out the best geometries and primitive sets layout on a
model that I'm using as performance benchmark.

The model is quite heavy in terms of vertices and polygons, and everything
is rendered at the moment with DrawArrays.

In the attempt to reduce the draw calls, I've recombined the primitive sets
contained in every geometry into a single primitive set.
I expected draw/gpu time to improve, and I've found the exact opposite -
find attached the 2 screenshots with the stats (before and after primitives
merge).

After merging the primitive sets I've also tried to force VBO usage instead
of display lists, which improve things slightly, but always far worse than
before merging.

Can anyone comment on this result?

Thank you,
Riccardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161202/2b2ea9b3/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: primitivesets_merged.jpg
Type: image/jpeg
Size: 76975 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161202/2b2ea9b3/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: primitivesets_unmerged.jpg
Type: image/jpeg
Size: 74964 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161202/2b2ea9b3/attachment-0005.jpg>


More information about the osg-users mailing list