[osg-users] dumptruck.osg and GL ES 2.0

Jens Georg mail+osg at jensge.org
Tue Feb 9 00:59:15 PST 2016


Hi,

I was trying to build a demo scene with our OSG (3.2 branch until commit 
44cf6b92d2) (OpenGL ES 2.0) and I noticed that when I load dumptruck.osg 
(from 
https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg) 
into osgviewer, the GL drawing operations seem to generate a heack of a 
lot of calls to glDrawArrays (GL_TRIANGLE_STRIP, some_offset, 3), so 
rendering each trianlge separately, causing a huge load on the system.

Is that expected to happen or is there something odd with our 
configuration or is that a bug?

KR, Jens.



More information about the osg-users mailing list