Hi Forest, osgText::Text is slow at building new text, I am planning a revamp of osgText to address this, but it won't be right away.
In the meantime, while osgText::Text creation is slow, 2ms is a long time even for it, have you built the OSG as a release build? There is no point doing any benchmarking unless you do so under an optimized build, debug build as many times slower. Robert. 2008/4/11 forest37 <[EMAIL PROTECTED]>: > > > hi all, > > when I use osg to draw texts,I find that the founction > "osgText::setText()" requires 2ms . > if I want to draw 5000 texts,I have to wait for 2S at least. > what should I do to speed drawing texts? > > regards > forest > > > ------------------------------ > 中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线 > <http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=163> > _______________________________________________ > 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

