Hi,

The masks was a good idea, and there is a little bit improvement but not enough in my case... I'm still trying to make some improvement using them, but without the expected success.

So if you have any other idea... please share it !

Thanks.

Regards,
    Vincent

Le 16/04/2012 17:27, Kim Bale a écrit :
Whilst I haven't used osgWidget, I know we had a similar performance issue with picking when we didn't use an appropriate node mask for picking so that only the pickable objects in the scene are considered.

I wonder if osgWidget has implemented one in it's pick handler.

Regards,

Kim.


On 16 April 2012 16:19, Vincent Bourdier <vincent.bourd...@gmail.com <mailto:vincent.bourd...@gmail.com>> wrote:

    Hi all,

    I'm currently trying to find a performance improvement in
    osgWidget due to some lag we have in our application : We use
    osgWidget to manage some things at runtime, but we realized that
    performances were dropping in big scenes.
    Using profiler & co, I found that the
    osgWidget::WindowManager::pickAtXY function is very expensive in
    time...

    Here is my question : this method is called on every event,
    specially on mouse move and click, event if the mouse is not over
    Widgets... Is there any reason to make this ? Can this be
    improved, for example doing it only if the mouse is over the
    widgets, using a simple XY square test...

    Thanks for your answers.

    Regards,
      Vincent.

--

    _______________________________________________
    osg-users mailing list
    osg-users@lists.openscenegraph.org
    <mailto:osg-users@lists.openscenegraph.org>
    http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to