Hi Ale, The stall will be the OSG compiling display lists on the first frame. For models with large numbers of vertices like what you have described it's typically best to switch on use of vertex buffer objects via geometry->setUseVertexBufferObjects(true);
Robert. On 25 July 2013 16:35, Ale Maro <[email protected]> wrote: > Hi, > > I am testing the visualization of single geodes with around 3 million > triangles or more. > After loading the model in background (using both OSG STL plug-in or my > loader) and adding it to the scene, my QT application freezes for several > seconds, it seems becouse the first call to "frame()" after addChild is very > slow. > After that performances are very good. > It happens also using OSG examples. > Do you have any suggestion to speed up first frame and avoid freezing? > > Thank you! > > Cheers, > Ale > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55450#55450 > > > > > > _______________________________________________ > 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

