Hi Roman, OpenGL Instancing is used at individual geometry level, not for whole models. This governed by the way that OpenGL itself supports this feature.
The OSG itself supports sharing subgraphs, so you can share models between multiple branches of the subgraph - typically you'd use a MatrixTransform/PositionAttitudeTransform above the subgraph to do this. If you have ten's of thousands of models shared like this then the transforms can be a bottleneck. It may well not be a performance issues for you - test it, don't make assumptions about what or what may not be a performance issue. Robert. On Tue, Jun 22, 2010 at 5:40 AM, Roman Grigoriev <[email protected]> wrote: > Hi, > I created some models in ive formats and want to do instancing. As far as I > red to get good FPS I should avoid using glLoadMatrix but store my > matrixtransforms as uniforms and use glDrawElementsInstanced but in .ive file > all primitiveset are DrawElementsUshort. > Maybe someone already have done hardware instancing with models? > ... > > Thank you! > > Cheers, > Roman > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=29239#29239 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

